ca-certificates: Add /etc to SYSROOT_DIRS
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
@@ -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
Quoted 2 lines · Patrick Vacek
+SYSROOT_DIRS_class-native += "/etc"
${sysconfdir}, surely, to cater for people who change the paths.
Ross
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
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_sysrootShall I make an updated patch?
Thanks,
Patrick