[poky] kernel upgrade breaks image creation
    Holger Hans Peter Freyther 
    holger at freyther.de
       
    Sun Jul  3 01:34:20 PDT 2011
    
    
  
Hi all,
I managed to get my build directory into an inconsistent state. There was a
kernel update and now the image fails to be built. It tries to copy the
System.map-... from the sysroot/${MACHINE}/kernel/... but it is empty:
| FATAL: Could not open
'/poky/build/tmp/sysroots/sysmocom-foo/kernel/System.map-2.6.33-07172-g57e3d92':
No such file or directory
| FATAL: Could not open
'/poky/build/tmp/sysroots/sysmocom-foo/kernel/System.map-2.6.33-07172-g57e3d92':
No such file or directory
| FATAL: Could not open
'/poky/build/tmp/sysroots/sysmocom-foo/kernel/System.map-2.6.33-07172-g57e3d92':
No such file or directory
| FATAL: Could not open
'/poky/build/tmp/sysroots/sysmocom-foo/kernel/System.map-2.6.33-07172-g57e3d92':
No such file or directory
I tried a bitbake -cclean virtual/kernel, also a cleanall, interestingly the
sysmocom-ti/kernel directory is not removed or does not seem to be
re-populated. Did anyone else ever see that behavior? There was one non
standard thing in the kernel upgrade:
+PR... bumped
-SRC_URI = "git://linux.git;protocol=ssh;branch=master"
+SRC_URI = "git://linux.git;protocol=ssh;branch=master \
+          file://defconfig-${MACHINE}"
 S = "${WORKDIR}/git"
 do_configure() {
-       oe_runmake foo_defconfig
-       oe_runmake oldconfig
+       install -m 0644 ${WORKDIR}/defconfig-${MACHINE} ${S}/.config
+       #oe_runmake foo_defconfig
+       #oe_runmake oldconfig
 }
is there anything that makes click?
	holger
    
    
More information about the poky
mailing list