summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 13bd4bff23..cbc63f0182 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -127,10 +127,12 @@ list_installed_packages() {
127} 127}
128 128
129get_package_filename() { 129get_package_filename() {
130 set +x
130 info=`opkg-cl ${IPKG_ARGS} info $1 | grep -B 7 -A 7 "^Status.* \(\(installed\)\|\(unpacked\)\)" || true` 131 info=`opkg-cl ${IPKG_ARGS} info $1 | grep -B 7 -A 7 "^Status.* \(\(installed\)\|\(unpacked\)\)" || true`
131 name=`echo "${info}" | awk '/^Package/ {printf $2"_"}'` 132 name=`echo "${info}" | awk '/^Package/ {printf $2"_"}'`
132 name=$name`echo "${info}" | awk -F: '/^Version/ {printf $NF"_"}' | sed 's/^\s*//g'` 133 name=$name`echo "${info}" | awk -F: '/^Version/ {printf $NF"_"}' | sed 's/^\s*//g'`
133 name=$name`echo "${info}" | awk '/^Archi/ {print $2".ipk"}'` 134 name=$name`echo "${info}" | awk '/^Archi/ {print $2".ipk"}'`
135 set -x
134 136
135 fullname=`find ${DEPLOY_DIR_IPK} -name "$name" || true` 137 fullname=`find ${DEPLOY_DIR_IPK} -name "$name" || true`
136 if [ "$fullname" = "" ] ; then 138 if [ "$fullname" = "" ] ; then