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

Tom Gundersen tomegun at archlinux.org
Mon Jun 4 14:49:39 UTC 2012


    Date: Monday, June 4, 2012 @ 10:49:38
  Author: tomegun
Revision: 160715

prepare suggestion for new release, not ready yet

Added:
  filesystem/trunk/os-release
Modified:
  filesystem/trunk/PKGBUILD

------------+
 PKGBUILD   |   24 ++++++++++++------------
 os-release |    8 ++++++++
 2 files changed, 20 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-06-04 14:06:18 UTC (rev 160714)
+++ PKGBUILD	2012-06-04 14:49:38 UTC (rev 160715)
@@ -2,8 +2,8 @@
 # Maintainer: Tom Gundersen <teg at jklm.no>
 
 pkgname=filesystem
-pkgver=2012.2
-pkgrel=5
+pkgver=2012.3
+pkgrel=1
 pkgdesc='Base filesystem'
 arch=('any')
 license=('GPL')
@@ -15,8 +15,8 @@
         'etc/shadow' 'etc/gshadow' 'etc/resolv.conf' 'etc/motd' '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' 'resolv.conf' 'shells'
-        'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first')
+        'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'os-release' 'resolv.conf'
+        'shells' 'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first')
 
 package() {
 	cd ${pkgdir}
@@ -24,10 +24,11 @@
 	#
 	# setup root filesystem
 	#
-	for d in bin boot dev etc home media mnt sbin usr var opt srv/http sys run; do
+	for d in boot dev etc home media mnt usr var opt srv/http run; do
 		install -d -m755 ${d}
 	done
 	install -d -m555 proc
+	install -d -m555 sys
 	install -d -m0750 root
 	install -d -m1777 tmp
 	# vsftpd won't run with write perms on /srv/ftp
@@ -35,7 +36,7 @@
 
 	# setup /etc
 	install -d etc/{ld.so.conf.d,skel,profile.d}
-	for f in fstab group host.conf hosts issue ld.so.conf motd nsswitch.conf passwd resolv.conf securetty shells profile; do
+	for f in fstab group host.conf hosts issue ld.so.conf motd nsswitch.conf os-release passwd resolv.conf securetty shells profile; do
 		install -m644 ${srcdir}/${f} etc/
 	done
 	ln -s /proc/self/mounts etc/mtab
@@ -46,17 +47,15 @@
 	install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first usr/lib/modprobe.d/usb-load-ehci-first.conf
 
 	# setup /var
-	for d in cache/man local opt log/old lib/misc empty run; do
+	for d in cache/man local opt log/old lib/misc empty; do
 		install -d -m755 var/${d}
 	done
-	install -d -m1777 var/{tmp,spool/mail,lock}
+	install -d -m1777 var/{tmp,spool/mail}
 	# allow setgid games to write scores
 	install -d -m775 -g games var/games
 	ln -s spool/mail var/mail
-	# not ready yet, needs possible change in pacman or other magic
-	# is fixed by initscripts on next boot
-#	ln -s ../run var/run
-#	ln -s ../run/lock var/lock
+	ln -s ../run var/run
+	ln -s ../run/lock var/lock
 
 	#
 	# setup /usr hierarchy
@@ -89,6 +88,7 @@
          'e5d8323a4dbee7a6d0d2a19cbf4b819f'
          '7bc65f234dfb6abf24e7c3b03e86f4ff'
          'd41d8cd98f00b204e9800998ecf8427e'
+         'c4534d6c59d75be0eb99ddaafcf93198'
          '6f48288b6fcaf0065fcb7b0e525413e0'
          '22518e922891f9359f971f4f5b4e793c'
          'd2dc4e39dbdea75b107f91789e3274ab'

Added: os-release
===================================================================
--- os-release	                        (rev 0)
+++ os-release	2012-06-04 14:49:38 UTC (rev 160715)
@@ -0,0 +1,8 @@
+NAME="Arch Linux"
+ID=arch
+PRETTY_NAME="Arch Linux"
+ANSI_COLOR="0;36"
+HOME_URL="http://www.archlinux.org/"
+SUPPORT_URL="https://bbs.archlinux.org/"
+BUG_REPORT_URL="https://bugs.archlinux.org/"
+




More information about the arch-commits mailing list