make-kpkg and 2.6.38-rc4 vanilla
Tom H
tomh0665 at gmail.com
Mon Feb 14 03:37:21 UTC 2011
On Sun, Feb 13, 2011 at 1:53 PM, Lucio Crusca <lucio at sulweb.org> wrote:
> Tom H wrote:
>
>> What are all the previous commands?
>
> # tar xjf tar xjf linux-2.6.38-rc4.tar.bz2
> # cd linux-2.6.38-rc4
> # cp /boot/config-`uname -r` .config
> # make oldconfig
> ... (enter, enter, enter...)
> # make menuconfig
> # CONCURRENCY_LEVEL=2 make-kpkg --initrd binary
>
>>
>> Does it work with "kernel_image modules_image" rather than with "binary"?
>
> WTF? Yes, you're absolutely right, using "kernel_image modules_image" works
> perfectly... I had only tried "binary" and "binary_arch"... aren't those
> supposed to work too? (please note I'm running everything as root).
I've never used "binary*" so I don't know why they don't work or
whether they ought to work in your setup.
IIUC, you have to run as root when you choose "binary" as a target.
With other targets, you'll find that many'll suggest/insist that you
not run as root but use "make-kpkg --rootcmd fakeroot ..." or
"fakeroot make-kpkg ...".
You don't need both "make oldconfig" and "make menuconfig". You can
use "yes "" | make oldconfig" so as not to have to "(enter, enter,
enter...)".
More information about the ubuntu-users
mailing list