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

Re: What is the procedure for patching the Debian kernel ?



> On 1 October 2012 02:39, Stephen Powell <zlinuxman@wowway.com> wrote:
> > On Sun, 30 Sep 2012 18:17:36 -0400 (EDT), Xelsior wrote:
> >>
> > Note that when building a headers package you must run the entire
> > make-kpkg command under fakeroot: you can't use the --rootcmd fakeroot
> > option in this case.

I always run

 make oldconfig
 make-kpkg clean
 make-kpkg --rootcmd fakeroot --initrd kernel-image kernel-headers
 make-kpkg clean
 dpkg -i ../linux-image-${KERNEL_UNAME}_${KERNEL_UNAME}-10.00.Custom_*.deb
 dpkg -i ../linux-headers-${KERNEL_UNAME}_${KERNEL_UNAME}-10.00.Custom_*.deb

by a script. It does work, but I run the script as root, so I guess I
could remove --rootcmd fakeroot ;), OTOH I suspect I used those lines as
user, before I build kernels by scripts as root.

Regards,
Ralf


Reply to: