diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-06 16:23:32 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-06 16:23:32 +0000 |
commit | 436c5f4716bae47bf9ddddfe0cbaf595a3de46c7 (patch) | |
tree | f4f9a76d581903d2b62f58b490996552ed47d9e4 /meta/classes/rootfs_ipk.bbclass | |
parent | 1e967ea93ee425dfca6857ec958e9a55160133ac (diff) | |
download | poky-436c5f4716bae47bf9ddddfe0cbaf595a3de46c7.tar.gz |
classes: Add mechanism to install packages into images only if they've been built
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index ce6dd797ec..07f418adbd 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass | |||
@@ -42,6 +42,10 @@ fakeroot rootfs_ipk_do_rootfs () { | |||
42 | opkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL} | 42 | opkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL} |
43 | fi | 43 | fi |
44 | 44 | ||
45 | if [ ! -z "${PACKAGE_INSTALL_ATTEMPTONLY}" ]; then | ||
46 | opkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL_ATTEMPTONLY} > "${WORKDIR}/temp/log.do_rootfs_attemptonly.${PID}" || true | ||
47 | fi | ||
48 | |||
45 | export D=${IMAGE_ROOTFS} | 49 | export D=${IMAGE_ROOTFS} |
46 | export OFFLINE_ROOT=${IMAGE_ROOTFS} | 50 | export OFFLINE_ROOT=${IMAGE_ROOTFS} |
47 | export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} | 51 | export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} |