jobcore/mkinitcpio/remove_fsck_warning.patch
2024-05-29 17:34:07 +03:00

21 lines
1 KiB
Diff

diff -Nuar --unified --recursive --text --color a/mkinitcpio-39.1/init_functions b/mkinitcpio-39.1/init_functions
--- a/mkinitcpio-39.1/init_functions 2024-05-14 16:09:00.096149938 +1100
+++ b/mkinitcpio-39.1/init_functions 2024-05-14 16:12:22.287178910 +1100
@@ -350,17 +350,6 @@
elif bitfield_has_bit "$fsckret" 128; then
err "fatal error invoking fsck"
fi
-
- # ensure that root is going to be mounted rw. Otherwise, systemd
- # might fsck the device again. Annoy the user so that they fix this.
- if [ "${rwopt:-ro}" != 'rw' ]; then
- echo "********************** WARNING **********************"
- echo "* *"
- echo "* The root device is not configured to be mounted *"
- echo "* read-write! It may be fsck'd again later. *"
- echo "* *"
- echo "*****************************************************"
- fi
fi
}