Found what is changing the kernel.release file to become "incorrect".
In the process of compiling VirtualBox 1.6.2, the last step is to:
cd ./out/linux.x86/release/bin/src
make
When the make command is ran, I get a message:
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.24-19-generic/build
SUBDIRS=/usr/src/virtualbox/VirtualBox-1.6.2/out/linux.x86/release/bin/src
SRCROOT=/usr/src/virtualbox/VirtualBox-1.6.2/out/linux.x86/release/bin/src
modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are
missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to
fix it."; \
echo; \
/bin/false)
When I run:
cd /usr/src/linux-headers-2.6.24-19-generic
make oldconfig && make prepare
This also happens when you run the same 2 make statements in:
/usr/src/linux-headers-2.6.24-19/
/usr/src/linux-headers-2.6.24-19-generic/
/usr/src/linux-source-2.6.24/
The Makefile is building the kernel.release file from its top 4 lines:
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 24
EXTRAVERSION = .3
The last command "make prepare" replaces the contents of kernel.release
with "2.6.24.3" Correct me if I'm wrong, I believe this is the kernel
version that Ubuntu 2.6.24-19 is currently built from?
Seperate bug report to discuss if "make prepare" is working as it is
supposed to? Since it also fails after changing the version ...
/usr/src/linux-headers-2.6.24-19# make prepare
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[1]: *** No rule to make target `arch/x86/kernel/asm-offsets.c', needed by
`arch/x86/kernel/asm-offsets.s'. Stop.
make: *** [prepare0] Error 2
--
problems with kernel 2.6.24.19 reporting as 2.6.24.3
https://bugs.launchpad.net/bugs/247055
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs