summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rootfs_ipk.bbclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index edd84fb40d..3b4b4da43d 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -82,6 +82,17 @@ fakeroot rootfs_ipk_do_rootfs () {
82 82
83 rm -f ${IMAGE_ROOTFS}${opkglibdir}/lists/* 83 rm -f ${IMAGE_ROOTFS}${opkglibdir}/lists/*
84 84
85 if ${@base_contains("IMAGE_FEATURES", "package-management", "false", "true", d)}; then
86 if [ $runtime_script_required -eq 0 ]; then
87 # All packages were successfully configured.
88 # update-rc.d, base-passwd are no further use, remove them now
89 opkg-cl ${IPKG_ARGS} --force-depends remove update-rc.d base-passwd || true
90
91 # Also delete the status files
92 rm -rf ${IMAGE_ROOTFS}${opkglibdir}
93 fi
94 fi
95
85 log_check rootfs 96 log_check rootfs
86} 97}
87 98