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

Beta v8.18.1 #6397

Merged
merged 49 commits into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d2e513a
v8.18
MichaIng May 28, 2023
5991a7a
v8.18
MichaIng May 28, 2023
044ec97
v8.18
MichaIng May 28, 2023
e6d4ba3
v8.18
MichaIng May 28, 2023
42ec9a5
v8.18
MichaIng May 29, 2023
070f07c
v8.18
MichaIng May 29, 2023
46fd29b
v8.18
MichaIng May 29, 2023
70f7fae
v8.18
MichaIng May 29, 2023
afd1ca1
v8.18
MichaIng May 29, 2023
97e380a
v8.18
MichaIng May 29, 2023
45c6b01
v8.18
MichaIng May 29, 2023
a6973d0
v8.18
MichaIng May 29, 2023
baf4e55
v8.18
MichaIng May 29, 2023
79fc97a
v8.18
MichaIng May 29, 2023
8d79764
v8.18
MichaIng May 29, 2023
6bde129
v8.18
MichaIng May 29, 2023
fcd7ce8
v8.18
MichaIng May 29, 2023
9852c8a
v8.18
MichaIng May 29, 2023
6dbcd55
v8.18
MichaIng May 30, 2023
0844cf8
v8.18
MichaIng May 30, 2023
00cefd7
v8.18
MichaIng May 30, 2023
4f7b007
v8.18
MichaIng May 30, 2023
5406f65
v8.18 (#6398)
MichaIng May 30, 2023
18b3e4d
v8.18
MichaIng May 30, 2023
83ec236
v8.18
MichaIng May 30, 2023
7639bb3
v8.18
MichaIng May 30, 2023
8769e0a
v8.18
MichaIng May 31, 2023
7456ef4
v8.18 (#6401)
MichaIng May 31, 2023
92c2502
v8.18
MichaIng May 31, 2023
d75e1d7
v8.18
MichaIng May 31, 2023
5809033
v8.18
MichaIng May 31, 2023
8bcf6f5
v8.18
MichaIng May 31, 2023
1ae7661
v8.18
MichaIng May 31, 2023
751d963
v8.18
MichaIng May 31, 2023
f31655f
v8.18
MichaIng May 31, 2023
6d589b8
v8.18
MichaIng May 31, 2023
f7df163
v8.18
MichaIng May 31, 2023
133f17d
v8.18
MichaIng May 31, 2023
0f7d0f0
v8.18
MichaIng Jun 1, 2023
2c72095
v8.18
MichaIng Jun 1, 2023
b0bc3ad
v8.18
MichaIng Jun 1, 2023
a2bcfd5
v8.18
MichaIng Jun 1, 2023
3315289
v8.18
MichaIng Jun 1, 2023
5f52da2
v8.18
MichaIng Jun 1, 2023
a02120f
v8.18
MichaIng Jun 1, 2023
378ef32
v8.18 (#6405)
MichaIng Jun 1, 2023
4ee5e6a
v8.18
MichaIng Jun 1, 2023
53f378e
v8.18
MichaIng Jun 1, 2023
175fd61
v8.18
MichaIng Jun 2, 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
2 changes: 1 addition & 1 deletion .build/software/shairport-sync/container_build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ do
esac
shift
done
[[ $DISTRO =~ ^'buster'|'bullseye'|'bookworm'$ ]] || { G_DIETPI-NOTIFY 1 "Invalid distro \"$DISTRO\" passed, aborting..."; exit 1; }
[[ $DISTRO =~ ^('buster'|'bullseye'|'bookworm')$ ]] || { G_DIETPI-NOTIFY 1 "Invalid distro \"$DISTRO\" passed, aborting..."; exit 1; }
case $ARCH in
'armv6l') image="DietPi_Container-ARMv6-${DISTRO^}" arch=1;;
'armv7l') image="DietPi_Container-ARMv7-${DISTRO^}" arch=2;;
Expand Down
12 changes: 10 additions & 2 deletions .build/software/squeezelite/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,21 @@ DEPS_APT_VERSIONED=${DEPS_APT_VERSIONED%,}
# shellcheck disable=SC2001
grep -q 'raspbian' /etc/os-release && DEPS_APT_VERSIONED=$(sed 's/+rp[it][0-9]\+[^)]*)/)/g' <<< "$DEPS_APT_VERSIONED") || DEPS_APT_VERSIONED=$(sed 's/+b[0-9]\+)/)/g' <<< "$DEPS_APT_VERSIONED")

# - Obtain version
version="$(mawk -F\" '/MAJOR_VERSION/{print $2;exit}' squeezelite-master/squeezelite.h).$(mawk -F\" '/MINOR_VERSION/{print $2;exit}' squeezelite-master/squeezelite.h)-$(mawk -F\" '/MICRO_VERSION/{print $2;exit}' squeezelite-master/squeezelite.h)"
G_EXEC curl -sSfo package.deb "https://dietpi.com/downloads/binaries/$G_DISTRO_NAME/squeezelite_$G_HW_ARCH_NAME.deb"
old_version=$(dpkg-deb -f package.deb Version)
G_EXEC rm package.deb
suffix=${old_version#*-dietpi}
[[ $old_version == "$version-"* ]] && suffix="dietpi$((suffix+1))" || suffix="dietpi1"

# - control
cat << _EOF_ > "$DIR/DEBIAN/control"
Package: squeezelite
Version: $(mawk -F\" '/MAJOR_VERSION/{print $2;exit}' squeezelite-master/squeezelite.h).$(mawk -F\" '/MINOR_VERSION/{print $2;exit}' squeezelite-master/squeezelite.h)-$(mawk -F\" '/MICRO_VERSION/{print $2;exit}' squeezelite-master/squeezelite.h)-dietpi1
Version: $version-$suffix
Architecture: $(dpkg --print-architecture)
Maintainer: MichaIng <[email protected]>
Date: $(date '+%a, %d %b %Y %T %z')
Date: $(date -u '+%a, %d %b %Y %T %z')
Standards-Version: 4.6.2.0
Installed-Size: $(du -sk "$DIR" | mawk '{print $1}')
Depends:$DEPS_APT_VERSIONED
Expand Down
25 changes: 10 additions & 15 deletions .build/software/squeezelite/container_build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -43,26 +43,21 @@ do
esac
shift
done
case $DISTRO in
5) distro='buster';;
6) distro='bullseye';;
7) distro='bookworm';;
*) G_DIETPI-NOTIFY 1 "Invalid distro \"$DISTRO\" passed, aborting..."; exit 1;;
esac
[[ $DISTRO =~ ^('buster'|'bullseye'|'bookworm')$ ]] || { G_DIETPI-NOTIFY 1 "Invalid distro \"$DISTRO\" passed, aborting..."; exit 1; }
case $ARCH in
1) image="DietPi_Container-ARMv6-${distro^}" arch='armv6l';;
2) image="DietPi_Container-ARMv7-${distro^}" arch='armv7l';;
3) image="DietPi_Container-ARMv8-${distro^}" arch='aarch64';;
10) image="DietPi_Container-x86_64-${distro^}" arch='x86_64';;
11) image='DietPi_Container-RISC-V-Sid' arch='riscv64';;
'armv6l') image="DietPi_Container-ARMv6-${DISTRO^}" arch=1;;
'armv7l') image="DietPi_Container-ARMv7-${DISTRO^}" arch=2;;
'aarch64') image="DietPi_Container-ARMv8-${DISTRO^}" arch=3;;
'x86_64') image="DietPi_Container-x86_64-${DISTRO^}" arch=10;;
'riscv64') image='DietPi_Container-RISC-V-Sid' arch=11;;
*) G_DIETPI-NOTIFY 1 "Invalid architecture \"$ARCH\" passed, aborting..."; exit 1;;
esac

##########################################
# Dependencies
##########################################
apackages=('7zip' 'parted' 'fdisk' 'systemd-container')
(( $G_HW_ARCH == $ARCH || ( $G_HW_ARCH < 10 && $G_HW_ARCH > $ARCH ) )) || apackages+=('qemu-user-static' 'binfmt-support')
(( $G_HW_ARCH == $arch || ( $G_HW_ARCH < 10 && $G_HW_ARCH > $arch ) )) || apackages+=('qemu-user-static' 'binfmt-support')
G_AG_CHECK_INSTALL_PREREQ "${apackages[@]}"

##########################################
Expand Down Expand Up @@ -92,7 +87,7 @@ G_EXEC mount "${FP_LOOP}p1" rootfs
G_CONFIG_INJECT 'AUTO_SETUP_AUTOMATED=' 'AUTO_SETUP_AUTOMATED=1' rootfs/boot/dietpi.txt

# Force ARMv6 arch on Raspbian
(( $ARCH == 1 )) && echo 'sed -i -e '\''/^G_HW_ARCH=/c\G_HW_ARCH=1'\'' -e '\''/^G_HW_ARCH_NAME=/c\G_HW_ARCH_NAME=armv6l'\'' /boot/dietpi/.hw_model' > rootfs/boot/Automation_Custom_PreScript.sh
(( $arch == 1 )) && echo 'sed -i -e '\''/^G_HW_ARCH=/c\G_HW_ARCH=1'\'' -e '\''/^G_HW_ARCH_NAME=/c\G_HW_ARCH_NAME=armv6l'\'' /boot/dietpi/.hw_model' > rootfs/boot/Automation_Custom_PreScript.sh

# Avoid DietPi-Survey uploads to not mess with the statistics
G_EXEC rm rootfs/root/.ssh/known_hosts
Expand All @@ -109,13 +104,13 @@ cat << _EOF_ > rootfs/boot/Automation_Custom_Script.sh || exit 1
#!/bin/dash
echo '[ INFO ] Running Squeezelite build script...'
bash -c "\$(curl -sSf 'https://raw.githubusercontent.com/$G_GITOWNER/DietPi/$G_GITBRANCH/.build/software/squeezelite/build.bash')"
mv -v '/tmp/squeezelite_$arch.deb' /
mv -v '/tmp/squeezelite_$ARCH.deb' /
poweroff
_EOF_

##########################################
# Boot container
##########################################
systemd-nspawn -bD rootfs
[[ -f rootfs/squeezelite_$arch.deb ]] || exit 1
[[ -f rootfs/squeezelite_$ARCH.deb ]] || exit 1
}
Binary file added .conf/desktop/lxqt/lxqt-bookworm.7z
Binary file not shown.
Binary file removed .conf/desktop/lxqt/lxqt-stretch.7z
Binary file not shown.
2 changes: 1 addition & 1 deletion .conf/dps_59/raspimjpeg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/dash
#!/bin/dash -e
{
#////////////////////////////////////
# DietPi Raspimjpeg control Script
Expand Down
Loading