From cb5d17b873cd88854396a748eee9f9a9722fcb65 Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Wed, 5 Jul 2017 07:37:28 +0000 Subject: [PATCH] Reorder code --- build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 92659cd..e485307 100755 --- a/build.sh +++ b/build.sh @@ -213,8 +213,13 @@ apt-get install -y raspberrypi-bootloader EOF apply_patches '02-bashrc.diff' + apply_patches '03-persistant-net.diff' +on_chroot << EOF +dpkg-divert --add --local /lib/udev/rules.d/75-persistent-net-generator.rules +EOF + install -m 644 files/ipv6.conf "$ROOTFS_DIR/etc/modprobe.d/ipv6.conf" install -m 644 files/interfaces "$ROOTFS_DIR/etc/network/interfaces" @@ -231,10 +236,6 @@ echo "$USERNAME:$PASSWORD" | chpasswd passwd -d root EOF -on_chroot << EOF -dpkg-divert --add --local /lib/udev/rules.d/75-persistent-net-generator.rules -EOF - touch "$ROOTFS_DIR/spindle_install" on_chroot << EOF