summaryrefslogtreecommitdiff
path: root/meta/classes/image-mklibs.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-22 14:51:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-29 07:34:10 +0100
commit5084ed9401250ed269a49d27b303806ab173c5d5 (patch)
tree3d51cabe55ebbb68c0f626239fb4b44717e8982c /meta/classes/image-mklibs.bbclass
parent1f3cfc77f1dcbfffd319f09591814611f7a5c6bf (diff)
downloadopenembedded-core-5084ed9401250ed269a49d27b303806ab173c5d5.tar.gz
openembedded-core-5084ed9401250ed269a49d27b303806ab173c5d5.tar.bz2
openembedded-core-5084ed9401250ed269a49d27b303806ab173c5d5.zip
lib/oe/rootfs: Fix DEBUGFS generation when using opkg
When enabling extra DEBUGFS image generation with opkg, errors are seen like: ERROR: core-image-minimal-1.0-r0 do_rootfs: Cannot get the installed packages list. Command '/media/build1/poky/build/tmp/sysroots/x86_64-linux/usr/bin/opkg -f /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/opkg.conf -o /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version status' returned 0 and stderr: Collected errors: * file_md5sum_alloc: Failed to open file /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/etc/syslog-startup.conf.busybox: No such file or directory. * file_md5sum_alloc: Failed to open file /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/etc/fstab: No such file or directory. basically for all CONFFILES in the image. This is due to the file rearranging the rootfs generation code does. If we preserve the /etc directory, the avoids the problem. We need to tell copyfile to preserve symlinks since some are present in /etc. [YOCTO #9490] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image-mklibs.bbclass')
0 files changed, 0 insertions, 0 deletions