Amlogic: set boot label to ROCKNIX for users coming from JELOS
This commit is contained in:
parent
3b20b63568
commit
4699da73db
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ if [ -d $BOOT_ROOT/res ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Update system partition label to ROCKNIX
|
||||||
|
[ ! -z "$(blkid | grep JELOS)" ] && ${SYSTEM_ROOT}/usr/sbin/dosfslabel $BOOT_PART ROCKNIX
|
||||||
|
|
||||||
# mount $BOOT_ROOT ro
|
# mount $BOOT_ROOT ro
|
||||||
sync
|
sync
|
||||||
mount -o remount,ro $BOOT_ROOT
|
mount -o remount,ro $BOOT_ROOT
|
||||||
|
|
Loading…
Reference in a new issue