-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OTA-2135: Aktualizr's config and recipe to auto reboot just after update
Signed-off-by: Mike Sul <mykhaylo.sul@innoteka.com>
- Loading branch information
Mike Sul
committed
Feb 19, 2019
1 parent
29c3476
commit d806431
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
SUMMARY = "Enable auto reboot to apply updates" | ||
DESCRIPTION = "Configures aktualizr to auto reboot just after new updates installation in order to apply them" | ||
HOMEPAGE = "https://github.com/advancedtelematic/aktualizr" | ||
SECTION = "base" | ||
LICENSE = "MPL-2.0" | ||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad" | ||
|
||
SRC_URI = " \ | ||
file://35-enable-auto-reboot.toml \ | ||
" | ||
|
||
do_install_append () { | ||
install -m 0700 -d ${D}${libdir}/sota/conf.d | ||
install -m 0644 ${WORKDIR}/35-enable-auto-reboot.toml ${D}${libdir}/sota/conf.d/35-enable-auto-reboot.toml | ||
} | ||
|
||
FILES_${PN} = " \ | ||
${libdir}/sota/conf.d/35-enable-auto-reboot.toml \ | ||
" | ||
|
||
# vim:set ts=4 sw=4 sts=4 expandtab: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[uptane] | ||
force_install_completion = true |