Amlogic: set boot label to ROCKNIX for users coming from JELOS

This commit is contained in:
spycat88 2024-04-08 21:06:41 +01:00
parent 3b20b63568
commit 4699da73db

View file

@ -76,6 +76,9 @@ if [ -d $BOOT_ROOT/res ]; then
fi
fi
# Update system partition label to ROCKNIX
[ ! -z "$(blkid | grep JELOS)" ] && ${SYSTEM_ROOT}/usr/sbin/dosfslabel $BOOT_PART ROCKNIX
# mount $BOOT_ROOT ro
sync
mount -o remount,ro $BOOT_ROOT