diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2018-05-09 13:46:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-09 13:46:32 +0200 |
commit | 44e851bab60e6a4ac672f4d7ab89c67ab926b4ae (patch) | |
tree | d3c5c8b65b1b7aaf89ad93a13124b09e0f19e7b9 /recipes-sota/config/aktualizr-example-interface.bb | |
parent | 396f12cf5853813da29a11441e9cc6b73840e874 (diff) | |
parent | 9c610430a3b94d3f881458b7b01133c9705d8d6b (diff) | |
download | meta-updater-44e851bab60e6a4ac672f4d7ab89c67ab926b4ae.tar.gz |
Merge pull request #309 from advancedtelematic/bugfix/install-file-dont-echo
Put extra configs in their own files.
Diffstat (limited to 'recipes-sota/config/aktualizr-example-interface.bb')
-rw-r--r-- | recipes-sota/config/aktualizr-example-interface.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-sota/config/aktualizr-example-interface.bb b/recipes-sota/config/aktualizr-example-interface.bb index 52ebe1c..37a9184 100644 --- a/recipes-sota/config/aktualizr-example-interface.bb +++ b/recipes-sota/config/aktualizr-example-interface.bb | |||
@@ -7,11 +7,12 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241 | |||
7 | 7 | ||
8 | SRC_URI = " \ | 8 | SRC_URI = " \ |
9 | file://LICENSE \ | 9 | file://LICENSE \ |
10 | file://30-example-interface.toml \ | ||
10 | " | 11 | " |
11 | 12 | ||
12 | do_install_append () { | 13 | do_install_append () { |
13 | install -m 0700 -d ${D}${libdir}/sota/conf.d | 14 | install -m 0700 -d ${D}${libdir}/sota/conf.d |
14 | echo "[uptane]\nlegacy_interface = \"/usr/bin/example-interface\"\n" > ${D}${libdir}/sota/conf.d/30-example-interface.toml | 15 | install -m 0644 ${WORKDIR}/30-example-interface.toml ${D}${libdir}/sota/conf.d/30-example-interface.toml |
15 | } | 16 | } |
16 | 17 | ||
17 | FILES_${PN} = " \ | 18 | FILES_${PN} = " \ |