summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2008-10-31 16:23:11 +0000
committerRob Bradford <rob@linux.intel.com>2008-10-31 16:24:31 +0000
commit76a7b78b40e3b58587652f607509b04e888c72b5 (patch)
treee1a27a43d903b265204fa86147a1ad7cbf0a8a8f
parent25e5b72195a61cbb1bbbc3cbd3061fe570861d4c (diff)
downloadopenembedded-core-76a7b78b40e3b58587652f607509b04e888c72b5.tar.gz
openembedded-core-76a7b78b40e3b58587652f607509b04e888c72b5.tar.bz2
openembedded-core-76a7b78b40e3b58587652f607509b04e888c72b5.tar.xz
openembedded-core-76a7b78b40e3b58587652f607509b04e888c72b5.zip
roots_rpm.bbclass: Use opkg-native to get update-alternatives
-rw-r--r--meta/classes/rootfs_rpm.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index a311c601d..e3697cb12 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -7,6 +7,10 @@ ROOTFS_PKGMANAGE = "rpm yum"
ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts"
do_rootfs[depends] += "rpm-native:do_populate_staging yum-native:do_populate_staging createrepo-native:do_populate_staging fakechroot-native:do_populate_staging"
+
+# Needed for update-alternatives
+do_rootfs[depends] += "opkg-native:do_populate_staging"
+
do_rootfs[recrdeptask] += "do_package_write_rpm"
YUMCONF = "${IMAGE_ROOTFS}/etc/yum.conf"