mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
classes: Add mechanism to install packages into images only if they've been built
This commit is contained in:
@@ -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