From ad341f199052427f3d96705cfe6fc3f035480607 Mon Sep 17 00:00:00 2001 From: Laurent Bonnans Date: Tue, 16 Jun 2020 17:12:04 +0200 Subject: Add recipe to build images with binary primaries Signed-off-by: Laurent Bonnans --- recipes-sota/config/aktualizr-binary-pacman.bb | 21 +++++++++++++++++++++ recipes-sota/config/files/10-pacman.toml | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 recipes-sota/config/aktualizr-binary-pacman.bb create mode 100644 recipes-sota/config/files/10-pacman.toml diff --git a/recipes-sota/config/aktualizr-binary-pacman.bb b/recipes-sota/config/aktualizr-binary-pacman.bb new file mode 100644 index 0000000..36bafb3 --- /dev/null +++ b/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/recipes-sota/config/files/10-pacman.toml b/recipes-sota/config/files/10-pacman.toml new file mode 100644 index 0000000..a24fd39 --- /dev/null +++ b/recipes-sota/config/files/10-pacman.toml @@ -0,0 +1,2 @@ +[pacman] +type = "none" -- cgit v1.2.3-54-g00ecf