[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: make-kpkg and 2.2.12



-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 27 Aug 1999, Hans van den Boogert wrote:

> At 06:25 PM 8/26/99 -0700, Eric G . Miller wrote:
> >make (menu)config
> >make-kpkg clean
> >make-kpkg --revision=custom.1.0 kernel_image

I've always used, for example, "--revision=2.2.12-hostname.1" because
dselect always wanted to replace my custom kernels with the stock ones
once that version went up on the mirrors if i used just "custom.1"...

Anyway, 2.2.12-* is the proper version format ;)

> >dpkg -i ../kernel-image-2.2.12_custom.1.0_<arch>.deb
> >
> >These four steps work fine for me (though I'm still using 2.2.10).
> 
> Shouldn't there a make dep after make clean?

make-kpkg does that for you. Look somewhere around line 563 of
/usr/share/kernel-package/rules, in the middle of the 'stamp-configure'
rule. kernel-image depends on configure which depends on stamp-configure.

In the clean rule about line 580, it removes all files in
$(STAMPS_TO_CLEAN), which is defined at line 344 to contain
stamp-configure.

So, unless you [properly] create the stamp-configure file by hand and
don't make-kpkg clean before make-kpkg kernel-image, you can't make-kpkg
kernel-image without doing a make dep.

- -- 
  finger for PGP public key.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN8Ygkb7M/9WKZLW5AQH8DgP6AtomHygjA9pRwrVXjT4yULLYXQP4uHTD
OkjeKP8qjF3xo1n4yDF1ksdskNmOfE+th1aRQcNrmoUZnLVP4/3URyXG9ZNOYcxy
pz1QviD1I0bLbqSBpioaZPh/JtJ17dw9xGzIyFJCAAkJW35RKFMDnlMuVR9PJL7o
MMdFxyiNtnY=
=PEso
-----END PGP SIGNATURE-----


Reply to: