From 27d7c91f4cbfc3e774be535855ba4b7427aa623b Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 18 Mar 2016 20:20:54 -0500 Subject: udev-openrc: clean up build --- pcr/udev-openrc/kmod-static-nodes.initd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pcr/udev-openrc/kmod-static-nodes.initd (limited to 'pcr/udev-openrc/kmod-static-nodes.initd') diff --git a/pcr/udev-openrc/kmod-static-nodes.initd b/pcr/udev-openrc/kmod-static-nodes.initd new file mode 100644 index 000000000..7a3f529dc --- /dev/null +++ b/pcr/udev-openrc/kmod-static-nodes.initd @@ -0,0 +1,19 @@ +#!/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 $? +} -- cgit v1.2.3