firstboot: add 'UUID_BOOFS' to replace with its UUID

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Id40294fcc24e37286ef131aaea24200a56f59e53
This commit is contained in:
Dongjin Kim
2022-06-01 18:20:02 +09:00
parent f3f904e8a1
commit f2e8d5071a

View File

@@ -4,6 +4,7 @@ if [ -f /root/firstboot.sh ]; then
chmod +x /root/firstboot.sh
chown root:root /root/firstboot.sh
sed -i "s,@@UUID_BOOTFS@@,@@DEFAULT_DEV_BOOT@@,g" /root/firstboot.sh
sed -i "s,@@UUID_ROOTFS@@,@@DEFAULT_DEV_ROOTFS@@,g" /root/firstboot.sh
fi