diff options
Diffstat (limited to 'recipes-sota/config/aktualizr-example-interface.bb')
-rw-r--r-- | recipes-sota/config/aktualizr-example-interface.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-sota/config/aktualizr-example-interface.bb b/recipes-sota/config/aktualizr-example-interface.bb index 05f63bf..52ebe1c 100644 --- a/recipes-sota/config/aktualizr-example-interface.bb +++ b/recipes-sota/config/aktualizr-example-interface.bb | |||
@@ -5,18 +5,17 @@ SECTION = "base" | |||
5 | LICENSE = "MPL-2.0" | 5 | LICENSE = "MPL-2.0" |
6 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241b3" | 6 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241b3" |
7 | 7 | ||
8 | DEPENDS = "aktualizr " | ||
9 | SRC_URI = " \ | 8 | SRC_URI = " \ |
10 | file://LICENSE \ | 9 | file://LICENSE \ |
11 | " | 10 | " |
12 | 11 | ||
13 | do_install_append () { | 12 | do_install_append () { |
14 | install -m 0700 -d ${D}${libdir}/sota/conf.d | 13 | install -m 0700 -d ${D}${libdir}/sota/conf.d |
15 | echo "[uptane]\nlegacy_interface = \"/usr/bin/example-interface\"\n" > ${D}${libdir}/sota/conf.d/example-interface.toml | 14 | echo "[uptane]\nlegacy_interface = \"/usr/bin/example-interface\"\n" > ${D}${libdir}/sota/conf.d/30-example-interface.toml |
16 | } | 15 | } |
17 | 16 | ||
18 | FILES_${PN} = " \ | 17 | FILES_${PN} = " \ |
19 | ${libdir}/sota/conf.d/example-interface.toml \ | 18 | ${libdir}/sota/conf.d/30-example-interface.toml \ |
20 | " | 19 | " |
21 | 20 | ||
22 | # vim:set ts=4 sw=4 sts=4 expandtab: | 21 | # vim:set ts=4 sw=4 sts=4 expandtab: |