Skip to content

Commit

Permalink
automated: linux: fix registration in aklite interrupt
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mwasilew authored and roxell committed Apr 25, 2024
1 parent 723fba8 commit 2a6475c
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -66,8 +66,7 @@ find /sysroot/ostree/repo/ -samefile $(find /usr/ -name "*vmlinuz*") -delete
set +x

# run autoregistration script
lmp-device-auto-register
check_return "lmp-device-auto-register" || error_fatal "Unable to register device"
systemctl enable --now lmp-device-auto-register || error_fatal "Unable to register device"

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

0 comments on commit 2a6475c

Please sign in to comment.