mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
mkinitcpio: don't warn about re-fsck
This commit is contained in:
parent
bfabe223f0
commit
5da2aa4ec0
2 changed files with 23 additions and 1 deletions
22
srcpkgs/mkinitcpio/patches/quiet-rw-fsck.patch
Normal file
22
srcpkgs/mkinitcpio/patches/quiet-rw-fsck.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
void does not have this logic, so the message is useless
|
||||||
|
|
||||||
|
--- a/init_functions
|
||||||
|
+++ b/init_functions
|
||||||
|
@@ -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
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mkinitcpio'
|
# Template file for 'mkinitcpio'
|
||||||
pkgname=mkinitcpio
|
pkgname=mkinitcpio
|
||||||
version=39.2
|
version=39.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="asciidoc"
|
hostmakedepends="asciidoc"
|
||||||
depends="busybox-static bsdtar bash zstd"
|
depends="busybox-static bsdtar bash zstd"
|
||||||
|
|
Loading…
Add table
Reference in a new issue