aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-03-20 13:44:08 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-03-21 13:05:08 +0500
commitcfa3d19e7e2b23361f9078ab624a765e40ee9545 (patch)
tree7dd026449b84518b55551dec224527000e7c07b4
parent8ebc4655421e8c26c74df1c944415a40e897b608 (diff)
downloadmeta-amd-cfa3d19e7e2b23361f9078ab624a765e40ee9545.tar.gz
meta-amd-cfa3d19e7e2b23361f9078ab624a765e40ee9545.tar.bz2
meta-amd-cfa3d19e7e2b23361f9078ab624a765e40ee9545.zip
common/swu/libomxil: rm pkg_postinst_ontarget_* because of RO rootfs
Package post-install scripts that are explicitly set to be executed ontarget and need to create/modify a file to configure the package cannot execute on a read-only rootfs. The oe-core/meta/lib/oe/rootfs.py generates an ERROR while do_rootfs: ERROR: development-image-1.0-r0 do_rootfs: The following packages could not be configured offline and rootfs is read-only: ['libomxil'] SWUpdate adds "read-only-rootfs" to the IMAGE_FEATURES, hence the delayed pkg_postinst_ontarget_* routines cannot be executed on the first boot to configure the packages. Therefore as a work-around, in case of libomxil, we remove the pkg_postinst_ontarget_* added in common/recipes-multimedia/libomxil. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
-rw-r--r--common/mentor-swupdate/recipes-multimedia/libomxil/libomxil_%.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/mentor-swupdate/recipes-multimedia/libomxil/libomxil_%.bbappend b/common/mentor-swupdate/recipes-multimedia/libomxil/libomxil_%.bbappend
new file mode 100644
index 00000000..d71acdc4
--- /dev/null
+++ b/common/mentor-swupdate/recipes-multimedia/libomxil/libomxil_%.bbappend
@@ -0,0 +1,3 @@
+python () {
+ d.setVar('pkg_postinst_ontarget_libomxil', '')
+}