Errors when building a kernel

Tom H tomh0665 at gmail.com
Sat Aug 22 09:26:24 UTC 2015


On Fri, Aug 21, 2015 at 9:12 AM, Ralf Mardorf
<ralf.mardorf at alice-dsl.net> wrote:
>
> This line ...
>
> [root at moonstudio src]# export CONCURRENCY_LEVEL=2;wget
> https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.61.tar.gz
> https://www.kernel.org/pub/linux/kernel/projects/rt/3.10/older/patch-3.10.61-rt65.patch.gz
> && tar zxf linux-3.10.61.tar.gz && mv linux-3.10.61 linux-3.10.61-rt65
> && cd linux-3.10.61-rt65 && gzip -dc ../patch-3.10.61-rt65.patch.gz |
> patch -p1 && cp ../config-3.10.61-rt65-1-rt-lts_x86_64.Arch .config &&
> make oldconfig && make oldconfig && date && make-kpkg clean &&
> make-kpkg --initrd kernel-image kernel-headers && make-kpkg clean &&
> date

You seemed to imply in your first email that the above was failing
(IIRC!). If the above's working, where's the problem?

It would've been more mailing-list friendly to post the above as:

wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.61.tar.gz
wget https://www.kernel.org/pub/linux/kernel/projects/rt/3.10/older/patch-3.10.61-rt65.patch.gz
tar zxf linux-3.10.61.tar.gz
mv linux-3.10.61 linux-3.10.61-rt65
cd linux-3.10.61-rt65
gzip -dc ../patch-3.10.61-rt65.patch.gz | patch -p1
cp ../config-3.10.61-rt65-1-rt-lts_x86_64.Arch .config
make oldconfig
make-kpkg clean
make-kpkg --initrd kernel-image kernel-headers

Or have the lines end with "\" and start with "&&" because between the
"&&" and the mua line-wraps, your invocation's a PitA to decifer.


> ... does the job. FWIW I'm aware about fakeroot, but such details are
> irrelevant regarding the problem.

IIRC, I've pointed out to you on debian-user@ and/or ubuntu-users@
that compiling as root doesn't make any sense. So here goes for
ubuntu-devel-discuss@! :)




More information about the Ubuntu-devel-discuss mailing list