summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/rootfs_ipk.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 7b5df39cdd..5f7c741e6e 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -44,6 +44,8 @@ fakeroot rootfs_ipk_do_rootfs () {
44 mkdir -p ${IMAGE_ROOTFS}/etc/opkg/ 44 mkdir -p ${IMAGE_ROOTFS}/etc/opkg/
45 grep "^arch" ${IPKGCONF_TARGET} >${IMAGE_ROOTFS}/etc/opkg/arch.conf 45 grep "^arch" ${IPKGCONF_TARGET} >${IMAGE_ROOTFS}/etc/opkg/arch.conf
46 46
47 ${ROOTFS_POSTINSTALL_COMMAND}
48
47 for i in ${IMAGE_ROOTFS}${libdir}/opkg/info/*.preinst; do 49 for i in ${IMAGE_ROOTFS}${libdir}/opkg/info/*.preinst; do
48 if [ -f $i ] && ! sh $i; then 50 if [ -f $i ] && ! sh $i; then
49 opkg-cl ${IPKG_ARGS} flag unpacked `basename $i .preinst` 51 opkg-cl ${IPKG_ARGS} flag unpacked `basename $i .preinst`