2009/2/13 LiTony <[email protected]>: > > > We have the same problem, and who knows the reason, anyone? THX!
This problem is resolved by adding below macro. %define netbook 1 Regards, Axel > > >> Date: Fri, 13 Feb 2009 07:30:27 +0800 >> Subject: Re: [Moblin Dev] How to rebuild >> kernel-2.6.29.rc2-13.1.moblin2.src.rpm >> From: [email protected] >> To: [email protected] >> CC: [email protected] >> >> hi LiTony, >> >> 2009/2/12 LiTony <[email protected]>: >> > Hi, Alex >> > >> > Can you tell me how to rebuild kernel-2.6.29.rc2-13.1.moblin2.src.rpm? >> > >> > Can it work by forcing rpm to use fuzz level 2? >> > >> >> I use below command to rebuild kernel: >> # rpmbuild --rebuild --target i586 kernel-2.6.29.rc2-13.1.moblin2.src.rpm >> it end with exit 0, however it does not really build anything. >> ( It is not patch failed, so it is nothing to do with fuzz settings ) >> Here shows the rpmbuild log: >> It runs "cd linux-2.6.28" and then exit immediately. >> >> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FDCFgK >> + umask 022 >> + cd /usr/src/redhat/BUILD >> + cd kernel-2.6.28 >> + LANG=C >> + export LANG >> + unset DISPLAY >> + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions >> -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 >> -fasynchronous-unwind-tables' >> + export CFLAGS >> + rm -rf /usr/src/redhat/BUILDROOT/kernel-2.6.29.rc2-13.1.moblin2.i386 >> + mkdir -p >> /usr/src/redhat/BUILDROOT/kernel-2.6.29.rc2-13.1.moblin2.i386/boot >> + cd linux-2.6.28 >> + exit 0 >> >> Regards, >> Axel >> >> > Thank you >> > >> >> Date: Fri, 6 Feb 2009 08:22:09 +0800 >> >> Subject: Re: [Moblin Dev] How to rebuild >> >> kernel-2.6.29.rc2-13.1.moblin2.src.rpm >> >> From: [email protected] >> >> To: [email protected] >> >> CC: [email protected] >> >> >> >> 2009/2/6 axel lin <[email protected]>: >> >> > hi Arjan, >> >> > >> >> > 2009/2/6 Arjan van de Ven <[email protected]>: >> >> >> axel lin wrote: >> >> >>> >> >> >>> hi list, >> >> >>> I try to rebuild moblin2 kernel by rpmbuild. >> >> >>> It seems no error message, but rpmbuild stops quickly. >> >> >>> ( Note: my build environment is Fedora-10. ) >> >> >>> >> >> >>> Below is the messages: >> >> >>> >> >> >>> [r...@boost tmp]# rpmbuild --rebuild >> >> >>> kernel-2.6.29.rc2-13.1.moblin2.src.rpm >> >> >> >> >> >> you need to add --target i586 to this command line >> >> > >> >> > I tried rpmbuild --rebuild --target i586 >> >> > kernel-2.6.29.rc2-13.1.moblin2.src.rpm . >> >> > The result is still the same, nothing get build. >> >> > And run rpmbuld -bb --target i586 kernel.spec doesn't work, it >> >> > doesn't >> >> > really build the source code. >> >> > >> >> Below is the build log: >> >> In Executing(%build) section, nothing build. >> >> >> >> [r...@boost SPECS]# rpmbuild --target i586 -bb kernel.spec >> >> Building target platforms: i586 >> >> Building for target i586 >> >> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0FVce8 >> >> + umask 022 >> >> + cd /root/rpmbuild/BUILD >> >> + LANG=C >> >> + export LANG >> >> + unset DISPLAY >> >> + patch_command='patch -p1 -F1 -s' >> >> + patch_command='patch -p1 -F2 -s' >> >> + '[' '!' -d kernel-2.6.28/vanilla-2.6.29-rc2 ']' >> >> + cd kernel-2.6.28 >> >> + '[' -d linux-2.6.28 ']' >> >> + rm -rf deleteme >> >> + mv linux-2.6.28 deleteme >> >> + rm -rf deleteme >> >> + cp -rl vanilla-2.6.29-rc2 linux-2.6.28 >> >> + cd linux-2.6.28 >> >> + cp /root/rpmbuild/SOURCES/config-crown-beach >> >> /root/rpmbuild/SOURCES/config-generic >> >> /root/rpmbuild/SOURCES/config-ivi >> >> /root/rpmbuild/SOURCES/config-netbook . >> >> + cp /root/rpmbuild/SOURCES/merge.pl . >> >> + make -f /root/rpmbuild/SOURCES/Makefile.config VERSION=2.6.29.rc2 >> >> configs >> >> perl merge.pl config-netbook config-generic > kernel-netbook.config >> >> perl merge.pl config-crown-beach config-generic > >> >> kernel-crown-beach.config >> >> perl merge.pl config-ivi config-generic > kernel-ivi.config >> >> + ApplyPatch linux-2.6-build-nonintconfig.patch >> >> + local patch=linux-2.6-build-nonintconfig.patch >> >> + shift >> >> + '[' '!' -f /root/rpmbuild/SOURCES/linux-2.6-build-nonintconfig.patch >> >> ']' >> >> + case "$patch" in >> >> + patch -p1 -F2 -s >> >> + chmod +x scripts/checkpatch.pl >> >> + cp /root/rpmbuild/SOURCES/COPYING.modules Documentation/ >> >> + mkdir configs >> >> + for cfg in 'kernel-*.config' >> >> ++ echo kernel-crown-beach.config kernel-ivi.config >> >> kernel-netbook.config >> >> ++ grep -c kernel-crown-beach.config >> >> + '[' 1 -eq 0 ']' >> >> + for cfg in 'kernel-*.config' >> >> ++ echo kernel-crown-beach.config kernel-ivi.config >> >> kernel-netbook.config >> >> ++ grep -c kernel-ivi.config >> >> + '[' 1 -eq 0 ']' >> >> + for cfg in 'kernel-*.config' >> >> ++ echo kernel-crown-beach.config kernel-ivi.config >> >> kernel-netbook.config >> >> ++ grep -c kernel-netbook.config >> >> + '[' 1 -eq 0 ']' >> >> + rm -f 'kernel-2.6.29.rc2-*debug.config' >> >> + for i in '*.config' >> >> + mv kernel-crown-beach.config .config >> >> + Arch=x86 >> >> + make nonint_oldconfig >> >> .config:412:warning: override: PCI_GOANY changes choice state >> >> .config:1842:warning: override: reassigning to symbol FB_ARK >> >> .config:1843:warning: override: reassigning to symbol FB_PM3 >> >> .config:1844:warning: override: reassigning to symbol FB_CARMINE >> >> .config:1845:warning: override: reassigning to symbol FB_GEODE >> >> .config:1846:warning: override: reassigning to symbol FB_VIRTUAL >> >> .config:1847:warning: override: reassigning to symbol FB_METRONOME >> >> .config:1848:warning: override: reassigning to symbol FB_MB862XX >> >> + echo '# x86' >> >> + cat .config >> >> + for i in '*.config' >> >> + mv kernel-ivi.config .config >> >> + Arch=x86 >> >> + make nonint_oldconfig >> >> .config:1842:warning: override: reassigning to symbol FB_ARK >> >> .config:1843:warning: override: reassigning to symbol FB_PM3 >> >> .config:1844:warning: override: reassigning to symbol FB_CARMINE >> >> .config:1845:warning: override: reassigning to symbol FB_GEODE >> >> .config:1846:warning: override: reassigning to symbol FB_VIRTUAL >> >> .config:1847:warning: override: reassigning to symbol FB_METRONOME >> >> .config:1848:warning: override: reassigning to symbol FB_MB862XX >> >> + echo '# x86' >> >> + cat .config >> >> + for i in '*.config' >> >> + mv kernel-netbook.config .config >> >> + Arch=x86 >> >> + make nonint_oldconfig >> >> .config:1842:warning: override: reassigning to symbol FB_ARK >> >> .config:1843:warning: override: reassigning to symbol FB_PM3 >> >> .config:1844:warning: override: reassigning to symbol FB_CARMINE >> >> .config:1845:warning: override: reassigning to symbol FB_GEODE >> >> .config:1846:warning: override: reassigning to symbol FB_VIRTUAL >> >> .config:1847:warning: override: reassigning to symbol FB_METRONOME >> >> .config:1848:warning: override: reassigning to symbol FB_MB862XX >> >> + echo '# x86' >> >> + cat .config >> >> + find . '(' -name '*.orig' -o -name '*~' ')' -exec rm -f '{}' ';' >> >> + cd .. >> >> + exit 0 >> >> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xbAv1h >> >> + umask 022 >> >> + cd /root/rpmbuild/BUILD >> >> + cd kernel-2.6.28 >> >> + LANG=C >> >> + export LANG >> >> + unset DISPLAY >> >> + rm -rf /root/rpmbuild/BUILDROOT/kernel-2.6.29.rc2-13.1.moblin2.i386 >> >> + mkdir -p >> >> /root/rpmbuild/BUILDROOT/kernel-2.6.29.rc2-13.1.moblin2.i386/boot >> >> + cd linux-2.6.28 >> >> + exit 0 >> >> Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PCiZUr >> >> + umask 022 >> >> + cd /root/rpmbuild/BUILD >> >> + cd kernel-2.6.28 >> >> + cd linux-2.6.28 >> >> + rm -rf >> >> >> >> /root/rpmbuild/BUILDROOT/kernel-2.6.29.rc2-13.1.moblin2.i386/lib/firmware >> >> + /usr/lib/rpm/check-buildroot >> >> + /usr/lib/rpm/redhat/brp-compress >> >> + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip >> >> + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip >> >> + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip >> >> /usr/bin/objdump >> >> + /usr/lib/rpm/brp-python-bytecompile >> >> + /usr/lib/rpm/redhat/brp-python-hardlink >> >> + /usr/lib/rpm/redhat/brp-java-repack-jars >> >> Checking for unpackaged file(s): /usr/lib/rpm/check-files >> >> /root/rpmbuild/BUILDROOT/kernel-2.6.29.rc2-13.1.moblin2.i386 >> >> Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fx5pmC >> >> + umask 022 >> >> + cd /root/rpmbuild/BUILD >> >> + cd kernel-2.6.28 >> >> + rm -rf /root/rpmbuild/BUILDROOT/kernel-2.6.29.rc2-13.1.moblin2.i386 >> >> + exit 0 >> >> [r...@boost SPECS]# >> >> >> >> >> >> >> >> I'm interesting to learn why you want to rebuild the kernel >> >> >> though... >> >> >> >> >> > I need to rebuild the kernel because I want to include some wlan >> >> > drivers that is not in default moblin2 kernel. >> >> > >> >> > Regards, >> >> > Axel >> >> > >> >> >> >> _______________________________________________ >> >> Moblin dev Mailing List >> >> [email protected] >> >> >> >> To manage or unsubscribe from this mailing list visit: >> >> https://lists.moblin.org/mailman/listinfo/dev or your user account on >> >> http://moblin.org once logged in. >> >> >> >> For more information on the Moblin Developer Mailing lists visit: >> >> http://moblin.org/community/mailing-lists >> > >> > >> > ________________________________ >> > 更多热辣资讯尽在新版MSN首页! 立刻访问! > > > ________________________________ > 使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
