]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs_deb.bbclass: updated to works with APT 0.6
authorMarcin Juszkiewicz <hrw@openedhand.com>
Tue, 12 Jun 2007 08:25:24 +0000 (08:25 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Tue, 12 Jun 2007 08:25:24 +0000 (08:25 +0000)
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

meta/classes/rootfs_deb.bbclass

index 3989dc333b40d6ddffbdccfcf21360829e04cd95..969c5080ffc909fa8be8be74573906f7868184d4 100644 (file)
@@ -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