Fix permissions of extracted rootfs content
This commit is contained in:
parent
7d9330f205
commit
32a5eaca69
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
chown -R root:root $ROOTFS_PATH
|
||||
echo $ROOTFS_VERSION > $ROOTFS_PATH/.version
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue