Skip to contentSkip to conversation

systemd: update efi PACKAGECONFIG to depend on coreutils-native

PATCH In review Chen Qi 2 participants 3 messages Mar 7, 2019

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover systemd: update efi PACKAGECONFIG to depend on coreutils-native

*** BLURB HERE ***
The following changes since commit 525c5e516323ff584f65bed3320626b1d056260d:

README.poky: Add pointers to key contributions wiki guides (2019-03-06 23:12:27 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/efi-realpath
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/efi-realpath

Chen Qi (1):
systemd: update efi PACKAGECONFIG to depend on coreutils-native

 meta/recipes-core/systemd/systemd_241.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 systemd: update efi PACKAGECONFIG to depend on coreutils-native

For now, if 'efi' is enabled, we get the following error:

| src/boot/efi/meson.build:63:24: ERROR: Program or command 'realpath' not found or not executable

So update the PACKAGECONFIG setting to depend on coreutils-native.

---
 meta/recipes-core/systemd/systemd_241.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_241.bb +1 -1
index 44a132a..7478fdd 100644
@@ -119,7 +119,7 @@ PACKAGECONFIG[bzip2] = "-Dbzip2=true,-Dbzip2=false,bzip2"
 PACKAGECONFIG[coredump] = "-Dcoredump=true,-Dcoredump=false"
 PACKAGECONFIG[cryptsetup] = "-Dlibcryptsetup=true,-Dlibcryptsetup=false,cryptsetup"
 PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus"
-PACKAGECONFIG[efi] = "-Defi=true,-Defi=false"
+PACKAGECONFIG[efi] = "-Defi=true,-Defi=false,coreutils-native"
 PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils"
 PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false"
 # Sign the journal for anti-tampering
Signature · 1 line
1.9.1
#2 lore raw

That's quite a hammer, I prefer adding realpath to HOSTTOOLS.

(patch sent)

Ross

Quoted 33 lines · Chen Qi

For now, if 'efi' is enabled, we get the following error:

| src/boot/efi/meson.build:63:24: ERROR: Program or command 'realpath' not found or not executable

So update the PACKAGECONFIG setting to depend on coreutils-native.

---
 meta/recipes-core/systemd/systemd_241.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_241.bb +1 -2
index 44a132a..7478fdd 100644
@@ -119,7 +119,7 @@ PACKAGECONFIG[bzip2] = "-Dbzip2=true,-Dbzip2=false,bzip2"
 PACKAGECONFIG[coredump] = "-Dcoredump=true,-Dcoredump=false"
 PACKAGECONFIG[cryptsetup] = "-Dlibcryptsetup=true,-Dlibcryptsetup=false,cryptsetup"
 PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus"
-PACKAGECONFIG[efi] = "-Defi=true,-Defi=false"
+PACKAGECONFIG[efi] = "-Defi=true,-Defi=false,coreutils-native"
 PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils"
 PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false"
 # Sign the journal for anti-tampering
--

1.9.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core