diff options
-rw-r--r-- | classes/rootfs_ipk.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass index 7c85aae5dc..db04fb6bfc 100644 --- a/classes/rootfs_ipk.bbclass +++ b/classes/rootfs_ipk.bbclass @@ -25,7 +25,7 @@ BAD_RECOMMENDATIONS ?= "" IPKG_VARIANT ?= "opkg" RDEPENDS_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${IPKG_VARIANT} opkg-collateral", d)}" -PACKAGE_INSTALL_PKGMGR = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${IPKG_VARIANT} opkg-collateral", d)}" +PACKAGE_INSTALL_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${IPKG_VARIANT} opkg-collateral", d)}" fakeroot rootfs_ipk_do_rootfs () { set -x @@ -44,6 +44,7 @@ fakeroot rootfs_ipk_do_rootfs () { echo "Status: deinstall ok not-installed" >> $STATUS echo >> $STATUS done + opkg-cl ${IPKG_ARGS} update # Uclibc builds don't provide this stuff... @@ -63,7 +64,6 @@ fakeroot rootfs_ipk_do_rootfs () { opkg-cl ${IPKG_ARGS} install $i 2>&1 || true done > ${T}/log.do_rootfs-attemptonly.${PID} fi - opkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL_PKGMGR} export D=${IMAGE_ROOTFS} export OFFLINE_ROOT=${IMAGE_ROOTFS} |