aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-11 06:51:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-11 06:51:15 +0000
commit46719e84a19137960bf547e1813dadf87bc8aaeb (patch)
treeba7375de73ef8fa5edefcd9939cb4537a02638b0 /core
parent3fe927c19c9a49ee5fec05135d9bcf726d05c2cc (diff)
downloadaports-46719e84a19137960bf547e1813dadf87bc8aaeb.tar.bz2
aports-46719e84a19137960bf547e1813dadf87bc8aaeb.tar.xz
core/openrc: fix for hwclock stop
Diffstat (limited to 'core')
-rw-r--r--core/openrc/APKBUILD4
-rw-r--r--core/openrc/openrc-hwclock.patch13
2 files changed, 16 insertions, 1 deletions
diff --git a/core/openrc/APKBUILD b/core/openrc/APKBUILD
index f7a56e285d..089751e761 100644
--- a/core/openrc/APKBUILD
+++ b/core/openrc/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openrc
pkgver=0.5.0
-pkgrel=1
+pkgrel=2
pkgdesc="OpenRC manages the services, startup and shutdown of a host"
url="http://roy.marples.name/openrc"
license='BSD-2'
@@ -10,6 +10,7 @@ subpackages="$pkgname-doc $pkgname-dev"
install="$pkgname.post-install $pkgname.post-upgrade"
source="http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2
openrc-0.4.3-mkmntdirs.patch
+ openrc-hwclock.patch
hostname.initd
keymaps.initd
modules.initd
@@ -42,6 +43,7 @@ build() {
md5sums="9ec7f8425e12abbbd0f7a962aae3fa3c openrc-0.5.0.tar.bz2
8c2c1c2ee0509b63966b7187a2079f4b openrc-0.4.3-mkmntdirs.patch
+f462c976b04cfbb35b2335be15eee7f6 openrc-hwclock.patch
c32e15b0858eef708497e7ee6355a055 hostname.initd
33ca3e558c42cdd17adccbc7807298f7 keymaps.initd
5608e6e3d836ad01b9714e5b41d223cb modules.initd
diff --git a/core/openrc/openrc-hwclock.patch b/core/openrc/openrc-hwclock.patch
new file mode 100644
index 0000000000..593e9ba82f
--- /dev/null
+++ b/core/openrc/openrc-hwclock.patch
@@ -0,0 +1,13 @@
+Index: hwclock.in
+===================================================================
+--- a/init.d/hwclock.in (revision 1571)
++++ b/niit.d/hwclock.in (working copy)
+@@ -118,7 +118,7 @@
+
+ if ! yesno $clock_adjfile; then
+ # Some implementations don't handle adjustments
+- if LC_ALL=C hwclock --help | grep -q "\-\-noadjfile"; then
++ if LC_ALL=C hwclock --help 2>&1 | grep -q "\-\-noadjfile"; then
+ utc_cmd="$utc_cmd --noadjfile"
+ fi
+ fi