[arch-commits] Commit in filesystem/trunk (PKGBUILD)

Sébastien Luttringer seblu at archlinux.org
Thu Aug 31 00:19:30 UTC 2017


    Date: Thursday, August 31, 2017 @ 00:19:29
  Author: seblu
Revision: 304369

Add tmpfiles suggested in FS#52781

Modified:
  filesystem/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-30 23:50:11 UTC (rev 304368)
+++ PKGBUILD	2017-08-31 00:19:29 UTC (rev 304369)
@@ -14,11 +14,12 @@
 depends=('iana-etc')
 backup=('etc/fstab' 'etc/crypttab' 'etc/group' 'etc/hosts' 'etc/ld.so.conf'
         'etc/passwd' 'etc/shadow' 'etc/gshadow' 'etc/resolv.conf' 'etc/motd'
-    'etc/nsswitch.conf' 'etc/shells' 'etc/host.conf' 'etc/securetty'
-    'etc/profile' 'etc/issue')
+        'etc/nsswitch.conf' 'etc/shells' 'etc/host.conf' 'etc/securetty'
+        'etc/profile' 'etc/issue')
 source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf'
         'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'os-release'
-    'resolv.conf' 'shells' 'gshadow' 'profile' 'locale.sh' 'sysusers')
+        'resolv.conf' 'shells' 'gshadow' 'profile' 'locale.sh' 'sysusers'
+        'tmpfiles')
 md5sums=('7fed1e1fb855e41a6d64d41f8521d69a'
          '7813c481156f6b280a3ba91fc6236368'
          '44851ecc062ba34a4c024b6f3246c48f'
@@ -37,7 +38,8 @@
          '1c1e3b08acfa286f4b417c49de3e4366'
          '13feaea89d404729ad2f7cf0bcc41d85'
          '71ed98c52e11ada1f936ac8cb14eecd9'
-         '6ec767b80e0df5c4450078363a31bca0')
+         '6ec767b80e0df5c4450078363a31bca0'
+         '6723590b164b281f471e8b1cd926b633')
 
 package() {
   cd "$pkgdir"
@@ -108,6 +110,9 @@
 
   # setup systemd-sysusers
   install -D -m644 "$srcdir"/sysusers "$pkgdir"/usr/lib/sysusers.d/arch.conf
+
+  # setup systemd-tmpfiles
+  install -D -m644 "$srcdir"/tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/arch.conf
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list