Skip to content

Commit 2a6475c

Browse files
mwasilewroxell
authored andcommitted
automated: linux: fix registration in aklite interrupt
This patch fixes call to lmp-device-auto-register in aklite-download-interupt tests. The script has to be called from systemd service which sets up proper variables. Signed-off-by: Milosz Wasilewski <milosz.wasilewski@foundries.io>
1 parent 723fba8 commit 2a6475c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

automated/linux/aklite-download-interrupt/aklite-download-interrupt.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ find /sysroot/ostree/repo/ -samefile $(find /usr/ -name "*vmlinuz*") -delete
6666
set +x
6767

6868
# run autoregistration script
69-
lmp-device-auto-register
70-
check_return "lmp-device-auto-register" || error_fatal "Unable to register device"
69+
systemctl enable --now lmp-device-auto-register || error_fatal "Unable to register device"
7170

7271
# wait for 'download-pre' signal
7372
SIGNAL=$(</var/sota/ota.signal)

0 commit comments

Comments
 (0)