Remove network persistence patch
This commit is contained in:
parent
497b21e3c2
commit
ed7d3d112f
6
build.sh
6
build.sh
|
@ -226,12 +226,6 @@ EOF
|
|||
##
|
||||
# Configure network.
|
||||
#
|
||||
apply_patches '02-persistant-net.diff'
|
||||
|
||||
on_chroot << EOF
|
||||
dpkg-divert --add --local /lib/udev/rules.d/75-persistent-net-generator.rules
|
||||
EOF
|
||||
|
||||
install -m 644 files/resolv.conf "$ROOTFS_DIR/etc/"
|
||||
install -m 644 files/interfaces "$ROOTFS_DIR/etc/network/interfaces"
|
||||
install -m 644 files/ipv6.conf "$ROOTFS_DIR/etc/modprobe.d/ipv6.conf"
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- rootfs.orig/lib/udev/rules.d/75-persistent-net-generator.rules
|
||||
+++ rootfs/lib/udev/rules.d/75-persistent-net-generator.rules
|
||||
@@ -22,7 +22,7 @@ IMPORT{cmdline}="net.ifnames"
|
||||
ENV{net.ifnames}=="1", GOTO="persistent_net_generator_end"
|
||||
|
||||
# device name whitelist
|
||||
-KERNEL!="eth*|ath*|wlan*[0-9]|msh*|ra*|sta*|ctc*|lcs*|hsi*", \
|
||||
+KERNEL!="ath*|msh*|ra*|sta*|ctc*|lcs*|hsi*", \
|
||||
GOTO="persistent_net_generator_end"
|
||||
|
||||
# ignore Xen virtual interfaces
|
|
@ -1,5 +1,4 @@
|
|||
01-no-root-login.diff
|
||||
02-persistant-net.diff
|
||||
03-bashrc.diff
|
||||
04-useradd.diff
|
||||
05-swap.diff
|
||||
|
|
Reference in New Issue