Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v8.23 #6693

Merged
merged 74 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
e44ed23
v8.22
MichaIng Sep 24, 2023
2e3135a
v8.23
MichaIng Sep 24, 2023
cabda5c
v8.23
MichaIng Sep 24, 2023
8079e2d
Init v8.23
MichaIng Sep 24, 2023
3090ab6
v8.23
MichaIng Sep 25, 2023
6a8dfb9
v8.23
MichaIng Sep 25, 2023
f943e3c
v8.23
MichaIng Sep 25, 2023
925d4ba
v8.23
MichaIng Sep 26, 2023
a5796c5
v8.23
MichaIng Sep 26, 2023
64f6ef8
v8.23 (#6639)
MichaIng Sep 26, 2023
c1d9640
v8.23
MichaIng Sep 27, 2023
970abad
v8.23
MichaIng Sep 28, 2023
675f3b8
v8.23
MichaIng Sep 28, 2023
d6b5242
v8.23
MichaIng Sep 28, 2023
561329b
v8.23
MichaIng Sep 28, 2023
50f8c74
v8.23
MichaIng Sep 29, 2023
b04b43b
v8.23
MichaIng Sep 30, 2023
77c9b12
v8.23
MichaIng Sep 30, 2023
fa0646e
v8.23
MichaIng Sep 30, 2023
c2ba4b9
v8.23
MichaIng Oct 1, 2023
144d374
v8.23
MichaIng Oct 1, 2023
ef13da5
v8.23
MichaIng Oct 1, 2023
c30cb7d
v8.23
MichaIng Oct 2, 2023
406ecfa
v8.23
MichaIng Oct 2, 2023
81121d4
v8.23
MichaIng Oct 2, 2023
bcceeda
v8.23
MichaIng Oct 2, 2023
0333330
v8.23
MichaIng Oct 4, 2023
e6f10a7
v8.23
MichaIng Oct 8, 2023
0812ad7
v8.23
MichaIng Oct 8, 2023
78c43aa
v8.23
MichaIng Oct 8, 2023
84cc7c4
v8.23
MichaIng Oct 8, 2023
c5e6013
v8.23
MichaIng Oct 9, 2023
c8c6d8e
v8.23
MichaIng Oct 12, 2023
3aafe6e
v8.23 (#6661)
dirkhh Oct 12, 2023
a3b5bc2
v8.23
MichaIng Oct 12, 2023
9106d7a
v8.23
MichaIng Oct 12, 2023
60934c6
v8.23
MichaIng Oct 12, 2023
5745845
v8.23
MichaIng Oct 12, 2023
6cab64c
v8.23
MichaIng Oct 13, 2023
26b2021
v8.23 (#6674)
TDuffinNTU Oct 14, 2023
8292733
v8.23
MichaIng Oct 14, 2023
a313f43
v8.23 (#6680)
MichaIng Oct 14, 2023
8a241ca
v8.23
MichaIng Oct 15, 2023
42a12f8
v8.23
MichaIng Oct 15, 2023
fa367d2
v8.23
MichaIng Oct 15, 2023
81cbb9d
v8.23
MichaIng Oct 15, 2023
76d6ce1
v8.23
MichaIng Oct 15, 2023
8fc8e4b
v8.23
MichaIng Oct 15, 2023
7ef8d6c
v8.23
MichaIng Oct 15, 2023
1438f7d
v8.23
MichaIng Oct 17, 2023
5bc833a
v8.23
MichaIng Oct 17, 2023
fbc2bf1
v8.23
MichaIng Oct 17, 2023
e7180be
Beta v8.23.0 (#6686)
MichaIng Oct 17, 2023
26806be
v8.23
MichaIng Oct 18, 2023
a93f4fd
v8.23
MichaIng Oct 18, 2023
18d660a
v8.23
MichaIng Oct 18, 2023
f20fc85
v8.23
MichaIng Oct 18, 2023
04c0daa
v8.23
MichaIng Oct 18, 2023
a5c50e5
v8.23
MichaIng Oct 18, 2023
be3bc71
Beta v8.23.1 (#6691)
MichaIng Oct 18, 2023
9112eae
v8.23
MichaIng Oct 19, 2023
c0464d9
v8.23
MichaIng Oct 19, 2023
5d18c51
v8.23
MichaIng Oct 19, 2023
07e2a72
Beta v8.23.2 (#6696)
MichaIng Oct 19, 2023
427c0dd
v8.23 (#6653)
MichaIng Oct 19, 2023
c6a93ad
v8.23
MichaIng Oct 19, 2023
41fb261
v8.23
MichaIng Oct 21, 2023
49d3e84
v8.23
MichaIng Oct 21, 2023
5c20bbc
v8.23
MichaIng Oct 21, 2023
126673c
v8.23
MichaIng Oct 21, 2023
bb69e1e
v8.23
MichaIng Oct 21, 2023
61ee075
Beta v8.23.3 (#6697)
MichaIng Oct 21, 2023
9eef13b
v8.23
MichaIng Oct 21, 2023
11f5250
v8.23 (#6698)
MichaIng Oct 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .build/images/dietpi-build
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ case $HW_MODEL in
80) iname='OrangePi5' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=752;;
81) iname='VisionFive2' HW_ARCH=11 root_size=639;;
82) iname='OrangePi5Plus' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=752;;
83) iname='OrangePiZero3' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=752;;
84) iname='Star64' HW_ARCH=11 root_size=639;;
85) iname='ROCK5A' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=752;;
86) iname='ASUSTB2' HW_ARCH=3 partition_start=16 root_size=752;;
*) G_DIETPI-NOTIFY 1 "Invalid hardware model \"$HW_MODEL\" passed, aborting..."; exit 1;;
esac

Expand All @@ -146,7 +150,7 @@ case $HW_ARCH in
2) iarch='ARMv7' parch='armhf';;
3) iarch='ARMv8' parch='arm64';;
10) iarch='x86_64' parch='amd64';;
11) iarch='RISC-V' parch='riscv64' DISTRO=8 repo='https://deb.debian.org/debian-ports/' keyring='/usr/share/keyrings/debian-ports-archive-keyring.gpg';; # RISC-V architecture is available on Debian ports only
11) iarch='RISC-V' parch='riscv64' DISTRO=8;; # RISC-V architecture is available on Sid only, but internally DietPi handles it as Trixie
*) G_DIETPI-NOTIFY 1 "Invalid architecture \"$HW_ARCH\" passed, aborting..."; exit 1;;
esac

