-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example configurations for Raspberry Pis
Add example configurations for Debian 11 (bullseye) on a Raspberry Pi 3 and Raspberry Pi Zero W. These configurations contain a minimal Debian systems without a desktop. It can be used as basis to build bigger images. Signed-off-by: Benjamin Drung <[email protected]>
- Loading branch information
Showing
3 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
# Combine this configuration with Debian-bullseye.yaml for a working golden image. | ||
mmdebstrap: | ||
architectures: | ||
- arm64 | ||
components: | ||
- contrib | ||
- non-free | ||
customize-hooks: | ||
# Network: Use DHCP on the Ethernet interface | ||
- printf "\nauto lo\niface lo inet loopback\n\nallow-hotplug eth0\niface eth0 inet dhcp\n" | ||
>> "$1/etc/network/interfaces" | ||
packages: | ||
# Raspberry Pi 3 specific | ||
- firmware-brcm80211 # contains /lib/firmware/brcm/brcmfmac43430-sdio.bin (required for WiFi) | ||
- linux-image-arm64 | ||
- raspi-firmware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
# Combine this configuration with Debian-bullseye.yaml for a working golden image. | ||
mmdebstrap: | ||
architectures: | ||
- armel | ||
components: | ||
- contrib | ||
- non-free | ||
packages: | ||
# Raspberry Pi Zero W specific | ||
- firmware-brcm80211 # contains /lib/firmware/brcm/brcmfmac43430-sdio.bin (required for WiFi) | ||
- linux-image-rpi | ||
- raspi-firmware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
mmdebstrap: | ||
cleanup-hooks: | ||
- cp /dev/null "$1/etc/hostname" | ||
- if test -f "$1/etc/resolv.conf"; then cp /dev/null "$1/etc/resolv.conf"; fi | ||
components: | ||
- main | ||
customize-hooks: | ||
# Update APT cache to update command-not-found database | ||
- chroot "$1" apt-get update | ||
keyrings: | ||
- /usr/share/keyrings/debian-archive-keyring.gpg | ||
mode: unshare | ||
packages: | ||
# install packages from priority important (aptitude search '~pimportant' -F'%p') | ||
- adduser | ||
- debian-archive-keyring | ||
- fdisk | ||
- gpgv | ||
- ifupdown | ||
- init | ||
- iproute2 | ||
- iputils-ping | ||
- isc-dhcp-client | ||
- kmod | ||
- less | ||
- logrotate | ||
- nano | ||
- netbase | ||
- procps | ||
- rsyslog | ||
- sensible-utils | ||
- udev | ||
- whiptail | ||
# install packages from priority standard (aptitude search '~pstandard' -F'%p') | ||
- bash-completion | ||
- bind9-dnsutils | ||
- bind9-host | ||
- dbus | ||
- file | ||
- libpam-systemd # recommended by systemd and needed to not run into https://bugs.debian.org/751636 | ||
- locales | ||
- lsof | ||
- man-db | ||
- manpages | ||
- openssh-client | ||
- pciutils | ||
- traceroute | ||
- wget | ||
- xz-utils | ||
# basic stuff | ||
- command-not-found | ||
- console-data | ||
- htop | ||
- kbd # for loadkeys | ||
- openssh-server | ||
- psmisc # for fuser, killall, etc. | ||
- rsync | ||
- sudo | ||
- usbutils # for lsusb | ||
- vim | ||
- wireless-tools | ||
- wpasupplicant | ||
suite: bullseye | ||
target: root.tar.xz | ||
variant: minbase |