Compare commits

...

2 Commits

Author SHA1 Message Date
fbt
d7c4b6b72a rel, and build
Signed-off-by: fbt <fbt@fleshless.org>
2020-05-13 15:29:56 +03:00
Robin Stamer
7bd84df5c6 Fix issue where interface name randomization is turned on by default 2020-05-13 05:37:42 -06:00

View File

@@ -7,7 +7,7 @@ _udev_ver=239
pkgname=('eudev' 'libeudev')
pkgver=3.2.8
pkgrel=1
pkgrel=2
pkgdesc="The userspace dev tools (udev) forked by Gentoo"
arch=('i686' 'x86_64')
url="https://github.com/gentoo/eudev"
@@ -72,6 +72,9 @@ package_eudev() {
install -Dm644 "$srcdir/initcpio_install" "$pkgdir/usr/lib/initcpio/install/udev"
install -Dm644 "$srcdir/udev-hwdb.hook" "$pkgdir/usr/share/libalpm/hooks/udev-hwdb.hook"
# Make network interface name randomization be optional, not the default
sed -i 's/=="0"/!="1"/g' "$pkgdir/usr/lib/udev/rules.d/80-net-name-slot.rules"
# These go into a separate package
rm -rv "$pkgdir"/usr/lib/pkgconfig
rm -v "$pkgdir"/usr/include/libudev.h