On Tue, 2011-02-22 at 20:15 +0000, davidMbrooke wrote: > Hi, > > I'm getting some strange failures running "tools/buildall.sh" on a clean > git clone from the latest (2011-02-22) master repository. > > Specifically: > - Building the Packages for "kernel" and "kmodules" > - Building the Source and Package for "iscsi" > - Building the Packages for "initrd" > > All are related to the same problem. For some reason the kernel build is > writing the results into directories called e.g. > "2.6.35.10-geode-g8373740" rather than simply "2.6.35.10-geode" and > attempts to copy files from the "expected" locations do not work. > > The same -g8373740 suffix is applied to the i486, i686 and geode > variants. > > I notice that UTS_RELEASE and kernel.release are being defined with the > suffix. For example: > $ cd leaf/bering-uclibc4/buildtool/source/linux/ > $ cat linux-geode/include/generated/utsrelease.h > #define UTS_RELEASE "2.6.35.10-geode-g8373740" > $ cat include/config/kernel.release > 2.6.35.10-geode-g8373740 > > Surely that's not right... > > > Typical. While composing this email I solve the problem myself. Oh well, > let me finish this so we have a record in the email archive. > > > File kernel.release is generated from Makefile by running script > linux-2.6.35.10/scripts/scripts/setlocalversion which has comments: > # This scripts adds local version information from the version > # control systems git, mercurial (hg) and subversion (svn). > > That script runs this git command: > $ git rev-parse --verify --short HEAD > which sure enough says: > 8373740 > The "-g" is added by the script to show that it is a Git version number. > > This behaviour can be suppressed by a change to the kernel .config. > Right now we have: > CONFIG_LOCALVERSION_AUTO=y > and changing this to > # CONFIG_LOCALVERSION_AUTO is not set > seems to fix it for me. > > I propose to do another clean build to check for any side-effects and if > all is successful commit the change to the kernel .config. > > davidMbrooke
Having fixed it for 2.6.35.10 this problem came back again in 2.6.35.11. Fixed again. I don't know why it's only me who seems to have problems with this... dMb ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel