Merge branch 'master' into arm64
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
ssh less fbset sudo psmisc strace ed ncdu crda
|
||||
ssh less fbset sudo psmisc strace ed ncdu
|
||||
console-setup keyboard-configuration debconf-utils parted
|
||||
build-essential manpages-dev bash-completion gdb pkg-config
|
||||
python-is-python3
|
||||
python3-rpi.gpio v4l-utils
|
||||
v4l-utils
|
||||
python3-libgpiod
|
||||
python3-gpiozero
|
||||
pigpio python3-pigpio raspi-gpio python3-rpi.gpio
|
||||
python3-spidev
|
||||
python3-smbus2
|
||||
avahi-daemon
|
||||
lua5.1
|
||||
luajit
|
||||
hardlink ca-certificates curl
|
||||
ca-certificates curl
|
||||
fake-hwclock nfs-common usbutils
|
||||
libraspberrypi-dev libraspberrypi-doc libfreetype6-dev
|
||||
dosfstools
|
||||
@@ -24,12 +28,11 @@ htop
|
||||
man-db
|
||||
policykit-1
|
||||
ssh-import-id
|
||||
rng-tools
|
||||
ethtool
|
||||
ntfs-3g
|
||||
pciutils
|
||||
rpi-eeprom
|
||||
raspinfo
|
||||
raspi-utils
|
||||
udisks2
|
||||
unzip zip p7zip-full
|
||||
file
|
||||
|
@@ -1,4 +1,3 @@
|
||||
cifs-utils
|
||||
libcamera-apps-lite
|
||||
mkvtoolnix
|
||||
python3-picamera2
|
||||
|
@@ -1,5 +1,5 @@
|
||||
--- stage2.orig/rootfs/boot/cmdline.txt
|
||||
+++ stage2/rootfs/boot/cmdline.txt
|
||||
--- stage2.orig/rootfs/boot/firmware/cmdline.txt
|
||||
+++ stage2/rootfs/boot/firmware/cmdline.txt
|
||||
@@ -1 +1 @@
|
||||
-console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 fsck.repair=yes rootwait
|
||||
+console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 fsck.repair=yes rootwait quiet init=/usr/lib/raspberrypi-sys-mods/firstboot
|
||||
|
@@ -1,5 +1,4 @@
|
||||
wpasupplicant wireless-tools firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree firmware-realtek
|
||||
raspberrypi-net-mods
|
||||
dhcpcd5
|
||||
network-manager
|
||||
net-tools
|
||||
|
@@ -3,32 +3,12 @@
|
||||
install -v -d "${ROOTFS_DIR}/etc/wpa_supplicant"
|
||||
install -v -m 600 files/wpa_supplicant.conf "${ROOTFS_DIR}/etc/wpa_supplicant/"
|
||||
|
||||
on_chroot << EOF
|
||||
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_boot_wait 0
|
||||
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_netconf 1
|
||||
EOF
|
||||
|
||||
if [ -v WPA_COUNTRY ]; then
|
||||
on_chroot <<- EOF
|
||||
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_wifi_country "${WPA_COUNTRY}"
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [ -v WPA_ESSID ] && [ -v WPA_PASSWORD ]; then
|
||||
on_chroot <<EOF
|
||||
set -o pipefail
|
||||
wpa_passphrase "${WPA_ESSID}" "${WPA_PASSWORD}" | tee -a "/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
EOF
|
||||
elif [ -v WPA_ESSID ]; then
|
||||
cat >> "${ROOTFS_DIR}/etc/wpa_supplicant/wpa_supplicant.conf" << EOL
|
||||
|
||||
network={
|
||||
ssid="${WPA_ESSID}"
|
||||
key_mgmt=NONE
|
||||
}
|
||||
EOL
|
||||
fi
|
||||
|
||||
# Disable wifi on 5GHz models if WPA_COUNTRY is not set
|
||||
mkdir -p "${ROOTFS_DIR}/var/lib/systemd/rfkill/"
|
||||
if [ -n "$WPA_COUNTRY" ]; then
|
||||
|
@@ -1,2 +0,0 @@
|
||||
NOOBS_NAME="Raspberry Pi OS Lite (64-bit)"
|
||||
NOOBS_DESCRIPTION="A port of Debian with no desktop environment"
|
Reference in New Issue
Block a user