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

Tom Gundersen tomegun at archlinux.org
Thu Jan 5 17:01:24 UTC 2012


    Date: Thursday, January 5, 2012 @ 12:01:24
  Author: tomegun
Revision: 146187

remove hostname from /etc/issue, it is already printed by login
install symlinks from /var/{run,lock} to /run/{,lock}
use softdeps in order to load usb modules in the right order

Modified:
  filesystem/trunk/PKGBUILD
  filesystem/trunk/issue
  filesystem/trunk/modprobe.d.usb-load-ehci-first

--------------------------------+
 PKGBUILD                       |    8 +++++---
 issue                          |    2 +-
 modprobe.d.usb-load-ehci-first |    4 ++--
 3 files changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-01-05 14:57:13 UTC (rev 146186)
+++ PKGBUILD	2012-01-05 17:01:24 UTC (rev 146187)
@@ -63,13 +63,15 @@
 	install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first ${pkgdir}/lib/modprobe.d/usb-load-ehci-first.conf
 
 	# setup /var
-	for d in cache/man local opt run log/old lib/misc empty; do
+	for d in cache/man local opt log/old lib/misc empty; do
 		install -d -m755 ${pkgdir}/var/${d}
 	done
-	install -d -m1777 ${pkgdir}/var/{lock,tmp,spool/mail}
+	install -d -m1777 ${pkgdir}/var/{tmp,spool/mail}
 	# allow setgid games to write scores
 	install -d -m775 -g games ${pkgdir}/var/games
-	ln -s spool/mail ${pkgdir}/var/mail
+	ln -s /var/spool/mail ${pkgdir}/var/mail
+	ln -s /run ${pkgdir}/var/run
+	ln -s /run/lock ${pkgdir}/var/lock
 	# prevent pacman from removing directory (FS#16886)
 	touch ${pkgdir}/var/empty/.keep
 

Modified: issue
===================================================================
--- issue	2012-01-05 14:57:13 UTC (rev 146186)
+++ issue	2012-01-05 17:01:24 UTC (rev 146187)
@@ -1,2 +1,2 @@
-Arch Linux \r  (\n) (\l)
+Arch Linux \r (\l)
 

Modified: modprobe.d.usb-load-ehci-first
===================================================================
--- modprobe.d.usb-load-ehci-first	2012-01-05 14:57:13 UTC (rev 146186)
+++ modprobe.d.usb-load-ehci-first	2012-01-05 17:01:24 UTC (rev 146187)
@@ -1,2 +1,2 @@
-install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install ohci_hcd $CMDLINE_OPTS
-install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install uhci_hcd $CMDLINE_OPTS
+softdep ohci_hcd pre: ehci_hcd
+softdep uhci_hcd pre: ehci_hcd




More information about the arch-commits mailing list