diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-12 08:25:24 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-12 08:25:24 +0000 |
commit | dc68918720fb034ecf05b894a8070d3a0b94fac7 (patch) | |
tree | 3737835ce11f10396fda00a5258dc52e407568e5 /meta | |
parent | e5876649305a3d6214a88ff31205b48e78567560 (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 6 |
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 () { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | if [ ! -z "${LINGUAS_INSTALL}" ]; then | 54 | if [ ! -z "${LINGUAS_INSTALL}" ]; then |
55 | apt-get install glibc-localedata-i18n | 55 | apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated </dev/null |
56 | if [ $? -ne 0 ]; then | 56 | if [ $? -ne 0 ]; then |
57 | exit $? | 57 | exit $? |
58 | fi | 58 | fi |
59 | for i in ${LINGUAS_INSTALL}; do | 59 | for i in ${LINGUAS_INSTALL}; do |
60 | apt-get install $i | 60 | apt-get install $i --force-yes --allow-unauthenticated </dev/null |
61 | if [ $? -ne 0 ]; then | 61 | if [ $? -ne 0 ]; then |
62 | exit $? | 62 | exit $? |
63 | fi | 63 | fi |
@@ -66,7 +66,7 @@ fakeroot rootfs_deb_do_rootfs () { | |||
66 | 66 | ||
67 | if [ ! -z "${PACKAGE_INSTALL}" ]; then | 67 | if [ ! -z "${PACKAGE_INSTALL}" ]; then |
68 | for i in ${PACKAGE_INSTALL}; do | 68 | for i in ${PACKAGE_INSTALL}; do |
69 | apt-get install $i | 69 | apt-get install $i --force-yes --allow-unauthenticated </dev/null |
70 | if [ $? -eq 1 ]; then | 70 | if [ $? -eq 1 ]; then |
71 | exit 1 | 71 | exit 1 |
72 | fi | 72 | fi |