Fixed
Created: May 20, 2018
Updated: Mar 27, 2019
Resolved Date: Jun 13, 2018
Found In Version: 9.0.0.14
Fix Version: 9.0.0.17
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Build & Config
If a conffile has been deleted (common when building a debugfs) the status command will throw errors instead of handling that situation.
Errors were observed during Yocto build after setting IMAGE_GEN_DEBUGFS = "1" in WRL9 build.
We can see similar Errors here
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10761
Patch for this issue can be found here,
https://patchwork.openembedded.org/patch/135747/
Temporary work around as suggested by Robert Yang:
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index a348b97..ba072c0 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -951,7 +951,7 @@ class OpkgRootfs(DpkgOpkgRootfs):
if self.progress_reporter:
self.progress_reporter.next_stage()
- self._setup_dbg_rootfs(['/etc', '/var/lib/opkg', '/usr/lib/ssl'])
+ self._setup_dbg_rootfs(['/etc', '/var/lib/opkg', '/usr/lib/ssl', '/var/lib/nfs'])
execute_pre_post_process(self.d, opkg_post_process_cmds)
1) setup a qemu project in WRL9
./wrlinux-9/setup.sh --machines qemux86-64 --dl-layers
2) Add changes in build/conf/local.conf as below:
IMAGE_GEN_DEBUGFS = "1"
PACKAGE_CLASSES ?= "package_ipk"
IMAGE_INSTALL_append = " nfs-utils-client logrotate"
3)Build the project
$ bitbake wrlinux-image-glibc-small