From b87e908ccb951a69a50e22b433816a01f6ba0ee4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 3 Nov 2015 15:56:34 +0000 Subject: main/eudev: move out the rules for predictable net iface names We will probably not use those by default and let those who wants it opt-in instead of out-out for those who does not want. http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ --- main/eudev/APKBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'main/eudev') diff --git a/main/eudev/APKBUILD b/main/eudev/APKBUILD index f9634d2415..3ba73c5a73 100644 --- a/main/eudev/APKBUILD +++ b/main/eudev/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=eudev pkgver=3.1.2 -pkgrel=5 +pkgrel=6 pkgdesc="OpenRC compatible fork of systemd-udev" url="https://wiki.gentoo.org/wiki/Project:Eudev" arch="all" @@ -12,12 +12,13 @@ replaces="udev" makedepends="$depends_dev gperf glib-dev linux-headers kmod-dev gobject-introspection-dev" install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libgudev $pkgname-libs" +subpackages="$pkgname-dev $pkgname-doc $pkgname-libgudev $pkgname-libs + $pkgname-netifnames" source="http://dev.gentoo.org/~blueness/eudev/eudev-$pkgver.tar.gz udev-postmount.initd setup-udev " - + _builddir="$srcdir"/eudev-$pkgver prepare() { @@ -96,6 +97,12 @@ libgudev() { "$subpkgdir"/usr/lib/ } +netifnames() { + pkgdesc="udev rules for systemd-style interface names" + mkdir -p "$subpkgdir"/lib/udev/rules.d + mv "$pkgdir"/lib/udev/rules.d/80-net-name-slot.rules \ + "$subpkgdir"/lib/udev/rules.d/ +} md5sums="07ab33fe310d250f06fc28f010e3fde2 eudev-3.1.2.tar.gz 17ca36a764f5e8a89454344cde828740 udev-postmount.initd -- cgit v1.2.3