summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-04 14:43:06 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-04 14:43:06 -0500
commit749a48680a31a1e987869ffa584f293b62a46dc1 (patch)
tree82e8bbb5a9d86d37855a2230b0c0e6059a84af64 /pcr
parent024d59ee5b3a316d0b9431f662f908b55bd350f3 (diff)
downloadabslibre-749a48680a31a1e987869ffa584f293b62a46dc1.tar.gz
abslibre-749a48680a31a1e987869ffa584f293b62a46dc1.tar.bz2
abslibre-749a48680a31a1e987869ffa584f293b62a46dc1.zip
Removing udev-openrc
Diffstat (limited to 'pcr')
-rw-r--r--pcr/udev-openrc/PKGBUILD39
-rw-r--r--pcr/udev-openrc/kmod-static-nodes.initd19
2 files changed, 0 insertions, 58 deletions
diff --git a/pcr/udev-openrc/PKGBUILD b/pcr/udev-openrc/PKGBUILD
deleted file mode 100644
index 6a5c389d3..000000000
--- a/pcr/udev-openrc/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Maintainer (Manjaro): artoo <artoo@manjaro.org>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-
-_url="http://dev.gentoo.org/~williamh/dist"
-_pkgname=udev-init-scripts
-
-pkgname=udev-openrc
-pkgver=32
-pkgrel=2.1
-pkgdesc="OpenRC udev startup scripts"
-arch=('any')
-url="https://github.com/manjaro/packages-openrc"
-license=('GPL2')
-groups=('openrc-base' 'openrc-desktop')
-depends=('openrc' 'udev')
-conflicts=('systemd-sysvcompat')
-source=("${_url}/${_pkgname}-${pkgver}.tar.gz"
- "kmod-static-nodes.initd")
-sha256sums=('d5ae437291ae140194f67fec2c9a6ceeda39708433840e7b4b0361cc5ae53eaa'
- '2cf6eda7e4c4593c286feba0cbc278b8cc463debaa48e10326180b0ab54fd5dd')
-
-package(){
- cd "${srcdir}/${_pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- for f in ${pkgdir}/etc/init.d/*;do
- sed -e "s|/bin/udevadm|/usr/bin/udevadm|g" \
- -e "s|/sbin/udevd|/usr/bin/udevd|g" \
- -i "$f"
- done
- 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/udev-openrc/kmod-static-nodes.initd b/pcr/udev-openrc/kmod-static-nodes.initd
deleted file mode 100644
index c3eeb2aeb..000000000
--- a/pcr/udev-openrc/kmod-static-nodes.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/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 $?
-}