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

Tom Gundersen tomegun at archlinux.org
Sat Jun 4 22:38:17 UTC 2011


    Date: Saturday, June 4, 2011 @ 18:38:16
  Author: tomegun
Revision: 126335

upgpkg: iproute2 2.6.38-3
support use in early boot on separate /usr

Modified:
  iproute2/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-04 22:36:03 UTC (rev 126334)
+++ PKGBUILD	2011-06-04 22:38:16 UTC (rev 126335)
@@ -4,7 +4,7 @@
 
 pkgname=iproute2
 pkgver=2.6.38
-pkgrel=2
+pkgrel=3
 pkgdesc="IP Routing Utilities"
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -39,6 +39,11 @@
 
   make DESTDIR=$pkgdir install
 
+  # allow loopback to be started before /usr is mounted, this may not be supported in the future
+  mkdir -p ${pkgdir}/sbin
+  mv ${pkgdir}/usr/sbin/ip ${pkgdir}/sbin/ip
+  ln -s /sbin/ip ${pkgdir}/usr/sbin/ip
+
   # libnetlink isn't installed, install it FS#19385
   install -Dm644 include/libnetlink.h ${pkgdir}/usr/include/libnetlink.h
   install -Dm644 lib/libnetlink.a ${pkgdir}/usr/lib/libnetlink.a




More information about the arch-commits mailing list