Skip to content

Commit

Permalink
Should take a snapshot before the bootstrapping happens
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-psi authored Jan 9, 2022
1 parent e6d9675 commit defef6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/odysseyra1n
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ else
fi
mount -o rw,union,update /dev/disk0s1s1
rm -rf /etc/{alternatives,apt,ssl,ssh,dpkg,profile{,.d}} /Library/dpkg /var/{cache,lib}
tar --preserve-permissions -xkf bootstrap_${CFVER}.tar -C /
SNAPSHOT=$(snappy -s | cut -d ' ' -f 3 | tr -d '\n')
snappy -f / -r "$SNAPSHOT" -t orig-fs > /dev/null 2>&1
tar --preserve-permissions -xkf bootstrap_${CFVER}.tar -C /
/prep_bootstrap.sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
if [[ $VER = 12.1* ]] || [[ $VER = 12.0* ]]; then
Expand Down Expand Up @@ -112,4 +112,4 @@ else
sub_info_echo "It is recommended that you update everything in Sileo."
fi

enter_to_quit
enter_to_quit

0 comments on commit defef6b

Please sign in to comment.