Skip to content

Commit

Permalink
v8.23
Browse files Browse the repository at this point in the history
- ROCK 3A | Install new kernel and U-Boot builds from our server, since the Armbian APT repo ships >6 month old versions, and none at all on Trixie suite
  • Loading branch information
MichaIng committed Sep 30, 2023
1 parent b04b43b commit 44d8214
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .build/images/dietpi-installer
Original file line number Diff line number Diff line change
Expand Up @@ -1058,8 +1058,8 @@ _EOF_
82) model='orangepi5-plus' kernel='rk35xx' branch='legacy';;
*) :;;
esac
# Download and pre-install U-Boot hosted on dietpi.com where it has not been ported to the Armbian Bookworm repo or has been removed completely
if (( $dietpi_com && $G_DISTRO > 6 || $G_HW_MODEL == 62 ))
# Download and pre-install U-Boot hosted on dietpi.com where the Armbian APT repo provides none or a too old version
if (( $dietpi_com && $G_DISTRO > 6 || $G_HW_MODEL == 62 || $G_HW_MODEL == 77 ))
then
G_EXEC curl -sSfo package.deb "https://dietpi.com/downloads/binaries/linux-u-boot-$model-$branch.deb"
G_EXEC_OUTPUT=1 G_EXEC dpkg -i package.deb
Expand Down Expand Up @@ -1097,14 +1097,14 @@ _EOF_
#G_EXEC rm package.deb
G_AGI initramfs-tools u-boot-tools armbian-firmware "${zstd[@]}"
[[ ${zstd[0]} ]] && G_CONFIG_INJECT 'COMPRESS=' 'COMPRESS=zstd' /etc/initramfs-tools/initramfs.conf
# Download and pre-install kernel hosted on dietpi.com where the Armbian APT repo provides a too old version
#if [[ $G_HW_MODEL =~ ^(78|80|82)$ || ( $kernel == 'rockchip64' && $branch == 'current' ) ]]
#then
# G_EXEC_OUTPUT=1 G_EXEC curl -fo package1.deb "https://dietpi.com/downloads/binaries/linux-image-$branch-$kernel.deb"
# G_EXEC_OUTPUT=1 G_EXEC curl -fo package2.deb "https://dietpi.com/downloads/binaries/linux-dtb-$branch-$kernel.deb"
# G_EXEC_OUTPUT=1 G_EXEC dpkg -i package1.deb package2.deb
# G_EXEC rm package1.deb package2.deb
#fi
# Download and pre-install kernel hosted on dietpi.com where the Armbian APT repo provides none or a too old version
if (( $G_HW_MODEL == 77 ))
then
G_EXEC_OUTPUT=1 G_EXEC curl -fo package1.deb "https://dietpi.com/downloads/binaries/linux-image-$branch-$kernel.deb"
G_EXEC_OUTPUT=1 G_EXEC curl -fo package2.deb "https://dietpi.com/downloads/binaries/linux-dtb-$branch-$kernel.deb"
G_EXEC_OUTPUT=1 G_EXEC dpkg -i package1.deb package2.deb
G_EXEC rm package1.deb package2.deb
fi
G_AGI linux-{image,dtb}-"$branch-$kernel" "linux-u-boot-$model-$branch"
# Cleanup
[[ $G_HW_MODEL != 10 && -f '/boot/uImage' ]] && G_EXEC rm /boot/uImage
Expand Down

0 comments on commit 44d8214

Please sign in to comment.