Skip to contentSkip to conversation

swupd-client_git.bb: fix typo in config files creation

PATCH In review Dmitry Rozhkov 2 participants 2 messages Aug 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 swupd-client_git.bb: fix typo in config files creation

The patch puts intended values to the config files with swupd-client's default values.

---
 recipes-core/swupd-client/swupd-client_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-core/swupd-client/swupd-client_git.bb +3 -3
index 7e2bdd9..1815db0 100644
@@ -41,9 +41,9 @@ do_install_append () {
 
     # Write default values to the configuration hierarchy (since 3.4.0)
     install -d ${D}/usr/share/defaults/swupd
-    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
+    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
 }
 
 FILES_${PN} += "\
Signature · 1 line
2.5.5
#1 lore raw
Quoted 2 lines · Dmitry Rozhkov

The patch puts intended values to the config files with swupd-client's default values.

Thanks! Patch pushed to meta-swupd master.

Regards,

Joshua

Quoted 31 lines

---
 recipes-core/swupd-client/swupd-client_git.bb | 6 +++---

 1 file changed, 3 insertions(+), 3 deletions(-)
recipes- renamed from recipes-core/swupd-client/swupd-client_git.bb +0 -0

core/swupd-client/swupd-client_git.bb
index 7e2bdd9..1815db0 100644

recipes-core/swupd-client/swupd-client_git.bb +0 -0
@@ -41,9 +41,9 @@ do_install_append () {


     # Write default values to the configuration hierarchy (since 3.4.0)
     install -d ${D}/usr/share/defaults/swupd
-    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 +    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 }

 FILES_${PN} += "\
--
2.5.5