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 <[email protected]>
  • Loading branch information
mwasilew committed Apr 25, 2024
1 parent 723fba8 commit ec4f498
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
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 ec4f498

Please sign in to comment.