summaryrefslogtreecommitdiff
path: root/system/openrc/hwclock-grep.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/openrc/hwclock-grep.patch')
-rw-r--r--system/openrc/hwclock-grep.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/openrc/hwclock-grep.patch b/system/openrc/hwclock-grep.patch
new file mode 100644
index 000000000..2d25a486a
--- /dev/null
+++ b/system/openrc/hwclock-grep.patch
@@ -0,0 +1,15 @@
+Silence warning about pattern.
+
+Ref: https://git.adelielinux.org/adelie/packages/-/issues/1046
+
+--- openrc-0.24.1/init.d/hwclock.in.old 2017-03-14 19:58:26.000000000 -0500
++++ openrc-0.24.1/init.d/hwclock.in 2023-10-02 01:02:49.249806693 -0500
+@@ -75,7 +75,7 @@
+ {
+ if ! yesno $clock_adjfile; then
+ # Some implementations don't handle adjustments
+- if LC_ALL=C hwclock --help 2>&1 | grep -q "\-\-noadjfile"; then
++ if LC_ALL=C hwclock --help 2>&1 | grep -q "\--noadjfile"; then
+ echo --noadjfile
+ fi
+ fi