summaryrefslogtreecommitdiffstats
path: root/main/openrc/remove-e2fsck-specific-options.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-12 09:44:39 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-12 09:45:55 -0600
commit15991cd4f98076514aa7483da26f78f5a52e6c2f (patch)
tree8774499eef289bcf9ab6bda96642cfdd151988bd /main/openrc/remove-e2fsck-specific-options.patch
parent662da2d5e96b11d4ed090e5ae9415b78feb953be (diff)
downloadaports-15991cd4f98076514aa7483da26f78f5a52e6c2f.tar.bz2
aports-15991cd4f98076514aa7483da26f78f5a52e6c2f.tar.xz
main/openrc: remove e2fsck-specific options
It seems that normal util-linux fsck somehow strips these options when not launching e2fsck. busybox, however, does not, so these options must go away.
Diffstat (limited to 'main/openrc/remove-e2fsck-specific-options.patch')
-rw-r--r--main/openrc/remove-e2fsck-specific-options.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/openrc/remove-e2fsck-specific-options.patch b/main/openrc/remove-e2fsck-specific-options.patch
new file mode 100644
index 000000000..45dcadd2e
--- /dev/null
+++ b/main/openrc/remove-e2fsck-specific-options.patch
@@ -0,0 +1,10 @@
+--- openrc-0.6.1.orig/init.d/fsck.in
++++ openrc-0.6.1/init.d/fsck.in
+@@ -60,7 +60,6 @@
+ done
+
+ if [ "$RC_UNAME" = Linux ]; then
+- fsck_opts="$fsck_opts -C0 -T"
+ if [ -z "$fsck_passno" ]; then
+ fsck_args=${fsck_args--A -p}
+ if echo 2>/dev/null >/.test.$$; then