summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-08-03 17:08:44 -0700
committerChris Larson <chris_larson@mentor.com>2010-08-03 17:12:08 -0700
commit2de66c5504eae14528acd28832fde969672c631c (patch)
tree88df6f0f31d2f9a15401ce699d25eb15bb05e161 /classes
parentacc720fa80227d08fd15764117e0c34e2387e804 (diff)
rootfs_ipk.bbclass: add support for PACKAGE_INSTALL_ATTEMPTONLY
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/rootfs_ipk.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
index 57d3dcdd05..7c85aae5dc 100644
--- a/classes/rootfs_ipk.bbclass
+++ b/classes/rootfs_ipk.bbclass
@@ -58,6 +58,11 @@ fakeroot rootfs_ipk_do_rootfs () {
if [ ! -z "${PACKAGE_INSTALL}" ]; then
opkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL}
fi
+ if [ ! -z "${PACKAGE_INSTALL_ATTEMPTONLY}" ]; then
+ for i in ${PACKAGE_INSTALL_ATTEMPTONLY}; do
+ 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}