meta/classes/rootfs_*.bbclass: Fix unset variable

This commit is contained in:
Richard Purdie 2008-11-07 13:58:24 +00:00
parent ab3b4576ce
commit 826cd19f04
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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