Merge branch 'master' into arm64
This commit is contained in:
commit
2e3603d228
19 changed files with 129 additions and 64 deletions
|
@ -1,4 +1,4 @@
|
|||
ARG BASE_IMAGE=debian:buster
|
||||
ARG BASE_IMAGE=debian:bullseye
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
|
|
@ -60,7 +60,7 @@ The following environment variables are supported:
|
|||
that the network block device is not disconnected correctly after the Docker process has
|
||||
ended abnormally. In that case see [Disconnect an image if something went wrong](#Disconnect-an-image-if-something-went-wrong)
|
||||
|
||||
* `RELEASE` (Default: buster)
|
||||
* `RELEASE` (Default: bullseye)
|
||||
|
||||
The release version to build images against. Valid values are jessie, stretch
|
||||
buster, bullseye, and testing.
|
||||
|
|
|
@ -78,10 +78,10 @@ BUILD_OPTS="$(echo "${BUILD_OPTS:-}" | sed -E 's@\-c\s?([^ ]+)@-c /config@')"
|
|||
# Check the arch of the machine we're running on. If it's 64-bit, use a 32-bit base image instead
|
||||
case "$(uname -m)" in
|
||||
x86_64|aarch64)
|
||||
BASE_IMAGE=i386/debian:buster
|
||||
BASE_IMAGE=i386/debian:bullseye
|
||||
;;
|
||||
*)
|
||||
BASE_IMAGE=debian:buster
|
||||
BASE_IMAGE=debian:bullseye
|
||||
;;
|
||||
esac
|
||||
${DOCKER} build --build-arg BASE_IMAGE=${BASE_IMAGE} -t pi-gen "${DIR}"
|
||||
|
|
2
build.sh
2
build.sh
|
@ -207,7 +207,7 @@ export TARGET_HOSTNAME=${TARGET_HOSTNAME:-raspberrypi}
|
|||
|
||||
export FIRST_USER_NAME=${FIRST_USER_NAME:-pi}
|
||||
export FIRST_USER_PASS=${FIRST_USER_PASS:-raspberry}
|
||||
export RELEASE=${RELEASE:-buster}
|
||||
export RELEASE=${RELEASE:-bullseye}
|
||||
export WPA_ESSID
|
||||
export WPA_PASSWORD
|
||||
export WPA_COUNTRY
|
||||
|
|
|
@ -1,4 +1,52 @@
|
|||
UNRELEASED:
|
||||
* Based on Debian version 11 (bullseye)
|
||||
* Desktop components (lxpanel and all plugins, libfm, pcmanfm) now built against GTK+3
|
||||
* Applications (piwiz, pipanel, rc_gui, lxinput) now built against GTK+3
|
||||
* PiXflat GTK+3 theme updated with numerous changes to support the above
|
||||
* GTK+3 : toolbar icon size setting added
|
||||
* GTK+3 : ability to request client-side decoration on windows added
|
||||
* GTK+3 : setting for indent for frame labels in custom style added
|
||||
* mutter window manager used instead of openbox on devices with 2GB or more of RAM
|
||||
* mutter : title bar icon behaviour and appearance modified to match openbox
|
||||
* mutter : additional keyboard shortcuts added
|
||||
* mutter : various performance enhancements
|
||||
* mutter compatibility added to screen magnifier
|
||||
* Numerous changes to Appearance Settings application to support GTK+3 and mutter
|
||||
* Updater plugin added to lxpanel to detect and install software updates
|
||||
* File manager view options simplified to either list or icons, with separate menu option for thumbnails
|
||||
* New file manager toolbar icons
|
||||
* KMS used as default display driver
|
||||
* Modifications to HDMI audio output selection to support the above
|
||||
* xcompmgr enabled when openbox is running under KMS
|
||||
* New default camera subsystem based on libcamera
|
||||
* New camera demo applications (libcamera-still and libcamera-vid) have replaced raspistill and raspivid
|
||||
* Legacy camera subsystem removed from 64-bit RPi OS (still available on 32-bit)
|
||||
* Chromium upgraded to version 92.0.4515.98
|
||||
* VLC media player upgraded to version 3.0.16
|
||||
* Spurious drive removal warning after use of SD card copier removed
|
||||
* Bookshelf application now includes Custom PC magazine
|
||||
* Various translation updates - Italian, Korean, Polish, German, Armenian
|
||||
* Startup wizard now installs Japanese fonts if needed
|
||||
* Progress and information dialog boxes for lxpanel plugins now common to lxpanel, rather than in individual plugins
|
||||
* Icon handling code for lxpanel plugins now common to lxpanel
|
||||
* Package with 4K version of Raspberry Pi wallpaper added to Recommended Software
|
||||
* Python Games and Minecraft removed from Recommended Software - neither is compatible with bullseye
|
||||
* Bluetooth pairing and connection dialogs updated for compatibility with more devices
|
||||
* Bluetooth devices always disconnected before removal to speed up removal process
|
||||
* Bluetooth pairing dialog now only shows devices which offer services which are usable by Pi
|
||||
* Separate Bluetooth unpair dialog removed - unpair now an option for each individual device
|
||||
* Bug fix - mutter : header bar colours not updating when theme is changed
|
||||
* Bug fix - GTK+3 : tooltips being displayed incorrectly at bottom of screen
|
||||
* Bug fix - lxpanel : crash when using keyboard shortcut to enable magnifier when magnifier not installed
|
||||
* Bug fix - lxpanel : lockup in Bluetooth plugin when connecting to certain devices
|
||||
* Bug fix - lxpanel : discoverable mode icon could get out of sync with underlying Bluetooth system state
|
||||
* Bug fix - piwiz : missing cities in timezone list
|
||||
* Bug fix - piwiz : country-specific language packages not being installed
|
||||
* Bug fix - bookshelf : now waits for longer between packets before timing out
|
||||
* Bug fix - accented characters now displayed correctly in localisation dialogs
|
||||
* Raspberry Pi firmware 46f356dcecc5204ca9a8cef7e6894e083b231bc7
|
||||
* Linux kernel 5.10.60
|
||||
2021-05-07:
|
||||
* Chromium upgraded to version 88.0.4324.187
|
||||
* NuScratch upgraded to version 20210507
|
||||
* Node-RED upgraded to version 1.3.4
|
||||
|
|
|
@ -17,6 +17,7 @@ bootstrap(){
|
|||
BOOTSTRAP_ARGS+=(--include gnupg)
|
||||
BOOTSTRAP_ARGS+=(--components "main,contrib,non-free")
|
||||
#BOOTSTRAP_ARGS+=(--keyring "${STAGE_DIR}/files/raspberrypi.gpg")
|
||||
BOOTSTRAP_ARGS+=(--exclude=info)
|
||||
BOOTSTRAP_ARGS+=("$@")
|
||||
printf -v BOOTSTRAP_STR '%q ' "${BOOTSTRAP_ARGS[@]}"
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ connect_blkdev() {
|
|||
init_nbd
|
||||
qemu-nbd --discard=unmap -c $NBD_DEV "$1"
|
||||
sync
|
||||
kpartx -a $NBD_DEV
|
||||
kpartx -as $NBD_DEV
|
||||
sync
|
||||
CURRENT_IMAGE="$1"
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ load_qimage() {
|
|||
254MiB,,83;
|
||||
EOF
|
||||
sync
|
||||
kpartx -a $NBD_DEV
|
||||
kpartx -as $NBD_DEV
|
||||
mkdosfs -n boot -F 32 -v $MAP_BOOT_DEV
|
||||
mkfs.ext4 -L rootfs -O "^huge_file,^metadata_csum,^64bit" $MAP_ROOT_DEV
|
||||
sync
|
||||
|
@ -123,7 +123,7 @@ EOF
|
|||
sync
|
||||
qemu-nbd --discard=unmap -c $NBD_DEV image-${STAGE}.qcow2
|
||||
sync
|
||||
kpartx -a $NBD_DEV
|
||||
kpartx -as $NBD_DEV
|
||||
fi
|
||||
|
||||
mount -v -t ext4 $MAP_ROOT_DEV "${ROOTFS_DIR}"
|
||||
|
|
|
@ -5,10 +5,6 @@
|
|||
# uncomment if you get no picture on HDMI for a default "safe" mode
|
||||
#hdmi_safe=1
|
||||
|
||||
# uncomment this if your display has a black border of unused pixels visible
|
||||
# and your display can output without overscan
|
||||
#disable_overscan=1
|
||||
|
||||
# uncomment the following to adjust overscan. Use positive numbers if console
|
||||
# goes off screen, and negative if there is too much border
|
||||
#overscan_left=16
|
||||
|
@ -56,7 +52,29 @@
|
|||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
|
||||
# Enable DRM VC4 V3D drive
|
||||
# Automatically load overlays for detected cameras
|
||||
camera_auto_detect=1
|
||||
|
||||
# Enable DRM VC4 V3D driver
|
||||
dtoverlay=vc4-kms-v3d
|
||||
max_framebuffers=2
|
||||
|
||||
# Run in 64-bit mode
|
||||
arm_64bit=1
|
||||
|
||||
# Disable compensation for displays with overscan
|
||||
disable_overscan=1
|
||||
|
||||
[cm4]
|
||||
# Enable host mode on the 2711 built-in XHCI USB controller.
|
||||
# This line should be removed if the legacy DWC2 controller is required
|
||||
# (e.g. for USB device mode) or if USB support is not required.
|
||||
otg_mode=1
|
||||
|
||||
[all]
|
||||
|
||||
[pi4]
|
||||
# Run as fast as firmware / board allows
|
||||
arm_boost=1
|
||||
|
||||
[all]
|
||||
|
|
1
stage1/01-sys-tweaks/00-packages
Normal file
1
stage1/01-sys-tweaks/00-packages
Normal file
|
@ -0,0 +1 @@
|
|||
raspi-config
|
|
@ -3,4 +3,6 @@
|
|||
echo "${TARGET_HOSTNAME}" > "${ROOTFS_DIR}/etc/hostname"
|
||||
echo "127.0.1.1 ${TARGET_HOSTNAME}" >> "${ROOTFS_DIR}/etc/hosts"
|
||||
|
||||
ln -sf /dev/null "${ROOTFS_DIR}/etc/systemd/network/99-default.link"
|
||||
on_chroot << EOF
|
||||
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_net_names 1
|
||||
EOF
|
||||
|
|
|
@ -1 +1 @@
|
|||
libraspberrypi-bin libraspberrypi0 raspi-config
|
||||
libraspberrypi-bin libraspberrypi0
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
ssh less fbset sudo psmisc strace ed ncdu crda
|
||||
console-setup keyboard-configuration debconf-utils parted unzip
|
||||
build-essential manpages-dev python bash-completion gdb pkg-config
|
||||
python-rpi.gpio v4l-utils
|
||||
python-gpiozero
|
||||
build-essential manpages-dev python3 bash-completion gdb pkg-config
|
||||
python3-rpi.gpio v4l-utils
|
||||
python3-gpiozero
|
||||
avahi-daemon
|
||||
lua5.1
|
||||
|
@ -26,7 +25,6 @@ policykit-1
|
|||
ssh-import-id
|
||||
rng-tools
|
||||
ethtool
|
||||
vl805fw
|
||||
ntfs-3g
|
||||
pciutils
|
||||
rpi-eeprom
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
install -v -d "${ROOTFS_DIR}/etc/systemd/system/dhcpcd.service.d"
|
||||
install -v -m 644 files/wait.conf "${ROOTFS_DIR}/etc/systemd/system/dhcpcd.service.d/"
|
||||
|
||||
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
|
||||
EOF
|
||||
|
||||
if [ -v WPA_COUNTRY ]; then
|
||||
echo "country=${WPA_COUNTRY}" >> "${ROOTFS_DIR}/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
fi
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/lib/dhcpcd5/dhcpcd -q -w
|
|
@ -2,14 +2,14 @@ gstreamer1.0-x gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-
|
|||
qpdfview gtk2-engines alsa-utils
|
||||
desktop-base
|
||||
git
|
||||
#omxplayer
|
||||
raspberrypi-artwork
|
||||
policykit-1
|
||||
gvfs
|
||||
rfkill
|
||||
chromium rpi-chromium-mods
|
||||
chromium-browser rpi-chromium-mods
|
||||
gldriver-test
|
||||
fonts-droid-fallback
|
||||
fonts-liberation2
|
||||
obconf
|
||||
arandr
|
||||
libcamera-tools
|
||||
libcamera-apps
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
rm -f "${ROOTFS_DIR}/etc/systemd/system/dhcpcd.service.d/wait.conf"
|
||||
on_chroot << EOF
|
||||
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_boot_wait 1
|
||||
EOF
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
python python3-pygame python-pygame python-tk
|
||||
python3 python3-tk thonny
|
||||
python3-pygame
|
||||
python3-tk thonny
|
||||
python3-pgzero
|
||||
python-serial python3-serial
|
||||
#python-picamera python3-picamera
|
||||
python3-serial
|
||||
debian-reference-en dillo
|
||||
raspberrypi-net-mods raspberrypi-ui-mods
|
||||
python-pip python3-pip
|
||||
python3-pip
|
||||
python3-numpy
|
||||
pypy
|
||||
alacarte rc-gui sense-hat
|
||||
|
@ -13,11 +12,11 @@ tree
|
|||
libgl1-mesa-dri libgles1 libgles2-mesa xcompmgr
|
||||
geany
|
||||
piclone
|
||||
wiringpi pigpio python-pigpio python3-pigpio raspi-gpio python3-rpi.gpio
|
||||
python-spidev python3-spidev
|
||||
python-twython python3-twython
|
||||
python-smbus python3-smbus
|
||||
python-flask python3-flask
|
||||
pigpio python3-pigpio raspi-gpio python3-rpi.gpio
|
||||
python3-spidev
|
||||
python3-twython
|
||||
python3-smbus
|
||||
python3-flask
|
||||
pprompt
|
||||
piwiz
|
||||
rp-prefapps
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
python-automationhat python3-automationhat
|
||||
python-blinkt python3-blinkt
|
||||
python-cap1xxx python3-cap1xxx
|
||||
python-drumhat python3-drumhat
|
||||
python-envirophat python3-envirophat
|
||||
python-explorerhat python3-explorerhat
|
||||
python-fourletterphat python3-fourletterphat
|
||||
python-microdotphat python3-microdotphat
|
||||
python-mote python3-mote
|
||||
python-motephat python3-motephat
|
||||
python-phatbeat python3-phatbeat
|
||||
python-pianohat python3-pianohat
|
||||
python-piglow python3-piglow
|
||||
python-rainbowhat python3-rainbowhat
|
||||
python-scrollphat python3-scrollphat
|
||||
python-scrollphathd python3-scrollphathd
|
||||
python-sn3218 python3-sn3218
|
||||
python-skywriter python3-skywriter
|
||||
python-touchphat python3-touchphat
|
||||
python-buttonshim python3-buttonshim
|
||||
python-unicornhathd python3-unicornhathd
|
||||
python-pantilthat python3-pantilthat
|
||||
python3-automationhat
|
||||
python3-blinkt
|
||||
python3-cap1xxx
|
||||
python3-drumhat
|
||||
python3-envirophat
|
||||
python3-explorerhat
|
||||
python3-fourletterphat
|
||||
python3-microdotphat
|
||||
python3-mote
|
||||
python3-motephat
|
||||
python3-phatbeat
|
||||
python3-pianohat
|
||||
python3-piglow
|
||||
python3-rainbowhat
|
||||
python3-scrollphat
|
||||
python3-scrollphathd
|
||||
python3-sn3218
|
||||
python3-skywriter
|
||||
python3-touchphat
|
||||
python3-buttonshim
|
||||
python3-unicornhathd
|
||||
python3-pantilthat
|
||||
|
|
|
@ -3,8 +3,7 @@ mu-editor
|
|||
#scratch nuscratch scratch3
|
||||
smartsim
|
||||
|
||||
#minecraft-pi python-minecraftpi python-picraft python3-picraft
|
||||
python-sense-emu sense-emu-tools python-sense-emu-doc
|
||||
python3-sense-emu sense-emu-tools python-sense-emu-doc
|
||||
|
||||
#wolfram-engine
|
||||
claws-mail
|
||||
|
@ -12,5 +11,4 @@ greenfoot-unbundled bluej
|
|||
#nodered
|
||||
realvnc-vnc-viewer
|
||||
|
||||
python-games
|
||||
code-the-classics
|
||||
|
|
Loading…
Reference in a new issue