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

Tom Gundersen tomegun at nymeria.archlinux.org
Thu May 30 10:24:25 EDT 2013


    Date: Thursday, May 30, 2013 @ 16:24:24
  Author: tomegun
Revision: 186695

upgpkg: iproute2 3.9.0-2

usrmove

Modified:
  iproute2/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 14:23:59 UTC (rev 186694)
+++ PKGBUILD	2013-05-30 14:24:24 UTC (rev 186695)
@@ -4,7 +4,7 @@
 
 pkgname=iproute2
 pkgver=3.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc="IP Routing Utilities"
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -46,12 +46,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"
+
+  # usrmove
+  cd "$pkgdir"
+  mv usr/sbin usr/bin
 }



More information about the arch-commits mailing list