Re: Build-Target failed in linux-header (stage 0). Fixed by modifying base/linux24/linux-conf.in file
Hi,
Thanks for the tip. And you are correct that the "fix" I mentioned above was only half way through. After the fix linux-header package indee compiled but then it failed in 2.6.24 version of Linux26 package.
As a temporary fix I added following lines in linux-conf.in file:
if [ "$pkg" = "linux-header"]; then
lx_cpu='echo ....sed mentioned above as a fix without the i386->x86 replacing'
else
lx_cpu='echo ..... the original sed line here with i386->x86 replacing'
fi
However, this is just a temporary fix for myself because naturally this breaks again when/if linux-header package is updated to 2.6.24 version.
Additional question. I tried to find env variable holding the version number of the package but could not find one so I did the "fix" based on package name. $pkg variable gives the package name but how can I find out the package version shown in some status lines and package tar balls? Just in case I sometimes need it in the future.