From cd52c876394d49b3f77f3a606554f4067821a412 Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Thu, 15 Sep 2016 12:55:19 +0200 Subject: [PATCH] Create rootfs version indicator --- scripts/container-manager.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/container-manager.sh b/scripts/container-manager.sh index 624d83f..2fe1439 100755 --- a/scripts/container-manager.sh +++ b/scripts/container-manager.sh @@ -13,6 +13,7 @@ if [ ! -e $ROOTFS_PATH ] || [ "$ROOTFS_VERSION" != "$(cat $ROOTFS_PATH/.version) echo "Copying rootfs into $ROOTFS_PATH .." mkdir -p $ROOTFS_PATH tar xf $SNAP/android-rootfs.tar -C $ROOTFS_PATH/ --strip-components=1 + echo $ROOTFS_VERSION > $ROOTFS_PATH/.version fi # Make sure our setup path for the container rootfs