summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/rootfs_rpm.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-05-11 18:20:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-10 11:36:34 +0100
commit7e0152220475cab4e0bad07e93b2a8ed5531f915 (patch)
tree5e139d4f4730a7471f6858639926a969d328bead /meta/classes-recipe/rootfs_rpm.bbclass
parent1b5636daf1712fc1ede7a19c003abbad4d9f93bf (diff)
downloadpoky-7e0152220475cab4e0bad07e93b2a8ed5531f915.tar.gz
rootfs_rpm: don't depend on opkg-native for update-alternatives
opkg-native hasn't provided update-alternatives since 2014[1] so this is the wrong dependency, and image.bbclass depends on the virtual provider virtual/update-alternatives-native already. [1] oe-core 1e2c38ce13f8e4b25d8656d237343380cbc970aa (From OE-Core rev: 51004376be9a6b9a4c38585d14d2516d90138319) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/rootfs_rpm.bbclass')
-rw-r--r--meta/classes-recipe/rootfs_rpm.bbclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes-recipe/rootfs_rpm.bbclass b/meta/classes-recipe/rootfs_rpm.bbclass
index 6eccd5a959..55f1cc92ca 100644
--- a/meta/classes-recipe/rootfs_rpm.bbclass
+++ b/meta/classes-recipe/rootfs_rpm.bbclass
@@ -20,11 +20,9 @@ IMAGE_ROOTFS_EXTRA_SPACE:append = "${@bb.utils.contains("PACKAGE_INSTALL", "dnf"
20# Dnf is python based, so be sure python3-native is available to us. 20# Dnf is python based, so be sure python3-native is available to us.
21EXTRANATIVEPATH += "python3-native" 21EXTRANATIVEPATH += "python3-native"
22 22
23# opkg is needed for update-alternatives
24RPMROOTFSDEPENDS = "rpm-native:do_populate_sysroot \ 23RPMROOTFSDEPENDS = "rpm-native:do_populate_sysroot \
25 dnf-native:do_populate_sysroot \ 24 dnf-native:do_populate_sysroot \
26 createrepo-c-native:do_populate_sysroot \ 25 createrepo-c-native:do_populate_sysroot"
27 opkg-native:do_populate_sysroot"
28 26
29do_rootfs[depends] += "${RPMROOTFSDEPENDS}" 27do_rootfs[depends] += "${RPMROOTFSDEPENDS}"
30do_populate_sdk[depends] += "${RPMROOTFSDEPENDS}" 28do_populate_sdk[depends] += "${RPMROOTFSDEPENDS}"