Change /dev/mapper/root to /dev/mapper/rootfs 97/258197/2
authorINSUN PYO <insun.pyo@samsung.com>
Wed, 12 May 2021 05:58:15 +0000 (14:58 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Wed, 12 May 2021 07:14:34 +0000 (16:14 +0900)
Change-Id: Ibe6ce32efe242d3ba23b5e804b236dbbf722023e

scripts/init.sh
scripts/verityctl

index 0e39073374fb353ca055df0b35e4d4e41c93ec72..0f03a0ba8337ae8eae8e5e4d39cf401818c5a546 100755 (executable)
@@ -118,7 +118,7 @@ function process_rootfs()
     fi
 
     # veirfy boot
-    /usr/bin/verityctl create root $ROOTFS
+    /usr/bin/verityctl create rootfs $ROOTFS
     if [ $? == 0 ]; then return; fi
 
     # ext4 partion
index 6a84388f6711705386082f08fd59d838da4add0b..11a3ae578a405ba2ff00fe723c0e8210b717b59c 100755 (executable)
@@ -198,7 +198,7 @@ get_mode()
 
 disable()
 {
-       NAME=root
+       NAME=rootfs
 
        VERITY_BOOT=`/sbin/veritysetup status $NAME | grep "is active and is in use"`
        if [ -z "$VERITY_BOOT" ]