Fix issue where interface name randomization is turned on by default

This commit is contained in:
Robin Stamer 2020-05-13 05:37:42 -06:00
parent b14e5e4f83
commit 7bd84df5c6

View File

@ -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