Skip to content

Commit eadab1b

Browse files
mwasilewroxell
authored andcommitted
automated: linux: factory-reset: fix device registration
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>
1 parent 4859e13 commit eadab1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

automated/linux/factory-reset/prepare-reset.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ chmod 755 /var/sota/aklite-callback.sh
5050
mkdir -p /etc/sota/conf.d
5151
cp z-99-aklite-callback.toml /etc/sota/conf.d/
5252
if [ -n "${LABEL}" ]; then
53-
echo "tags = \"${LABEL}\"" >> /etc/sota/conf.d/z-99-aklite-callback.toml
53+
echo "${LABEL}" >> /etc/sota/tag
5454
fi
5555
# create signal files
5656
touch /var/sota/ota.signal

0 commit comments

Comments
 (0)