scripts: init.sh: Remove the btrfs balance command 21/240521/2 accepted/tizen/unified/20200812.144013 submit/tizen/20200811.023910
authorJunghoon Kim <jhoon20.kim@samsung.com>
Fri, 7 Aug 2020 05:09:34 +0000 (14:09 +0900)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Fri, 7 Aug 2020 05:24:06 +0000 (05:24 +0000)
The upgraded mic package is adopted in the public image server and it
uses the metadata single option when building the btrfs image.
Thus, remove the btrfs balance command that changes the btrfs filesystem
to single metadata because this is redundant.

Change-Id: Iaf361b0daed2f995f526ade51e9e60ad3212a201
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
scripts/init.sh

index 0479844adbfe46365f4c8fd8bd8b900be99e84c3..3b82ba298016ef8ae5b76e2d2baa6df56e0e408f 100755 (executable)
@@ -63,7 +63,6 @@ then
                if [ "$NEED_RESIZEFS" = "1" ]
                then
                        /sbin/btrfs filesystem resize max /sysroot
-                       /sbin/btrfs balance start -v -f -mconvert=single /sysroot
                fi
        else
                /usr/bin/verityctl create root $ROOTFS