summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 5342035241..2df8ca49e2 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -76,7 +76,7 @@ fakeroot rootfs_ipk_do_rootfs () {
76 ${ROOTFS_POSTINSTALL_COMMAND} 76 ${ROOTFS_POSTINSTALL_COMMAND}
77 77
78 if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", "false" ,d)}; then 78 if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", "false" ,d)}; then
79 if grep Status:.install.ok.unpacked ${IMAGE_ROOTFS}${opkglibdir}status; then 79 if grep Status:.install.ok.unpacked ${STATUS}; then
80 echo "Some packages could not be configured offline and rootfs is read-only." 80 echo "Some packages could not be configured offline and rootfs is read-only."
81 exit 1 81 exit 1
82 fi 82 fi
@@ -88,9 +88,8 @@ fakeroot rootfs_ipk_do_rootfs () {
88 ${ROOTFS_POSTPROCESS_COMMAND} 88 ${ROOTFS_POSTPROCESS_COMMAND}
89 89
90 rm -f ${IMAGE_ROOTFS}${opkglibdir}/lists/* 90 rm -f ${IMAGE_ROOTFS}${opkglibdir}/lists/*
91
92 if ${@base_contains("IMAGE_FEATURES", "package-management", "false", "true", d)}; then 91 if ${@base_contains("IMAGE_FEATURES", "package-management", "false", "true", d)}; then
93 if ! grep Status:.install.ok.unpacked ${IMAGE_ROOTFS}${opkglibdir}status; then 92 if ! grep Status:.install.ok.unpacked ${STATUS}; then
94 # All packages were successfully configured. 93 # All packages were successfully configured.
95 # update-rc.d, base-passwd are no further use, remove them now 94 # update-rc.d, base-passwd are no further use, remove them now
96 opkg-cl ${IPKG_ARGS} --force-depends remove update-rc.d base-passwd || true 95 opkg-cl ${IPKG_ARGS} --force-depends remove update-rc.d base-passwd || true