Skip to content

Commit

Permalink
automated: linux: factory-reset: fix device registration
Browse files Browse the repository at this point in the history
Enable proper auto-registration with tag. Note: this patch requires
support in the lmp-device-auto-register script. Example support is
presented in this pull request:
foundriesio/meta-lmp#1227

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@foundries.io>
  • Loading branch information
mwasilew authored and roxell committed Jul 13, 2023
1 parent 4859e13 commit eadab1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automated/linux/factory-reset/prepare-reset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ chmod 755 /var/sota/aklite-callback.sh
mkdir -p /etc/sota/conf.d
cp z-99-aklite-callback.toml /etc/sota/conf.d/
if [ -n "${LABEL}" ]; then
echo "tags = \"${LABEL}\"" >> /etc/sota/conf.d/z-99-aklite-callback.toml
echo "${LABEL}" >> /etc/sota/tag
fi
# create signal files
touch /var/sota/ota.signal
Expand Down

0 comments on commit eadab1b

Please sign in to comment.