Skip to content

Commit

Permalink
v9.5
Browse files Browse the repository at this point in the history
- APT | Add URL components for 64-bit Amlogic SoC SBCs
  • Loading branch information
MichaIng committed May 26, 2024
1 parent 4b9edba commit 81c04ee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .update/patches
Original file line number Diff line number Diff line change
Expand Up @@ -1631,6 +1631,14 @@ _EOF_

Patch_9_5()
{
# Update DietPi APT list for several SBCs we added components to our repo for
if [[ $PATCH_9_3_RAN == 0 && $G_HW_MODEL =~ ^(12|15|16|54|74)$ ]]
then
/boot/dietpi/func/dietpi-set_software apt-mirror dietpi
G_AGUP
G_AGUG
fi

# Update MPD flag on Bookworm and above: https://github.com/MusicPlayerDaemon/MPD/commit/ce77b14
(( $G_DISTRO > 6 )) && [[ -f '/etc/systemd/system/mpd.service.d/dietpi.conf' ]] && G_EXEC sed -i 's/no-daemon/systemd/' /etc/systemd/system/mpd.service.d/dietpi.conf

Expand Down
5 changes: 5 additions & 0 deletions dietpi/func/dietpi-set_software
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ $FP_SCRIPT rpi_kernel_choice <empty> Supported on Debian Bookworm or newer on R
[0-9]) all_components='rpi';;
10) all_components='odroidc1';;
11) all_components='odroidxu4';;
12) all_components='odroidc2';;
15) all_components='odroidn2';;
16) all_components='odroidc4';;
40) all_components='pinea64';;
44) all_components='pinebook';;
45) all_components='pineh64';;
Expand All @@ -146,6 +149,7 @@ $FP_SCRIPT rpi_kernel_choice <empty> Supported on Debian Bookworm or newer on R
;;
esac
;;
54) all_components='nanopik2';;
56) all_components='nanopineo3';;
57) all_components='nanopineoplus2';;
59) all_components='zeropi';;
Expand Down Expand Up @@ -190,6 +194,7 @@ $FP_SCRIPT rpi_kernel_choice <empty> Supported on Debian Bookworm or newer on R
66) all_components='nanopim1plus';;
67) all_components='nanopik1plus';;
70) all_components='sparkysbc';;
74) all_components='radxazero';;
76)
# Detect variant either based on $HW_VARIANT environment variable, existing "all" components or installed U-Boot package
# shellcheck disable=SC2154
Expand Down

0 comments on commit 81c04ee

Please sign in to comment.