Expand All @@ -157,7 +161,7 @@ case $DISTRO in
7|8)
exclude=',gcc-8-base,gcc-9-base,gcc-10-base,gcc-11-base'
[[ $DISTRO == 7 ]] && distro='bookworm' || distro='trixie' exclude+=',gcc-12-base'
[[ $HW_ARCH == 11 ]] && distro='sid' # RISC-V architecture is available on Debian Sid/unstable only
[[ $HW_ARCH == 11 ]] && distro='sid' # RISC-V architecture is available on Sid only
# Raise root size where required
case $HW_MODEL in
1[256]|54|61|7[4569]) ((root_size+=128));;
Expand Down Expand Up @@ -207,8 +211,7 @@ fi
(( $efi_size )) || [[ $boot_size -gt 0 && $boot_fstype == 'fat'* ]] && apackages+=('dosfstools')

# Emulation support in case of incompatible architecture
# - TEMPORARY: Early exit for Trixie/Sid until systemd + QEMU incompatibility fix has been released: https://github.com/systemd/systemd/pull/28954
(( ( $G_HW_ARCH < 10 && $G_HW_ARCH < $HW_ARCH ) || ( ( $G_HW_ARCH == 10 || $G_HW_ARCH == 11 ) && $G_HW_ARCH != $HW_ARCH ) )) && { apackages+=('qemu-user-static' 'binfmt-support'); (( $DISTRO == 8 )) && { G_DIETPI-NOTIFY 1 'systemd on Trixie/Sid does currently not support QEMU emulation, aborting ...'; exit 0; } }
(( ( $G_HW_ARCH < 10 && $G_HW_ARCH < $HW_ARCH ) || ( ( $G_HW_ARCH == 10 || $G_HW_ARCH == 11 ) && $G_HW_ARCH != $HW_ARCH ) )) && apackages+=('qemu-user-static' 'binfmt-support')

