summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr-uboot-env-rollback.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-uboot-env-rollback.bb')
-rw-r--r--recipes-sota/aktualizr/aktualizr-uboot-env-rollback.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-uboot-env-rollback.bb b/recipes-sota/aktualizr/aktualizr-uboot-env-rollback.bb
new file mode 100644
index 0000000..c9753e4
--- /dev/null
+++ b/recipes-sota/aktualizr/aktualizr-uboot-env-rollback.bb
@@ -0,0 +1,23 @@
1SUMMARY = "Aktualizr configuration snippet to enable uboot bootcount function"
2HOMEPAGE = "https://github.com/advancedtelematic/aktualizr"
3SECTION = "base"
4LICENSE = "MPL-2.0"
5LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241b3"
6DEPENDS = "aktualizr-native"
7RDEPENDS_${PN} = "aktualizr"
8
9SRC_URI = " \
10 file://LICENSE \
11 "
12
13do_install() {
14 install -m 0700 -d ${D}${libdir}/sota/conf.d
15 install -m 0644 ${STAGING_DIR_NATIVE}${libdir}/sota/sota_uboot_env.toml ${D}${libdir}/sota/conf.d/30-rollback.toml
16}
17
18FILES_${PN} = " \
19 ${libdir}/sota/conf.d \
20 ${libdir}/sota/conf.d/30-rollback.toml \
21 "
22
23# vim:set ts=4 sw=4 sts=4 expandtab: