From 76f1c3a78e025407093d1edf904a481000466b24 Mon Sep 17 00:00:00 2001 From: Amarnath Valluri Date: Fri, 9 Sep 2016 10:53:11 +0300 Subject: [PATCH 1/2] swupd-client: fix typo in config files creation The patch puts intended values to the config files with swupd-client's default values. backport upstream commit 606ce9e8e266465619e552489425c7e1a15bec39 Signed-off-by: Amarnath Valluri --- .../recipes-swupd/swupd-client/swupd-client_%.bbappend | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-ostro-xt/recipes-swupd/swupd-client/swupd-client_%.bbappend b/meta-ostro-xt/recipes-swupd/swupd-client/swupd-client_%.bbappend index 0310f15..0ce7861 100644 --- a/meta-ostro-xt/recipes-swupd/swupd-client/swupd-client_%.bbappend +++ b/meta-ostro-xt/recipes-swupd/swupd-client/swupd-client_%.bbappend @@ -8,4 +8,8 @@ do_install_append () { install -d ${D}${datadir}/clear/update-ca rm -f ${D}${datadir}/clear/update-ca/425b0f6b.key install -m 0644 ${WORKDIR}/ostroprojectorg.key ${D}${datadir}/clear/update-ca/425b0f6b.key + + echo "${SWUPD_VERSION_URL}" > ${D}/usr/share/defaults/swupd/versionurl + echo "${SWUPD_CONTENT_URL}" > ${D}/usr/share/defaults/swupd/contenturl + echo "${SWUPD_FORMAT}" > ${D}/usr/share/defaults/swupd/format } From 104cb528cc91ac8dd3914ae45713a03f211762b3 Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Fri, 19 Aug 2016 14:32:25 +0300 Subject: [PATCH 2/2] swupd-client: define OstroXT's default URLs Signed-off-by: Dmitry Rozhkov --- .../recipes-swupd/swupd-client/swupd-client_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-ostro-xt/recipes-swupd/swupd-client/swupd-client_%.bbappend b/meta-ostro-xt/recipes-swupd/swupd-client/swupd-client_%.bbappend index 0ce7861..2f74f3f 100644 --- a/meta-ostro-xt/recipes-swupd/swupd-client/swupd-client_%.bbappend +++ b/meta-ostro-xt/recipes-swupd/swupd-client/swupd-client_%.bbappend @@ -3,6 +3,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI_append = " \ file://ostroprojectorg.key \ " +SWUPD_VERSION_URL ?= "https://download.ostroproject.org/updates/ostro-os-xt/milestone/intel-corei7-64/ostro-xt-image-swupd" +SWUPD_CONTENT_URL ?= "https://download.ostroproject.org/updates/ostro-os-xt/milestone/intel-corei7-64/ostro-xt-image-swupd" do_install_append () { install -d ${D}${datadir}/clear/update-ca