adding files to git
[eostre.git] / files / .patches / fix-panic-on-readonly-root.patch
CommitLineData
1c66ee26 1Fixes runit base scripts to continue with the boot process, even if root is read-only
2*** /etc/runit/core-services/03-filesystems.sh 2020-02-05 16:28:31.065027149 +0000
3--- /etc/runit/core-services/03-filesystems.sh.orig 2020-02-05 16:27:27.696130689 +0000
4***************
5*** 64,70 ****
6 fi
7
8 msg "Mounting rootfs read-write..."
9! mount -o remount,rw / || msg "Mounting root read-write failed, continuing with boot"
10
11 msg "Mounting all non-network filesystems..."
12 mount -a -t "nosysfs,nonfs,nonfs4,nosmbfs,nocifs" -O no_netdev || emergency_shell
13--- 64,70 ----
14 fi
15
16 msg "Mounting rootfs read-write..."
17! mount -o remount,rw / || emergency_shell
18
19 msg "Mounting all non-network filesystems..."
20 mount -a -t "nosysfs,nonfs,nonfs4,nosmbfs,nocifs" -O no_netdev || emergency_shell