summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/openrc/PKGBUILD17
-rw-r--r--pcr/openrc/quiet.patch33
2 files changed, 43 insertions, 7 deletions
diff --git a/pcr/openrc/PKGBUILD b/pcr/openrc/PKGBUILD
index 99e9636c2..49e6e201d 100644
--- a/pcr/openrc/PKGBUILD
+++ b/pcr/openrc/PKGBUILD
@@ -1,12 +1,12 @@
-# Maintainer (Manjaro): artoo <artoo@manjaro.org>
-# Contributor (Manjaro): williamh <williamh@gentoo.org>
+# Maintainer (Artix): artoo <artoo@manjaro.org>
+# Contributor (Artix): williamh <williamh@gentoo.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
_url="https://github.com/OpenRC/openrc/archive"
pkgname=openrc
-pkgver=0.28
-pkgrel=1.parabola2
+pkgver=0.31.2
+pkgrel=1.parabola1
pkgdesc="Gentoo's universal init system"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.gentoo.org/proj/en/base/openrc/"
@@ -27,11 +27,13 @@ options=('!emptydirs')
source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgver}.tar.gz"
"${pkgname}.logrotate"
'openrc-install.hook'
- 'openrc-remove.hook')
-sha256sums=('9548b03ffc164f75887d810469f0535a16c5c8c2e615e250d5753a16e66cf317'
+ 'openrc-remove.hook'
+ 'quiet.patch')
+sha256sums=('6865733e8abeced128537937587e1cecc233227dea4b760c92f3ed6b980341f6'
'0b44210db9770588bd491cd6c0ac9412d99124c6be4c9d3f7d31ec8746072f5c'
'1d4d31a7275660e7b23778e6fceb0714cab8ed2793b04aa004b01d8e7bcd43bd'
- 'cbb4d00262a55a508114cb31e3903350be2cff748a4fb5e120dc745292e3987e')
+ 'cbb4d00262a55a508114cb31e3903350be2cff748a4fb5e120dc745292e3987e'
+ 'ca3e1cf4bb07f07a1eff005c90a8b660a38a56b7f8d6f1471018ab49b6809444')
_args=(
SYSCONFDIR=/etc
@@ -50,6 +52,7 @@ prepare(){
cd "${srcdir}/${pkgname}-${pkgver}"
sed -e "s|/sbin|/usr/bin|g" -i support/sysvinit/inittab
sed -i 's:0444:0644:' mk/sys.mk
+ patch -Np1 -i "${srcdir}"/quiet.patch
}
build(){
diff --git a/pcr/openrc/quiet.patch b/pcr/openrc/quiet.patch
new file mode 100644
index 000000000..549bedf94
--- /dev/null
+++ b/pcr/openrc/quiet.patch
@@ -0,0 +1,33 @@
+From 26e8ec86695efd53d39bc54b7f8b9d7c5ab4111c Mon Sep 17 00:00:00 2001
+From: Chris Cromer <chris@cromer.cl>
+Date: Thu, 22 Jun 2017 19:52:04 -0400
+Subject: [PATCH] make agetty quiet
+
+---
+ conf.d/agetty | 3 +++
+ init.d/agetty.in | 1 +
+ 2 files changed, 4 insertions(+)
+
+diff --git a/conf.d/agetty b/conf.d/agetty
+index 527ce4c2..5cfb5817 100644
+--- a/conf.d/agetty
++++ b/conf.d/agetty
+@@ -6,3 +6,6 @@
+
+ # extra options to pass to agetty for this port
+ #agetty_options=""
++
++# make agetty quiet
++#quiet="no"
+diff --git a/init.d/agetty.in b/init.d/agetty.in
+index f6cc12da..390b1317 100644
+--- a/init.d/agetty.in
++++ b/init.d/agetty.in
+@@ -16,6 +16,7 @@ term_type="${term_type:-linux}"
+ command=/sbin/agetty
+ command_args_foreground="${agetty_options} ${port} ${baud} ${term_type}"
+ pidfile="/run/${RC_SVCNAME}.pid"
++export EINFO_QUIET="${quiet:-yes}"
+
+ depend() {
+ after local