diff options
Diffstat (limited to 'recipes-test/demo-config/secondary-config.bb')
| -rw-r--r-- | recipes-test/demo-config/secondary-config.bb | 6 |
1 files changed, 3 insertions, 3 deletions
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" | |||
| 12 | SECONDARY_HARDWARE_ID ?= "${SOTA_HARDWARE_ID}" | 12 | SECONDARY_HARDWARE_ID ?= "${SOTA_HARDWARE_ID}" |
| 13 | 13 | ||
| 14 | SRC_URI = "\ | 14 | SRC_URI = "\ |
| 15 | file://30-fake-pacman.toml \ | 15 | file://30-ostree-pacman.toml \ |
| 16 | file://35-network-config.toml \ | 16 | file://35-network-config.toml \ |
| 17 | file://45-id-config.toml \ | 17 | file://45-id-config.toml \ |
| 18 | " | 18 | " |
| 19 | 19 | ||
| 20 | do_install () { | 20 | do_install () { |
| 21 | install -m 0700 -d ${D}${libdir}/sota/conf.d | 21 | install -m 0700 -d ${D}${libdir}/sota/conf.d |
| 22 | install -m 0644 ${WORKDIR}/30-fake-pacman.toml ${D}${libdir}/sota/conf.d/30-fake-pacman.toml | 22 | install -m 0644 ${WORKDIR}/30-ostree-pacman.toml ${D}${libdir}/sota/conf.d/30-ostree-pacman.toml |
| 23 | 23 | ||
| 24 | install -m 0644 ${WORKDIR}/35-network-config.toml ${D}${libdir}/sota/conf.d/35-network-config.toml | 24 | install -m 0644 ${WORKDIR}/35-network-config.toml ${D}${libdir}/sota/conf.d/35-network-config.toml |
| 25 | sed -i -e 's|@PORT@|${SECONDARY_PORT}|g' \ | 25 | sed -i -e 's|@PORT@|${SECONDARY_PORT}|g' \ |
| @@ -36,7 +36,7 @@ do_install () { | |||
| 36 | 36 | ||
| 37 | FILES_${PN} = " \ | 37 | FILES_${PN} = " \ |
| 38 | ${libdir}/sota/conf.d \ | 38 | ${libdir}/sota/conf.d \ |
| 39 | ${libdir}/sota/conf.d/30-fake-pacman.toml \ | 39 | ${libdir}/sota/conf.d/30-ostree-pacman.toml \ |
| 40 | ${libdir}/sota/conf.d/35-network-config.toml \ | 40 | ${libdir}/sota/conf.d/35-network-config.toml \ |
| 41 | ${libdir}/sota/conf.d/45-id-config.toml \ | 41 | ${libdir}/sota/conf.d/45-id-config.toml \ |
| 42 | " | 42 | " |
