summaryrefslogtreecommitdiff
path: root/pcr/eudev-openrc
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-09-26 16:20:18 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-09-26 16:20:18 -0500
commit347f173865c1ce74ac23042c502d2e3b357f0112 (patch)
tree040f407aa1e650a11140c9d76e68c8fcce996552 /pcr/eudev-openrc
parent790f01ce966851fc438db5b18583f5cc6a778a75 (diff)
downloadabslibre-347f173865c1ce74ac23042c502d2e3b357f0112.tar.gz
abslibre-347f173865c1ce74ac23042c502d2e3b357f0112.tar.bz2
abslibre-347f173865c1ce74ac23042c502d2e3b357f0112.zip
eudev-openrc-32-4.1: rebuild
Diffstat (limited to 'pcr/eudev-openrc')
-rw-r--r--pcr/eudev-openrc/PKGBUILD22
-rw-r--r--pcr/eudev-openrc/kmod-static-nodes.initd19
2 files changed, 8 insertions, 33 deletions
diff --git a/pcr/eudev-openrc/PKGBUILD b/pcr/eudev-openrc/PKGBUILD
index 0cf02fe38..af6f1c16c 100644
--- a/pcr/eudev-openrc/PKGBUILD
+++ b/pcr/eudev-openrc/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer (Artix): artoo <artoo@manjaro.org>
+# Maintainer (Artix): artoo <artoo@cromnix.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
_url="http://dev.gentoo.org/~williamh/dist"
@@ -9,34 +9,28 @@ _sed_args+=(-e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|g')
pkgname=eudev-openrc
pkgver=32
-pkgrel=4
+pkgrel=4.1
pkgdesc="OpenRC eudev startup scripts"
arch=('any')
-url="https://github.com/manjaro/packages-openrc"
+url="https://github.com/cromnix/artix"
license=('GPL2')
groups=('openrc-base')
provides=('udev-openrc')
depends=('openrc' 'eudev')
-conflicts=('systemd-sysvcompat' 'udev-openrc')
+conflicts=('systemd-sysvcompat' 'kmod-openrc' 'udev-openrc')
replaces=('udev-openrc')
-source=("${_url}/${_pkgname}-${pkgver}.tar.gz"
- "kmod-static-nodes.initd")
-sha256sums=('d5ae437291ae140194f67fec2c9a6ceeda39708433840e7b4b0361cc5ae53eaa'
- '3ecbe7761b92a123a5a3d395ec3d9e090b0dfba7910a5987b4a2298c20a7e571')
+source=("${_url}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('d5ae437291ae140194f67fec2c9a6ceeda39708433840e7b4b0361cc5ae53eaa')
package(){
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
+
for f in ${pkgdir}/etc/init.d/*;do
sed ${_sed_args[@]} -i "$f"
done
- install -d "${pkgdir}/etc/runlevels/sysinit"
+ install -d "${pkgdir}/etc/runlevels/sysinit"
ln -sf "/etc/init.d/udev" "${pkgdir}/etc/runlevels/sysinit/udev"
ln -sf "/etc/init.d/udev-trigger" "${pkgdir}/etc/runlevels/sysinit/udev-trigger"
-
- # kmod-static-nodes
- install -Dm755 ${srcdir}/kmod-static-nodes.initd ${pkgdir}/etc/init.d/kmod-static-nodes
-
- ln -sf "/etc/init.d/kmod-static-nodes" "${pkgdir}/etc/runlevels/sysinit/kmod-static-nodes"
}
diff --git a/pcr/eudev-openrc/kmod-static-nodes.initd b/pcr/eudev-openrc/kmod-static-nodes.initd
deleted file mode 100644
index 7a3f529dc..000000000
--- a/pcr/eudev-openrc/kmod-static-nodes.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-description="Create list of required static device nodes for the current kernel"
-
-depend() {
- after dev-mount
- before tmpfiles.dev dev
- keyword -lxc -systemd-nspawn
-}
-
-start() {
- ebegin "Creating list of required static device nodes for the current kernel"
- checkpath -q -d /run/tmpfiles.d
- kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
- eend $?
-}