aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-27 17:52:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-27 17:52:53 +0000
commitb2ea6198bde082904f57fa9c6e6fb0650044af39 (patch)
tree3248ea7b789f807c88387bee741fe7659ea8a957 /main/openrc
parentda702bce05591e20f2d4ea840f854828b0ff74fe (diff)
downloadaports-b2ea6198bde082904f57fa9c6e6fb0650044af39.tar.bz2
aports-b2ea6198bde082904f57fa9c6e6fb0650044af39.tar.xz
main/openrc: remove warning about rc_sys not defined in rc.conf
We don't need this warning really. fixes #578
Diffstat (limited to 'main/openrc')
-rw-r--r--main/openrc/APKBUILD4
-rw-r--r--main/openrc/remove-rc_sys-warning.patch10
2 files changed, 13 insertions, 1 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD
index 311af3a17c..704776aa68 100644
--- a/main/openrc/APKBUILD
+++ b/main/openrc/APKBUILD
@@ -2,7 +2,7 @@
pkgname=openrc
pkgver=0.8.2
_ver=${pkgver/_git*/}
-pkgrel=0
+pkgrel=1
pkgdesc="OpenRC manages the services, startup and shutdown of a host"
url="http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git"
arch="all"
@@ -15,6 +15,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
hostname.initd
hwdrivers.initd
@@ -65,6 +66,7 @@ md5sums="a30f2e54f025b92fb40a0be5d464877d openrc-0.8.2.tar.bz2
8c2c1c2ee0509b63966b7187a2079f4b openrc-0.4.3-mkmntdirs.patch
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
c32e15b0858eef708497e7ee6355a055 hostname.initd
b1e64885f301166df30be3e3cf5338ff hwdrivers.initd
33ca3e558c42cdd17adccbc7807298f7 keymaps.initd
diff --git a/main/openrc/remove-rc_sys-warning.patch b/main/openrc/remove-rc_sys-warning.patch
new file mode 100644
index 0000000000..4f11674888
--- /dev/null
+++ b/main/openrc/remove-rc_sys-warning.patch
@@ -0,0 +1,10 @@
+--- ./src/rc/rc.c.orig
++++ ./src/rc/rc.c
+@@ -878,7 +878,6 @@
+ if (bootlevel)
+ printf("%s\n", bootlevel);
+ } else {
+- ewarn("WARNING: rc_sys not defined in rc.conf. Falling back to automatic detection");
+ bootlevel = rc_sys_v1();
+ if (bootlevel)
+ printf("%s\n", bootlevel);