Tobias DiPasquale on 21 Dec 2003 21:51:01 -0500


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

Re: [PLUG] make-kpkg


On Sun, 2003-12-21 at 20:05, Sandy Basickes wrote:
>      I have recently used make-kpkg to build and install linux-2.4.23.
>      I followed the steps:
>      under linux-2.4.23
>      make-kpkg clean
>      have .conifg 
>      make-kpkg --revision main.1 --initrd kermel_image
>      dpkg -iEG kernel-2.4.23......deb
>      i got the message that I must fix my lilo.conf , and then I was dumped.
>      I always tell the install program not to change lilo, and then
>      I set it myself.
>      I   tried this twice and failed.
>      I then did:
>          make-kpkg --revision main.1 kernel_image
>           dpkg -iEG kernel-2.4.23......deb
> 	  the dpkg program worked and asked if I wanted lilo.conf made.
> 	  i said no, did my lilo and the system is running fine.
>     why can't I use --initrd	  

From make-kpkg(1):

--initrd
   If make-kpkg is generating a kernel-image package, perform any
   actions necessary for a kernel loaded using initrd.  NOTE: this
   requires a non-standard cramfs initrd patch to the kernel sources,
   (unless the mkintrd configuration has been modified not to use
   cramfs) or may result  in  a unbootable kernel. The patch is
   generally present in the kernel sources shipped by Debian, but is not
   present in pristine  kernel sources.  This option may include extra
   dependencies, and modifications to maintainer scripts.  It has no
   effect when  make-kpkg  is  not  making  a  kernel-image  package. 
   The same effect can be achieved by setting the environment variable
   INITRD to any non empty value.  To avoid a warning at install time,
   please read kernel-img.conf(5), and add a warn_initrd directive in
   that file.

Clearly, you hadn't applied the non-standard cramfs patch they are
talking about in this manual page entry. Apply that and try again.

-- 
Tobias DiPasquale, www.cbcg.net
202A 04C4 2CE6 B985 8520  88D6 CD25 1A6C B9B5 1595

Attachment: signature.asc
Description: This is a digitally signed message part