saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
hasufell 2015-09-24 13:54:26 +02:00 committed by Hans Wurst
parent f41f5873b3
commit 1bdafe0a95
1 changed files with 19 additions and 0 deletions

View File

@ -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 $?
}