-
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.
Merge pull request #486 from advancedtelematic/feat/OTA-2135/auto-reboot
OTA-2135: Aktualizr's config and recipe to auto reboot just after update
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
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
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 |