Add properly resize root file system for NVMe

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ieea3864fb622749ddaeb8d12028638d773eb7bc6
This commit is contained in:
Dongjin Kim
2022-01-11 13:36:53 +09:00
parent 44ac27ba0e
commit f609920320

View File

@@ -8,7 +8,8 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
rootdev=`blkid -U @@UUID_ROOTFS@@`
case ${rootdev} in
/dev/mmcblk*) dev=${rootdev%??} ;;
/dev/mmcblk* | /dev/nvme*)
dev=${rootdev%??} ;;
*) dev=${rootdev%?} ;;
esac