From 6e1732f529f4863edfc34a7944d7614c8843e110 Mon Sep 17 00:00:00 2001 From: Mykhaylo Sul Date: Fri, 3 Jan 2020 11:36:09 +0100 Subject: OTA-4174: Make an ostree update a default on IP Secondary Signed-off-by: Mykhaylo Sul --- recipes-sota/aktualizr/aktualizr_git.bb | 2 +- recipes-test/demo-config/files/30-fake-pacman.toml | 2 -- recipes-test/demo-config/files/30-ostree-pacman.toml | 2 ++ recipes-test/demo-config/secondary-config.bb | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 recipes-test/demo-config/files/30-fake-pacman.toml create mode 100644 recipes-test/demo-config/files/30-ostree-pacman.toml diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb index 2e91a7b..5728830 100644 --- a/recipes-sota/aktualizr/aktualizr_git.bb +++ b/recipes-sota/aktualizr/aktualizr_git.bb @@ -30,7 +30,7 @@ SRC_URI = " \ SRC_URI[garagesign.md5sum] = "3e1ae6d49cc66fda37cef47f849d9609" SRC_URI[garagesign.sha256sum] = "8d49b83efa222db2f092ee14348459ee1bfd048552b57c3cb5ab48db8e347d82" -SRCREV = "bc54d32b8d4e97409908e700b9615fef2ca7ced2" +SRCREV = "14f7c6e74e8fade755dfdd03c856865127ba12b6" BRANCH ?= "master" S = "${WORKDIR}/git" diff --git a/recipes-test/demo-config/files/30-fake-pacman.toml b/recipes-test/demo-config/files/30-fake-pacman.toml deleted file mode 100644 index 3fb5cf2..0000000 --- a/recipes-test/demo-config/files/30-fake-pacman.toml +++ /dev/null @@ -1,2 +0,0 @@ -[pacman] -type = "fake" diff --git a/recipes-test/demo-config/files/30-ostree-pacman.toml b/recipes-test/demo-config/files/30-ostree-pacman.toml new file mode 100644 index 0000000..d2cf5b8 --- /dev/null +++ b/recipes-test/demo-config/files/30-ostree-pacman.toml @@ -0,0 +1,2 @@ +[pacman] +type = "ostree" diff --git a/recipes-test/demo-config/secondary-config.bb b/recipes-test/demo-config/secondary-config.bb index ddbed89..58b18df 100644 --- a/recipes-test/demo-config/secondary-config.bb +++ b/recipes-test/demo-config/secondary-config.bb @@ -12,14 +12,14 @@ SOTA_HARDWARE_ID ?= "${MACHINE}-sndry" SECONDARY_HARDWARE_ID ?= "${SOTA_HARDWARE_ID}" SRC_URI = "\ - file://30-fake-pacman.toml \ + file://30-ostree-pacman.toml \ file://35-network-config.toml \ file://45-id-config.toml \ " do_install () { install -m 0700 -d ${D}${libdir}/sota/conf.d - install -m 0644 ${WORKDIR}/30-fake-pacman.toml ${D}${libdir}/sota/conf.d/30-fake-pacman.toml + install -m 0644 ${WORKDIR}/30-ostree-pacman.toml ${D}${libdir}/sota/conf.d/30-ostree-pacman.toml install -m 0644 ${WORKDIR}/35-network-config.toml ${D}${libdir}/sota/conf.d/35-network-config.toml sed -i -e 's|@PORT@|${SECONDARY_PORT}|g' \ @@ -36,7 +36,7 @@ do_install () { FILES_${PN} = " \ ${libdir}/sota/conf.d \ - ${libdir}/sota/conf.d/30-fake-pacman.toml \ + ${libdir}/sota/conf.d/30-ostree-pacman.toml \ ${libdir}/sota/conf.d/35-network-config.toml \ ${libdir}/sota/conf.d/45-id-config.toml \ " -- cgit v1.2.3-54-g00ecf