diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-05-03 02:52:15 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-05-03 02:52:15 -0500 |
commit | 56cd800e13933fce3cd7fd438d599d35659e63cb (patch) | |
tree | 8881e52cb53150048fa38fa736ff5e81ccc57ca3 /main/openrc | |
parent | 76739e96e382f6d406c7bca40331dac6eb66b216 (diff) | |
download | aports-56cd800e13933fce3cd7fd438d599d35659e63cb.tar.bz2 aports-56cd800e13933fce3cd7fd438d599d35659e63cb.tar.xz |
main/openrc: assume clock_hctosys is YES
fix #620
Diffstat (limited to 'main/openrc')
-rw-r--r-- | main/openrc/APKBUILD | 4 | ||||
-rw-r--r-- | main/openrc/hwclock-hctosys.patch | 15 |
2 files changed, 18 insertions, 1 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD index 704776aa68..812542cd1e 100644 --- a/main/openrc/APKBUILD +++ b/main/openrc/APKBUILD @@ -2,7 +2,7 @@ pkgname=openrc pkgver=0.8.2 _ver=${pkgver/_git*/} -pkgrel=1 +pkgrel=2 pkgdesc="OpenRC manages the services, startup and shutdown of a host" url="http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git" arch="all" @@ -16,6 +16,7 @@ source="http://distfiles.gentoo.org/distfiles/$pkgname-$_ver.tar.bz2 0001-Force-root-be-rw-before-localmount.patch 0001-fsck-add-C0-and-T-options-unless-fsck-is-busybox.patch remove-rc_sys-warning.patch + hwclock-hctosys.patch hostname.initd hwdrivers.initd @@ -67,6 +68,7 @@ md5sums="a30f2e54f025b92fb40a0be5d464877d openrc-0.8.2.tar.bz2 4fd036ff07ed9ad7fb76af6a3ffc0695 0001-Force-root-be-rw-before-localmount.patch fb8baeaf32f4d53491312675f28a9939 0001-fsck-add-C0-and-T-options-unless-fsck-is-busybox.patch 2a1749ee829877d80c3696eade59be8a remove-rc_sys-warning.patch +95927c85beb1476bda46ab8933c5e780 hwclock-hctosys.patch c32e15b0858eef708497e7ee6355a055 hostname.initd b1e64885f301166df30be3e3cf5338ff hwdrivers.initd 33ca3e558c42cdd17adccbc7807298f7 keymaps.initd diff --git a/main/openrc/hwclock-hctosys.patch b/main/openrc/hwclock-hctosys.patch new file mode 100644 index 0000000000..6616a9990f --- /dev/null +++ b/main/openrc/hwclock-hctosys.patch @@ -0,0 +1,15 @@ +--- openrc-0.8.2.orig/init.d/hwclock.in ++++ openrc-0.8.2/init.d/hwclock.in +@@ -94,11 +94,7 @@ + "$utc_cmd" != --utc -o \ + -n "$clock_args" ]; + then +- if yesno $clock_hctosys; then +- _hwclock --hctosys $utc_cmd $clock_args +- else +- _hwclock --systz $utc_cmd $clock_args +- fi ++ _hwclock --hctosys $utc_cmd $clock_args + retval=$(($retval + $?)) + fi + |