diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_ipk.bbclass | 2 | ||||
-rw-r--r-- | classes/rootfs_ipk.bbclass | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/classes/image_ipk.bbclass b/classes/image_ipk.bbclass index f2a1180e97..1681032e6f 100644 --- a/classes/image_ipk.bbclass +++ b/classes/image_ipk.bbclass @@ -36,7 +36,7 @@ fakeroot do_rootfs () { insert_feed_uris - rm ${IMAGE_ROOTFS}/usr/lib/ipkg/lists/oe + rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/lists/oe ${IMAGE_PREPROCESS_COMMAND} diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass index 9897c1d901..e42704b5ae 100644 --- a/classes/rootfs_ipk.bbclass +++ b/classes/rootfs_ipk.bbclass @@ -57,12 +57,12 @@ real_do_rootfs () { mkdir -p ${IMAGE_ROOTFS}/etc/ipkg/ grep "^arch" ${T}/ipkg.conf >${IMAGE_ROOTFS}/etc/ipkg/arch.conf - for i in ${IMAGE_ROOTFS}/usr/lib/ipkg/info/*.preinst; do + for i in ${IMAGE_ROOTFS}${libdir}/ipkg/info/*.preinst; do if [ -f $i ] && ! sh $i; then ipkg-cl ${IPKG_ARGS} flag unpacked `basename $i .preinst` fi done - for i in ${IMAGE_ROOTFS}/usr/lib/ipkg/info/*.postinst; do + for i in ${IMAGE_ROOTFS}${libdir}/ipkg/info/*.postinst; do if [ -f $i ] && ! sh $i configure; then ipkg-cl ${IPKG_ARGS} flag unpacked `basename $i .postinst` fi |