# Virtual machine disk conversion
[[ $VMTYPE && $VMTYPE != 'raw' ]] && apackages+=('qemu-utils')
Expand All @@ -220,7 +223,6 @@ if [[ ! -f $keyring ]]
then
case $keyring in
*'raspbian'*) url='https://archive.raspbian.org/raspbian/pool/main/r/raspbian-archive-keyring/raspbian-archive-keyring_20120528.2_all.deb';;
*'debian-ports'*) url='https://deb.debian.org/debian/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyring_2023.02.01~deb11u1_all.deb';;
*) url='https://deb.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2023.4_all.deb';;
esac
G_EXEC curl -sSf "$url" -o /tmp/keyring.deb
Expand Down Expand Up @@ -401,7 +403,6 @@ G_EXEC mount -o X-mount.mkdir -t tmpfs tmpfs rootfs/var/lib/apt/lists
G_EXEC mount -o X-mount.mkdir -t tmpfs tmpfs rootfs/var/log
packages='apt,bash-completion,bzip2,ca-certificates,cron,curl,fdisk,gnupg,htop,iputils-ping,locales,nano,p7zip,parted,procps,psmisc,sudo,systemd-sysv,tzdata,udev,unzip,wget,whiptail,'
[[ $HW_MODEL == 75 ]] && packages+='iproute2' || packages+='console-setup,dropbear,ethtool,fake-hwclock,ifupdown,isc-dhcp-client,kmod,rfkill,systemd-timesyncd,usbutils'
[[ $HW_ARCH == 11 ]] && packages+=',debian-ports-archive-keyring'
G_EXEC_POST_FUNC(){ [[ $exit_code == 0 ]] || cat /dev/shm/rootfs/debootstrap/debootstrap.log; }
G_EXEC_OUTPUT=1 G_EXEC debootstrap --variant=minbase --exclude="gcc-7-base$exclude" --include="$packages" --arch="$parch" --keyring="$keyring" "$distro" ./rootfs "$repo"
G_EXEC umount rootfs/dev rootfs/run rootfs/var/cache/apt rootfs/var/lib/apt/lists rootfs/var/log
Expand Down Expand Up @@ -582,7 +583,7 @@ then

# Workaround invalid TERM on login
# shellcheck disable=SC2016
G_EXEC eval 'echo '\''infocmp "$TERM" > /dev/null 2>&1 || export TERM=dumb'\'' > rootfs/etc/bashrc.d/00-dietpi-build.sh'
G_EXEC eval 'echo '\''infocmp "$TERM" > /dev/null 2>&1 || { echo "[ INFO ] Unsupported TERM=\"$TERM\", switching to TERM=\"dumb\""; export TERM=dumb; }'\'' > rootfs/etc/bashrc.d/00-dietpi-build.sh'

# Workaround for failing IPv4 network connectivity check as GitHub Actions runners do not receive external ICMP echo replies.
G_CONFIG_INJECT 'CONFIG_CHECK_CONNECTION_IP=' 'CONFIG_CHECK_CONNECTION_IP=127.0.0.1' rootfs/boot/dietpi.txt
Expand Down Expand Up @@ -619,7 +620,7 @@ G_EXEC rm -R /var/tmp/dietpi/logs
/boot/dietpi/func/dietpi-set_software apt-cache clean
G_EXEC rm /boot/dietpi/.{hw_model,dietpi-services_include_exclude} /boot/dietpi-wifi.txt
G_EXEC rm -Rf /{root,home/*}/.{bash_history,nano_history,wget-hsts,cache,local,config,gnupg,viminfo,dbus,gconf,nano,vim,zshrc,oh-my-zsh} /etc/*- /var/{cache/debconf,lib/dpkg}/*-old /var/lib/dhcp/{,.??,.[^.]}*
# Remove unique Roon IDs: https://community.roonlabs.com/t/roon-core-will-not-recognize-two-dietpi-allo-gui-roon-bridges-simultaneously/32563/18?u=dan_knight
# Remove unique Roon IDs: https://community.roonlabs.com/t/roon-core-will-not-recognize-two-dietpi-allo-gui-roon-bridges-simultaneously/32563/18
G_EXEC rm -f /mnt/dietpi_userdata/roon/{RoonBridge,RAATServer}/Settings/unique_id

# Re-create required log dirs
Expand Down
Loading