Update rauc 1.4 to fix mounted boot partition issue (#809)
* Update rauc 1.4 to fix mounted boot partition issue * applay update * fix characters * fix CI * Support old format * fix mcopy prefix * fix lint * fix lint * clean style * Fix script * fix syntax * Support all system * fix shell * Fix script
This commit is contained in:
@@ -34,7 +34,7 @@ function create_ota_update() {
|
||||
echo "filename=hook"
|
||||
echo "[image.boot]"
|
||||
echo "filename=boot.vfat"
|
||||
echo "hooks=pre-install;post-install"
|
||||
echo "hooks=install"
|
||||
echo "[image.kernel]"
|
||||
echo "filename=kernel.ext4"
|
||||
echo "[image.rootfs]"
|
||||
|
||||
@@ -4,15 +4,11 @@ set -e
|
||||
function _create_rauc_header() {
|
||||
(
|
||||
echo "[system]"
|
||||
echo "compatible=$(hassos_rauc_compatible)"
|
||||
echo "compatible=$(hassos_rauc_compatible)"
|
||||
echo "mountprefix=/run/rauc"
|
||||
echo "statusfile=/mnt/data/rauc.db"
|
||||
echo "bootloader=${BOOTLOADER}"
|
||||
|
||||
echo "[handlers]"
|
||||
echo "pre-install=/usr/lib/rauc/pre-install"
|
||||
echo "post-install=/usr/lib/rauc/post-install"
|
||||
|
||||
echo "[keyring]"
|
||||
echo "path=/etc/rauc/keyring.pem"
|
||||
) > "${TARGET_DIR}/etc/rauc/system.conf"
|
||||
@@ -24,6 +20,7 @@ function _write_rauc_boot() {
|
||||
echo "[slot.boot.0]"
|
||||
echo "device=/dev/disk/by-partlabel/hassos-boot"
|
||||
echo "type=vfat"
|
||||
echo "allow-mounted=true"
|
||||
) >> "${TARGET_DIR}/etc/rauc/system.conf"
|
||||
|
||||
# SPL
|
||||
|
||||
Reference in New Issue
Block a user