summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcajun-rat <phil@advancedtelematic.com>2017-11-09 09:47:52 +0100
committerGitHub <noreply@github.com>2017-11-09 09:47:52 +0100
commit41254c4d19c4c8aa6489195f210a0633e6d3f759 (patch)
tree82f8f70d3c9fd6fc4a2b29ac9e645d5ed5ab5001
parentcbb8f8ff4e231f1842089fa6eaecf382e3673619 (diff)
parentf1689ba27ff8940e57573ad195d349e84be5732a (diff)
downloadmeta-updater-41254c4d19c4c8aa6489195f210a0633e6d3f759.tar.gz
Merge pull request #164 from advancedtelematic/fix/pro-4254-cacert-path
Explicitly include ca-certificates as a dependency for garage-push
-rw-r--r--classes/image_types_ostree.bbclass2
-rw-r--r--recipes-support/ca-certificates/ca-certificates_%.bbappend1
2 files changed, 2 insertions, 1 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass
index 1f8e195..dcc6fc9 100644
--- a/classes/image_types_ostree.bbclass
+++ b/classes/image_types_ostree.bbclass
@@ -159,7 +159,7 @@ IMAGE_CMD_ostree () {
159} 159}
160 160
161IMAGE_TYPEDEP_ostreepush = "ostree" 161IMAGE_TYPEDEP_ostreepush = "ostree"
162IMAGE_DEPENDS_ostreepush = "aktualizr-native:do_populate_sysroot" 162IMAGE_DEPENDS_ostreepush = "aktualizr-native:do_populate_sysroot ca-certificates-native:do_populate_sysroot "
163IMAGE_CMD_ostreepush () { 163IMAGE_CMD_ostreepush () {
164 # Print warnings if credetials are not set or if the file has not been found. 164 # Print warnings if credetials are not set or if the file has not been found.
165 if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then 165 if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then
diff --git a/recipes-support/ca-certificates/ca-certificates_%.bbappend b/recipes-support/ca-certificates/ca-certificates_%.bbappend
new file mode 100644
index 0000000..afaadfd
--- /dev/null
+++ b/recipes-support/ca-certificates/ca-certificates_%.bbappend
@@ -0,0 +1 @@
SYSROOT_DIRS += "/etc"