diff options
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index dbe1c798a6..f97f027804 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass | |||
@@ -44,13 +44,7 @@ fakeroot rootfs_ipk_do_rootfs () { | |||
44 | for i in ${BAD_RECOMMENDATIONS}; do | 44 | for i in ${BAD_RECOMMENDATIONS}; do |
45 | pkginfo="`opkg-cl ${OPKG_ARGS} info $i`" | 45 | pkginfo="`opkg-cl ${OPKG_ARGS} info $i`" |
46 | if [ ! -z "$pkginfo" ]; then | 46 | if [ ! -z "$pkginfo" ]; then |
47 | # Take just the first package stanza as otherwise only | 47 | echo "$pkginfo" | awk "/^Status:/ { print \"Status: deinstall hold not-installed\n\" }" - >> $STATUS |
48 | # the last one will have the right Status line. | ||
49 | echo "$pkginfo" | awk "/^Package:/ { print } \ | ||
50 | /^Architecture:/ { print } \ | ||
51 | /^Version:/ { print } \ | ||
52 | /^$/ { exit } \ | ||
53 | END { print \"Status: deinstall hold not-installed\n\" }" - >> $STATUS | ||
54 | else | 48 | else |
55 | echo "Requested ignored recommendation $i is not a package" | 49 | echo "Requested ignored recommendation $i is not a package" |
56 | fi | 50 | fi |