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.bbclass22
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index e38ba8689f..3e1f9590fc 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -141,28 +141,6 @@ remove_packaging_data_files() {
141 mkdir ${IMAGE_ROOTFS}${OPKGLIBDIR}/opkg 141 mkdir ${IMAGE_ROOTFS}${OPKGLIBDIR}/opkg
142} 142}
143 143
144list_installed_packages() {
145 if [ "$1" = "arch" ] ; then
146 opkg-cl ${OPKG_ARGS} status | opkg-query-helper.py -a
147 elif [ "$1" = "file" ] ; then
148 opkg-cl ${OPKG_ARGS} status | opkg-query-helper.py -f | while read pkg pkgfile
149 do
150 fullpath=`find ${DEPLOY_DIR_IPK} -name "$pkgfile" || true`
151 if [ "$fullpath" = "" ] ; then
152 echo "$pkg $pkgfile"
153 else
154 echo "$pkg $fullpath"
155 fi
156 done
157 else
158 opkg-cl ${OPKG_ARGS} list_installed | awk '{ print $1 }'
159 fi
160}
161
162rootfs_list_installed_depends() {
163 opkg-cl ${OPKG_ARGS} status | opkg-query-helper.py
164}
165
166rootfs_install_packages() { 144rootfs_install_packages() {
167 opkg-cl ${OPKG_ARGS} install `cat $1` 145 opkg-cl ${OPKG_ARGS} install `cat $1`
168} 146}