From 776d129d3bbc59d1165e343f4027bb8fc0c71af6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 31 Oct 2018 17:36:27 +0100 Subject: [PATCH] fixes for boot and network config --- Makefile | 3 ++- files/etc/fstab | 2 ++ files/etc/systemd/network/99-default.link | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 files/etc/fstab create mode 120000 files/etc/systemd/network/99-default.link diff --git a/Makefile b/Makefile index a7742d7..fc1d362 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ deb http://raspbian.raspberrypi.org/raspbian stretch main non-free firmware rpi\ deb http://archive.raspberrypi.org/debian stretch main\n endef -PACKAGES := apt apt-transport-https bluez bluez-firmware btrfs-tools busybox-static bzip2 ca-certificates cron deborphan firmware-atheros firmware-brcm80211 firmware-libertas firmware-linux-free firmware-misc-nonfree firmware-realtek gzip htop ifupdown init iptables iputils-ping irqbalance isc-dhcp-client less libraspberrypi-bin libraspberrypi0 make net-tools nmap ntpdate openssh-client openssh-server p7zip-full raspberrypi-bootloader raspberrypi-kernel rsync ssh sshfs sudo systemd traceroute unace unrar-free unzip vim wget wireless-tools wpasupplicant xz-utils zip +PACKAGES := apt apt-transport-https bluez bluez-firmware btrfs-tools busybox-static bzip2 ca-certificates cron deborphan firmware-atheros firmware-brcm80211 firmware-libertas firmware-linux-free firmware-misc-nonfree firmware-realtek gzip htop ifupdown init iptables iputils-ping irqbalance isc-dhcp-client less libraspberrypi-bin libraspberrypi0 make net-tools nmap ntpdate openssh-client openssh-server p7zip-full rpi-update rsync ssh sshfs sudo systemd traceroute unace unrar-free unzip vim wget wireless-tools wpasupplicant xz-utils zip # Do not change, only override in config.mk WIFI-SSID = @@ -37,6 +37,7 @@ raspi_root/: raspi_root .FORCE chroot "$@" apt-get --yes install ${PACKAGES} chroot "$@" apt-get --yes --auto-remove purge chroot "$@" apt-get --yes --auto-remove upgrade + chroot "$@" rpi-update chroot "$@" rm /usr/local/sbin/invoke-rc.d chroot "$@" apt-get clean touch "$@" diff --git a/files/etc/fstab b/files/etc/fstab new file mode 100644 index 0000000..2ce959b --- /dev/null +++ b/files/etc/fstab @@ -0,0 +1,2 @@ +/dev/mmcblk0p2 / ext4 auto,nofail,rw 0 0 +/dev/mmcblk0p1 / vfat auto,nofail,rw 0 0 diff --git a/files/etc/systemd/network/99-default.link b/files/etc/systemd/network/99-default.link new file mode 120000 index 0000000..dc1dc0c --- /dev/null +++ b/files/etc/systemd/network/99-default.link @@ -0,0 +1 @@ +/dev/null \ No newline at end of file -- 2.39.2