]> Frank Brehm's Git Trees - config/helga/etc.git/commitdiff
committing changes in /etc after emerge run
authorroot <root@helga.brehm-online.com>
Mon, 15 May 2017 13:03:38 +0000 (15:03 +0200)
committerroot <root@helga.brehm-online.com>
Mon, 15 May 2017 13:03:38 +0000 (15:03 +0200)
Package changes:
+sys-apps/opentmpfiles-0.1.3

.etckeeper
conf.d/opentmpfiles-dev [new file with mode: 0644]
conf.d/opentmpfiles-setup [new file with mode: 0644]
init.d/opentmpfiles-dev [new file with mode: 0755]
init.d/opentmpfiles-setup [new file with mode: 0755]

index 0f4b9027db9c29ca795e2daf6b9aab746d3f90b3..64d858ecdd804f719fa9119d6f3a09adef010069 100755 (executable)
@@ -448,6 +448,8 @@ maybe chmod 0644 'conf.d/netmount'
 maybe chmod 0644 'conf.d/network'
 maybe chmod 0644 'conf.d/ntp-client'
 maybe chmod 0644 'conf.d/ntpd'
+maybe chmod 0644 'conf.d/opentmpfiles-dev'
+maybe chmod 0644 'conf.d/opentmpfiles-setup'
 maybe chmod 0644 'conf.d/openvpn'
 maybe chmod 0644 'conf.d/pciparm'
 maybe chmod 0644 'conf.d/php-fpm'
@@ -1707,6 +1709,8 @@ maybe chmod 0755 'init.d/nrpe'
 maybe chmod 0755 'init.d/ntp-client'
 maybe chmod 0755 'init.d/ntpd'
 maybe chmod 0755 'init.d/numlock'
+maybe chmod 0755 'init.d/opentmpfiles-dev'
+maybe chmod 0755 'init.d/opentmpfiles-setup'
 maybe chmod 0755 'init.d/openvpn'
 maybe chmod 0755 'init.d/osclock'
 maybe chmod 0755 'init.d/pciparm'
diff --git a/conf.d/opentmpfiles-dev b/conf.d/opentmpfiles-dev
new file mode 100644 (file)
index 0000000..86558d4
--- /dev/null
@@ -0,0 +1,2 @@
+# Extra options to pass to tmpfiles
+#tmpfiles_opts=""
diff --git a/conf.d/opentmpfiles-setup b/conf.d/opentmpfiles-setup
new file mode 100644 (file)
index 0000000..86558d4
--- /dev/null
@@ -0,0 +1,2 @@
+# Extra options to pass to tmpfiles
+#tmpfiles_opts=""
diff --git a/init.d/opentmpfiles-dev b/init.d/opentmpfiles-dev
new file mode 100755 (executable)
index 0000000..96bf719
--- /dev/null
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+# Copyright 1999-2012 Gentoo Foundation
+# Released under the 2-clause BSD license.
+
+description="Set up tmpfiles.d entries for /dev"
+
+depend()
+{
+       provide tmpfiles-dev tmpfiles.dev
+       use dev-mount
+       before dev
+       keyword -prefix -vserver
+}
+
+start()
+{
+       ebegin "Setting up tmpfiles.d entries for /dev"
+       tmpfiles --prefix=/dev --create --boot ${tmpfiles_opts}
+       eend $?
+}
diff --git a/init.d/opentmpfiles-setup b/init.d/opentmpfiles-setup
new file mode 100755 (executable)
index 0000000..15b0f85
--- /dev/null
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2012 Gentoo Foundation
+# Released under the 2-clause BSD license.
+
+description="Set up tmpfiles.d entries"
+
+depend()
+{
+       provide tmpfiles-setup tmpfiles.setup
+       need localmount
+}
+
+start()
+{
+       ebegin "Setting up tmpfiles.d entries"
+       tmpfiles --exclude-prefix=/dev --create --remove --boot \
+               ${tmpfiles_opts}
+       eend $?
+}