Mainline Build v2.6.36-rc5
Anca Emanuel
anca.emanuel at gmail.com
Sat Sep 25 11:26:55 UTC 2010
just search for 's/=V/2.6.36-rc5-custom/g'
you will see the rest is 's/=V/2.6.36-rc5-custom/g+'
I think that is a bug.
And why the + ?
Some history: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/16447
On Sat, Sep 25, 2010 at 7:22 AM, Anca Emanuel <anca.emanuel at gmail.com> wrote:
> Hi.
>
> I'm trying to compile the kernel, using this tutorial:
> https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
>
> I get an error:
>
> ====== making target
> debian/stamp/binary/linux-image-2.6.36-rc5-custom+ [new prereqs:
> ]======
>
> This is kernel package version 12.033.
> install -p -d -o root -g root -m 755
> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN
> sed -e 's/=V/2.6.36-rc5-custom+/g' -e 's/=IB//g' \
> -e 's/=ST/linux/g' -e 's/=R//g' \
> -e 's/=KPV/12.033/g' \
> -e 's/=K/vmlinuz/g' \
> -e 's/=I/YES/g' -e 's,=D,/boot,g' \
> -e 's@=A at i386@g' \
> -e 's@=B at i386@g' \
> ./debian/pkg/image/postinst >
> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/postinst
> chmod 755 /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/postinst
> sed -e 's/=V/2.6.36-rc5-custom+/g' -e 's/=IB//g' \
> -e 's/=ST/linux/g' -e 's/=R//g' \
> -e 's/=KPV/12.033/g' \
> -e 's/=K/vmlinuz/g' \
> -e 's/=I/YES/g' -e 's,=D,/boot,g' \
> -e 's@=A at i386@g' \
> -e 's@=B at i386@g' \
> ./debian/pkg/image/config >
> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/config
> chmod 755 /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/config
> sed -e 's/=V/2.6.36-rc5-custom+/g' -e 's/=IB//g' \
> -e 's/=ST/linux/g' -e 's/=R//g' \
> -e 's/=KPV/12.033/g' \
> -e 's/=K/vmlinuz/g' \
> -e 's/=I/YES/g' -e 's,=D,/boot,g' \
> -e 's/=MD//g' \
> -e 's@=MK@@g' -e 's@=A at i386@g' \
> -e 's@=M@@g' -e 's/=OF//g' \
> -e 's/=S//g' -e 's@=B at i386@g' \
> ./debian/pkg/image/postrm >
> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/postrm
> chmod 755 /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/postrm
> sed -e 's/=V/2.6.36-rc5-custom+/g' -e 's/=IB//g' \
> -e 's/=ST/linux/g' -e 's/=R//g' \
> -e 's/=KPV/12.033/g' \
> -e 's/=K/vmlinuz/g' \
> -e 's/=I/YES/g' -e 's,=D,/boot,g' \
> -e 's/=MD//g' \
> -e 's@=MK@@g' -e 's@=A at i386@g' \
> -e 's@=M@@g' -e 's/=OF//g' \
> -e 's/=S//g' -e 's@=B at i386@g' \
> ./debian/pkg/image/preinst >
> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/preinst
> chmod 755 /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/preinst
> sed -e 's/=V/2.6.36-rc5-custom+/g' -e 's/=IB//g' \
> -e 's/=ST/linux/g' -e 's/=R//g' \
> -e 's/=KPV/12.033/g' \
> -e 's/=K/vmlinuz/g' \
> -e 's/=I/YES/g' -e 's,=D,/boot,g' \
> -e 's/=MD//g' \
> -e 's@=MK@@g' -e 's@=A at i386@g' \
> -e 's@=M@@g' -e 's/=OF//g' \
> -e 's/=S//g' -e 's@=B at i386@g' \
> ./debian/pkg/image/prerm >
> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/prerm
> chmod 755 /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/prerm
> po2debconf debian/templates.in > debian/templates.l10n
> sed -e 's/=V/2.6.36-rc5-custom/g' -e 's/=IB//g' \
> -e 's/=ST/linux/g' -e 's/=R//g' \
> -e 's/=KPV/12.033/g' \
> -e 's/=K/vmlinuz/g' \
> -e 's@=MK@@g' -e 's@=A at i386@g' \
> -e 's/=I/YES/g' -e 's,=D,/boot,g' \
> -e 's/=MD//g' \
> -e 's@=M@@g' -e 's/=OF//g' \
> -e 's/=S//g' -e 's@=B at i386@g' \
> ./debian/templates.l10n > ./debian/templates.master
> install -p -o root -g root -m 644 ./debian/templates.master
> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/templates
> dpkg-gencontrol -DArchitecture=i386 -isp \
> -plinux-image-2.6.36-rc5-custom+
> -P/home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/
> dpkg-gencontrol: error: package linux-image-2.6.36-rc5-custom+ not in
> control info
> make[2]: *** [debian/stamp/binary/linux-image-2.6.36-rc5-custom+] Error 255
> make[2]: Leaving directory `/home/zzz/linux-2.6'
> make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.36-rc5-custom+] Error 2
> make[1]: Leaving directory `/home/zzz/linux-2.6'
> make: *** [kernel_image] Error 2
>
> ====================================================
>
> my command line was: CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN`
> fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image
> kernel_headers
> I think there is a problem with --append-to-version
> I'm using Ubuntu 10.10 upgraded from 10.04
>
More information about the kernel-team
mailing list