aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_deb.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-06-12 08:25:24 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-06-12 08:25:24 +0000
commitdc68918720fb034ecf05b894a8070d3a0b94fac7 (patch)
tree3737835ce11f10396fda00a5258dc52e407568e5 /meta/classes/rootfs_deb.bbclass
parente5876649305a3d6214a88ff31205b48e78567560 (diff)
downloadopenembedded-core-dc68918720fb034ecf05b894a8070d3a0b94fac7.tar.gz
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
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
-rw-r--r--meta/classes/rootfs_deb.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index 3989dc333b..969c5080ff 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -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