[arch-commits] Commit in filesystem/trunk (PKGBUILD group gshadow passwd shadow)

Sébastien Luttringer seblu at archlinux.org
Tue Oct 17 07:39:29 UTC 2017


    Date: Tuesday, October 17, 2017 @ 07:39:28
  Author: seblu
Revision: 308075

upgpkg: filesystem 2017.10-2

- keep root user. See FS#56017

Added:
  filesystem/trunk/group
  filesystem/trunk/gshadow
  filesystem/trunk/passwd
  filesystem/trunk/shadow
Modified:
  filesystem/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++----------
 group    |    1 +
 gshadow  |    1 +
 passwd   |    1 +
 shadow   |    1 +
 5 files changed, 18 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-17 05:02:33 UTC (rev 308074)
+++ PKGBUILD	2017-10-17 07:39:28 UTC (rev 308075)
@@ -4,7 +4,7 @@
 
 pkgname=filesystem
 pkgver=2017.10
-pkgrel=1
+pkgrel=2
 pkgdesc='Base Arch Linux files'
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -15,12 +15,15 @@
         'etc/hosts' 'etc/issue' 'etc/ld.so.conf' 'etc/motd' 'etc/nsswitch.conf'
         'etc/passwd' 'etc/profile' 'etc/resolv.conf' 'etc/securetty'
         'etc/shadow' 'etc/shells')
-source=('crypttab' 'env-generator' 'fstab' 'host.conf' 'hosts' 'issue'
-        'ld.so.conf' 'locale.sh' 'motd' 'nsswitch.conf' 'os-release' 'profile'
-        'resolv.conf' 'securetty' 'shells' 'sysusers' 'tmpfiles')
+source=('crypttab' 'env-generator' 'fstab' 'group' 'gshadow' 'host.conf' 'hosts'
+        'issue' 'ld.so.conf' 'locale.sh' 'motd' 'nsswitch.conf' 'os-release'
+        'passwd' 'profile' 'resolv.conf' 'securetty' 'shadow' 'shells'
+        'sysusers' 'tmpfiles')
 md5sums=('5fa6674df7645d7f5895f2d12b4ef4e9'
          '2b0344e9639f35f3c0d5637a23556089'
          'e33f6dfdd61978fcb3ddf1431286e05a'
+         '7fed1e1fb855e41a6d64d41f8521d69a'
+         '1c1e3b08acfa286f4b417c49de3e4366'
          '7d119a9cce152aa182fb3392ddeecea7'
          'a1315ea3e2b64d197b6efaf9c14ff778'
          '7813c481156f6b280a3ba91fc6236368'
@@ -29,9 +32,11 @@
          'd41d8cd98f00b204e9800998ecf8427e'
          '44851ecc062ba34a4c024b6f3246c48f'
          '0a0fbb8e64faabb40023bd180d7190a1'
+         '5182ac38a0de85da8ade93ef71975ca4'
          '13feaea89d404729ad2f7cf0bcc41d85'
          '0ee015fad07732676d9488ae498eed41'
          'f04bcb2803afc4dcb95670fe87343b4d'
+         'f64466dd77c7bec37a8b47681468211a'
          'a78cd8d7f8240a8448edee82f503c34e'
          'af7832eabaac9804c22f1f2b53816a49'
          '0267a3a463f35eec8a31f40a720dfd86')
@@ -53,16 +58,15 @@
 
   # setup /etc and /usr/share/factory/etc
   install -d etc/{ld.so.conf.d,skel,profile.d} usr/share/factory/etc
-  for f in fstab host.conf hosts issue ld.so.conf motd nsswitch.conf crypttab \
-           resolv.conf securetty shells profile; do
+  for f in fstab group host.conf hosts issue ld.so.conf motd nsswitch.conf \
+  passwd resolv.conf securetty shells profile; do
     install -m644 "$srcdir"/$f etc/
     install -m644 "$srcdir"/$f usr/share/factory/etc/
   done
-  chmod 600 {usr/share/factory/,}etc/crypttab
   ln -s ../proc/self/mounts etc/mtab
-  for f in passwd group gshadow shadow; do
-    install -Dm600 /dev/null etc/$f
-    install -Dm600 /dev/null usr/share/factory/etc/$f
+  for f in gshadow shadow crypttab; do
+    install -m600 "$srcdir"/$f etc/
+    install -m600 "$srcdir"/$f usr/share/factory/etc/
   done
   touch etc/arch-release
   install -m755 "$srcdir"/locale.sh etc/profile.d/locale.sh

Added: group
===================================================================
--- group	                        (rev 0)
+++ group	2017-10-17 07:39:28 UTC (rev 308075)
@@ -0,0 +1 @@
+root:x:0:root

Added: gshadow
===================================================================
--- gshadow	                        (rev 0)
+++ gshadow	2017-10-17 07:39:28 UTC (rev 308075)
@@ -0,0 +1 @@
+root:::root

Added: passwd
===================================================================
--- passwd	                        (rev 0)
+++ passwd	2017-10-17 07:39:28 UTC (rev 308075)
@@ -0,0 +1 @@
+root:x:0:0::/root:/bin/bash

Added: shadow
===================================================================
--- shadow	                        (rev 0)
+++ shadow	2017-10-17 07:39:28 UTC (rev 308075)
@@ -0,0 +1 @@
+root::14871::::::



More information about the arch-commits mailing list