diff options
Diffstat (limited to 'external/meta-updater/recipes-sota/config')
-rw-r--r-- | external/meta-updater/recipes-sota/config/aktualizr-binary-pacman.bb | 21 | ||||
-rw-r--r-- | external/meta-updater/recipes-sota/config/files/10-pacman.toml | 2 |
2 files changed, 23 insertions, 0 deletions
diff --git a/external/meta-updater/recipes-sota/config/aktualizr-binary-pacman.bb b/external/meta-updater/recipes-sota/config/aktualizr-binary-pacman.bb new file mode 100644 index 00000000..36bafb3c --- /dev/null +++ b/external/meta-updater/recipes-sota/config/aktualizr-binary-pacman.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "Configure aktualizr with a binary package manager" +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad" + +inherit allarch + +SRC_URI = "\ + file://10-pacman.toml \ + " + +FILES_${PN} = " \ + ${libdir}/sota/conf.d \ + ${libdir}/sota/conf.d/10-pacman.toml \ + " + +PR = "1" + +do_install() { + install -m 0700 -d ${D}${libdir}/sota/conf.d + install -m 0644 ${WORKDIR}/10-pacman.toml ${D}${libdir}/sota/conf.d/10-pacman.toml +} diff --git a/external/meta-updater/recipes-sota/config/files/10-pacman.toml b/external/meta-updater/recipes-sota/config/files/10-pacman.toml new file mode 100644 index 00000000..a24fd39b --- /dev/null +++ b/external/meta-updater/recipes-sota/config/files/10-pacman.toml @@ -0,0 +1,2 @@ +[pacman] +type = "none" |