mirror of
https://git.yoctoproject.org/poky
synced 2026-10-23 19:38:18 +00:00
classes: Add mechanism to install packages into images only if they've been built
This commit is contained in:
1 parent
1e967ea93e
commit
436c5f4716
4 files changed
+21
-3
No files matched your search
@@ -42,6 +42,10 @@ fakeroot rootfs_ipk_do_rootfs () {
|
||||
opkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL}
|
||||
fi
|
||||
|
||||
if [ ! -z "${PACKAGE_INSTALL_ATTEMPTONLY}" ]; then
|
||||
opkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL_ATTEMPTONLY} > "${WORKDIR}/temp/log.do_rootfs_attemptonly.${PID}" || true
|
||||
fi
|
||||
|
||||
export D=${IMAGE_ROOTFS}
|
||||
export OFFLINE_ROOT=${IMAGE_ROOTFS}
|
||||
export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
|
||||
|
||||
Reference in new issue
Block a user