forked from PKGBUILDs/eudev
Fix issue where interface name randomization is turned on by default
This commit is contained in:
parent
b14e5e4f83
commit
7bd84df5c6
3
PKGBUILD
3
PKGBUILD
|
@ -72,6 +72,9 @@ package_eudev() {
|
||||||
install -Dm644 "$srcdir/initcpio_install" "$pkgdir/usr/lib/initcpio/install/udev"
|
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"
|
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
|
# These go into a separate package
|
||||||
rm -rv "$pkgdir"/usr/lib/pkgconfig
|
rm -rv "$pkgdir"/usr/lib/pkgconfig
|
||||||
rm -v "$pkgdir"/usr/include/libudev.h
|
rm -v "$pkgdir"/usr/include/libudev.h
|
||||||
|
|
Loading…
Reference in New Issue
Block a user