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

Allan McRae allan at nymeria.archlinux.org
Sun Jan 27 04:12:13 UTC 2013


    Date: Sunday, January 27, 2013 @ 05:12:12
  Author: allan
Revision: 176050

upgpkg: filesystem 2013.01-2

remove post_install script so filesystem cam be added as a glibc dep - all functionality moved elsewhere, remove deps in base only needed for post_update

Modified:
  filesystem/trunk/PKGBUILD
  filesystem/trunk/filesystem.install

--------------------+
 PKGBUILD           |    4 ++--
 filesystem.install |   10 ----------
 2 files changed, 2 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-27 03:35:37 UTC (rev 176049)
+++ PKGBUILD	2013-01-27 04:12:12 UTC (rev 176050)
@@ -3,7 +3,7 @@
 
 pkgname=filesystem
 pkgver=2013.01
-pkgrel=1
+pkgrel=2
 pkgdesc='Base filesystem'
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -11,7 +11,7 @@
 groups=('base')
 install='filesystem.install'
 makedepends=('asciidoc')
-depends=('iana-etc' 'bash' 'coreutils' 'nss-myhostname')
+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')

Modified: filesystem.install
===================================================================
--- filesystem.install	2013-01-27 03:35:37 UTC (rev 176049)
+++ filesystem.install	2013-01-27 04:12:12 UTC (rev 176050)
@@ -1,13 +1,3 @@
-post_install() {
-	[ -f var/log/lastlog ] ||   : >var/log/lastlog
-	[ -f var/log/wtmp ]    ||   : >var/log/wtmp
-	[ -f var/log/btmp ]    || { : >var/log/btmp && chmod 600 var/log/btmp; }
-	# workaround for bug #7194
-	# readded due to bug #9465
-	# please do not remove!
-	chmod 1777 var/spool/mail tmp var/tmp
-}
-
 # args: <group> [options]
 _addgroup() {
 	if ! getent group "$1" >/dev/null; then




More information about the arch-commits mailing list