Skip to contentSkip to conversation

systemd-compat-units: do not inherit allarch

PATCH In review Joe Slater 2 participants 2 messages Aug 22, 2016 – Aug 25, 2016

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 systemd-compat-units: do not inherit allarch

Even though we are just a script, we do depend on
systemd being on the target and need an RDEPENDS
which means we cannot also be allarch.

---
 meta/recipes-core/systemd/systemd-compat-units.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/systemd/systemd-compat-units.bb +1 -1
index f246e83..421fc06 100644
@@ -9,7 +9,7 @@ DEPENDS = "systemd-systemctl-native"
 
 S = "${WORKDIR}"
 
-inherit allarch distro_features_check
+inherit distro_features_check
 
 ALLOW_EMPTY_${PN} = "1"
 
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 14 lines · Joe Slater

Even though we are just a script, we do depend on
systemd being on the target and need an RDEPENDS
which means we cannot also be allarch.

---
 meta/recipes-core/systemd/systemd-compat-units.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/systemd/systemd-compat-units.bb +0 -0
index f246e83..421fc06 100644

meta/recipes-core/systemd/systemd-compat-units.bb DEPENDS = "systemd-systemctl-native" · line 12

Quoted 5 lines
meta/recipes-core/systemd/systemd-compat-units.bb +1 -1
@@ -9,7 +9,7 @@ DEPENDS = "systemd-systemctl-native"
 
 S = "${WORKDIR}"
 
-inherit allarch distro_features_check
+inherit distro_features_check

+1 from me. The alternative solution would be to add "systemd-compat-units->systemd" to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS in meta/conf/layer.conf, but that's more complicated and probably not worth it.

Signature · 6 lines
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.