From 4d2019094eb95a57488b7b33039d8186f3c36140 Mon Sep 17 00:00:00 2001 From: Mateusz Moscicki Date: Wed, 15 May 2024 16:09:41 +0200 Subject: [PATCH] Run offline-update.target in ramdisk-recovery The system-update.target is a common part of offline and online upgrade. Change-Id: I253b80ffc3a350c76f5e511803e2e898eb64f461 --- src/bootmode-fota/fota-init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bootmode-fota/fota-init.sh b/src/bootmode-fota/fota-init.sh index 14e25b4..038a634 100755 --- a/src/bootmode-fota/fota-init.sh +++ b/src/bootmode-fota/fota-init.sh @@ -172,10 +172,10 @@ do_rw_update() { echo "Change into rw update mode" >> ${INT_LOG_FILE} /sbin/progress_restart RW & - # Go to system-update.target + # Go to offline-update.target if [ $$ = 1 ]; then cd ${FAKE_ROOT} - exec /bin/chroot . /usr/lib/systemd/systemd --unit=system-update.target $@ + exec /bin/chroot . /usr/lib/systemd/systemd --unit=offline-update.target $@ fi do_reboot } -- 2.7.4