summaryrefslogtreecommitdiff
path: root/testing/iproute2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/iproute2/PKGBUILD')
-rw-r--r--testing/iproute2/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/testing/iproute2/PKGBUILD b/testing/iproute2/PKGBUILD
index de6d0365a..f9479bd84 100644
--- a/testing/iproute2/PKGBUILD
+++ b/testing/iproute2/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 122628 2011-05-05 08:47:16Z ronald $
+# $Id: PKGBUILD 126335 2011-06-04 22:38:16Z tomegun $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=iproute2
pkgver=2.6.38
-pkgrel=2
+pkgrel=3
pkgdesc="IP Routing Utilities"
arch=('i686' 'x86_64')
license=('GPL2')
@@ -39,6 +39,11 @@ package() {
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