mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
rootfs_deb.bbclass: removed usage of /dev/null as stdin as BitBake do that now by default
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1919 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -52,12 +52,12 @@ fakeroot rootfs_deb_do_rootfs () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -z "${LINGUAS_INSTALL}" ]; then
|
if [ ! -z "${LINGUAS_INSTALL}" ]; then
|
||||||
apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated </dev/null
|
apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
for i in ${LINGUAS_INSTALL}; do
|
for i in ${LINGUAS_INSTALL}; do
|
||||||
apt-get install $i --force-yes --allow-unauthenticated </dev/null
|
apt-get install $i --force-yes --allow-unauthenticated
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
@@ -66,7 +66,7 @@ fakeroot rootfs_deb_do_rootfs () {
|
|||||||
|
|
||||||
if [ ! -z "${PACKAGE_INSTALL}" ]; then
|
if [ ! -z "${PACKAGE_INSTALL}" ]; then
|
||||||
for i in ${PACKAGE_INSTALL}; do
|
for i in ${PACKAGE_INSTALL}; do
|
||||||
apt-get install $i --force-yes --allow-unauthenticated </dev/null
|
apt-get install $i --force-yes --allow-unauthenticated
|
||||||
if [ $? -eq 1 ]; then
|
if [ $? -eq 1 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user