Skip to contentSkip to conversation

ca-certificates: Add /etc to SYSROOT_DIRS

PATCH Superseded Patrick Vacek 2 participants 4 messages Nov 9, 2017 – Nov 10, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ca-certificates: Add /etc to SYSROOT_DIRS

From: Patrick Vacek <[email protected]>

For recipes that depend on native ca-certificates.crt, /etc should be added to the list of directories that automatically populate the sysroot, otherwise the file may not be there.

---
 meta/recipes-support/ca-certificates/ca-certificates_20170717.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/ca-certificates/ca-certificates_20170717.bb +1 -0
index 59e7d51437..7d59fa6374 100644
@@ -24,6 +24,7 @@ SRC_URI = "git://anonscm.debian.org/collab-maint/ca-certificates.git \
            file://sbindir.patch"
 
 S = "${WORKDIR}/git"
+SYSROOT_DIRS_class-native += "/etc"
 
 inherit allarch
 
Signature · 1 line
2.11.0
#1 lore raw
Quoted 2 lines · Patrick Vacek

+SYSROOT_DIRS_class-native += "/etc"

${sysconfdir}, surely, to cater for people who change the paths.

Ross

#2 lore raw
Quoted 8 lines · Ross

On 9 November 2017 at 14:03, Patrick Vacek <[email protected] <mailto:[email protected]>> wrote:

    +SYSROOT_DIRS_class-native += "/etc"

${sysconfdir}, surely, to cater for people who change the paths.

That does make sense now that you mention it. I naively followed the literal advice from here:

https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-tasks-populate_sysroot

Shall I make an updated patch?

Thanks,
Patrick

#3 lore raw

Yes, please.

Ross

Quoted 21 lines · Patrick Vacek
Quoted 8 lines · Ross

On 9 November 2017 at 14:03, Patrick Vacek <[email protected] <mailto:[email protected]>> wrote:

    +SYSROOT_DIRS_class-native += "/etc"

${sysconfdir}, surely, to cater for people who change the paths.

That does make sense now that you mention it. I naively followed the literal advice from here:

https://www.yoctoproject.org/docs/current/ref-manual/ref-
manual.html#ref-tasks-populate_sysroot

Shall I make an updated patch?

Thanks,
Patrick