retitle 421384 kernel-package: Despite passing --initrd option, no initrd-image 
is built, when using --rootcmd sudo.
thanks

Am Samstag, den 05.05.2007, 20:21 -0500 schrieb Manoj Srivastava:
>         Now, if you don't grok Perl/make, the other non-code argument is
>  that if make-kpkg messed up something as basic as this, official kernel
>  images would have been mucked up, and there would have been howls of
>  other people protesting as well.

Looks like, they do not use --rootcmd sudo .

>         Anyway, try doing this again -- start with a clean kernel source
>  tree (no ./debian); run the command, and try installing the .deb.

Ok, I did a little bit more testing. Executing

$ su
# make-kpkg --initrd kernel_image --revision=pm.0

or

make-kpkg --initrd kernel_image --revision=pm.0 --rootcmd fakeroot

generates the correct postinst file with

my $initrd            = "YES";        # initrd kernel .


But executing

make-kpkg --initrd kernel_image --revision=pm.0 --rootcmd sudo

generates

my $initrd            = "";        # initrd kernel

as reported before.

I have no knowledge of sudo, but it looks like the variables are not
passed correctly or something. Maybe it should be documented that when
fakeroot is available this should be the choice and generating initrd
images does not work with sudo.


Hope this helps.

Paul

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to