diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-03 15:56:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-03 15:56:34 +0000 |
commit | b87e908ccb951a69a50e22b433816a01f6ba0ee4 (patch) | |
tree | 08beccbc31477e7ac270ce1c6568740d29c8454a | |
parent | 54ff8420c5828242ba4ee4f1cdd8665e48888086 (diff) | |
download | aports-b87e908ccb951a69a50e22b433816a01f6ba0ee4.tar.bz2 aports-b87e908ccb951a69a50e22b433816a01f6ba0ee4.tar.xz |
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/
-rw-r--r-- | main/eudev/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
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 <ncopa@alpinelinux.org> 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 |