Skip to content

Commit

Permalink
remount boot partition
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Jan 1, 2020
1 parent 3e80592 commit 4664401
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addon_files/patcher/bin/patcher-patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ echo "apply $1"

echo "remount rw /"
mount -o remount,rw /
echo "remount rw /mnt/boot_par"
mount -o remount,rw /mnt/boot_par

cat $PATCH | grep "+++ " | sed "s/+++ \(.*\)/\1/g" | while read -r line ; do
if [ -f "${line}.orig" ]; then
Expand All @@ -31,6 +33,8 @@ else
patch -p0 -i $PATCH && touch /etc/patcher-patched && echo $1 >> $APPLIED
fi

echo "remount ro /mnt/boot_par"
mount -o remount,ro /mnt/boot_par
echo "remount ro /"
mount -o remount,ro /

Expand Down

0 comments on commit 4664401

Please sign in to comment.