Debian: updated postinstall script

This commit is contained in:
Sergii Pylypenko
2019-12-31 20:36:29 +02:00
parent ae4e375c8e
commit 1aaf5fecb8
5 changed files with 19 additions and 29 deletions

View File

@@ -9,5 +9,15 @@ cd $SECURE_STORAGE_DIR
echo "Extracting overlay data files"
./busybox tar xvJf $DATADIR/overlay.tar.xz
cd $SECURE_STORAGE_DIR/img
echo "Installation path: $SECURE_STORAGE_DIR/img"
./postinstall.sh
rm -f ./postinstall-img.sh ./proot.sh
ln -s ../usr/bin/postinstall-img.sh .
ln -s ../usr/bin/proot.sh .
ls -l .
echo "Running postinstall-img.sh:"
./postinstall-img.sh