From 1bdafe0a957f35abd5fc61366058934b12a7d6db Mon Sep 17 00:00:00 2001 From: hasufell Date: Thu, 24 Sep 2015 13:54:26 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- init.d/._cfg0000_kmod-static-nodes | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 init.d/._cfg0000_kmod-static-nodes diff --git a/init.d/._cfg0000_kmod-static-nodes b/init.d/._cfg0000_kmod-static-nodes new file mode 100755 index 0000000..379cbb1 --- /dev/null +++ b/init.d/._cfg0000_kmod-static-nodes @@ -0,0 +1,19 @@ +#!/sbin/runscript +# 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 $? +}