meta/classes/rootfs_*.bbclass: Fix unset variable
This commit is contained in:
parent
ab3b4576ce
commit
826cd19f04
|
@ -87,7 +87,7 @@ fakeroot rootfs_deb_do_rootfs () {
|
|||
rm ${WORKDIR}/temp/log.do_$target-attemptonly.${PID}
|
||||
if [ ! -z "${PACKAGE_INSTALL_ATTEMPTONLY}" ]; then
|
||||
for i in ${PACKAGE_INSTALL_ATTEMPTONLY}; do
|
||||
apt-get install $i --force-yes --allow-unauthenticated >> ${WORKDIR}/temp/log.do_$target-attemptonly.${PID} || true
|
||||
apt-get install $i --force-yes --allow-unauthenticated >> ${WORKDIR}/temp/log.do_rootfs-attemptonly.${PID} || true
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ EOF
|
|||
fi
|
||||
|
||||
if [ ! -z "${PACKAGE_INSTALL_ATTEMPTONLY}" ]; then
|
||||
fakechroot yum ${YUMARGS} -y install ${PACKAGE_INSTALL_ATTEMPTONLY} > ${WORKDIR}/temp/log.do_$target-attemptonly.${PID} || true
|
||||
fakechroot yum ${YUMARGS} -y install ${PACKAGE_INSTALL_ATTEMPTONLY} > ${WORKDIR}/temp/log.do_rootfs-attemptonly.${PID} || true
|
||||
fi
|
||||
|
||||
# Add any recommended packages to the image
|
||||
|
|
Loading…
Reference in New Issue