]> code.ossystems Code Review - openembedded-core.git/commitdiff
populate_sdk_*.bbclass: remove old rootfs_list_installed_depends()
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Wed, 5 Mar 2014 12:25:25 +0000 (12:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Mar 2014 03:20:57 +0000 (20:20 -0700)
We're using the python routines now.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_deb.bbclass
meta/classes/populate_sdk_ipk.bbclass
meta/classes/populate_sdk_rpm.bbclass

index 462525feffcecbe7d70f832be4edf207d97c7f7a..833feca882372493360da850720e9a55f369d1bc 100644 (file)
@@ -10,8 +10,3 @@ do_populate_sdk[lockfiles] += "${DEPLOY_DIR_DEB}/deb.lock"
 
 # This will of course only work after rootfs_deb_do_rootfs or populate_sdk_deb has been called
 DPKG_QUERY_COMMAND = "${STAGING_BINDIR_NATIVE}/dpkg-query --admindir=$INSTALL_ROOTFS_DEB/var/lib/dpkg"
-
-rootfs_list_installed_depends() {
-       # Cheat here a little bit by using the opkg query helper util
-       ${DPKG_QUERY_COMMAND} -W -f='Package: ${Package}\nDepends: ${Depends}\nRecommends: ${Recommends}\n\n' | opkg-query-helper.py
-}
index 4c23f055c1802ed3530d3ac61b1b87d96d276a56..e2e3523bb3a745a952215cdef4a0e8b2eedebd0a 100644 (file)
@@ -2,7 +2,3 @@ do_populate_sdk[depends] += "opkg-native:do_populate_sysroot opkg-utils-native:d
 do_populate_sdk[recrdeptask] += "do_package_write_ipk"
 
 do_populate_sdk[lockfiles] += "${WORKDIR}/ipk.lock"
-
-rootfs_list_installed_depends() {
-       opkg-cl ${OPKG_ARGS} status | opkg-query-helper.py
-}
index 06605d366d0d55b28acb6a571f6058637811d098..0fdef3b2cc3c34148ea1bbe9c9b8598997d8241c 100644 (file)
@@ -16,7 +16,3 @@ do_populate_sdk[recrdeptask] += "do_package_write_rpm"
 rpmlibdir = "/var/lib/rpm"
 
 do_populate_sdk[lockfiles] += "${DEPLOY_DIR_RPM}/rpm.lock"
-
-rootfs_list_installed_depends() {
-       rpmresolve -t $INSTALL_ROOTFS_RPM/${rpmlibdir}
-}