mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 09:32:12 +02:00
rootfs_deb.bbclass: updated to works with APT 0.6
APT 0.6 require repositories to be GPG signed but Poky have them unsigned. Second problem is that APT tries to read something from stdin (even when forced to choose 'Yes') so it now gets /dev/null as stdin. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1916 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -52,12 +52,12 @@ fakeroot rootfs_deb_do_rootfs () {
|
||||
}
|
||||
|
||||
if [ ! -z "${LINGUAS_INSTALL}" ]; then
|
||||
apt-get install glibc-localedata-i18n
|
||||
apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated </dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
exit $?
|
||||
fi
|
||||
for i in ${LINGUAS_INSTALL}; do
|
||||
apt-get install $i
|
||||
apt-get install $i --force-yes --allow-unauthenticated </dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
exit $?
|
||||
fi
|
||||
@@ -66,7 +66,7 @@ fakeroot rootfs_deb_do_rootfs () {
|
||||
|
||||
if [ ! -z "${PACKAGE_INSTALL}" ]; then
|
||||
for i in ${PACKAGE_INSTALL}; do
|
||||
apt-get install $i
|
||||
apt-get install $i --force-yes --allow-unauthenticated </dev/null
|
||||
if [ $? -eq 1 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user