diff --git a/.build/images/dietpi-build b/.build/images/dietpi-build index 7cd289f46a..2a931f5470 100755 --- a/.build/images/dietpi-build +++ b/.build/images/dietpi-build @@ -184,7 +184,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;; # RISC-V architecture is available on Sid only, but internally DietPi handles it as Trixie + 11) iarch='RISC-V' parch='riscv64' DISTRO=8;; # RISC-V architecture is available on Trixie only. *) G_DIETPI-NOTIFY 1 "Invalid architecture \"$HW_ARCH\" passed, aborting..."; exit 1;; esac @@ -194,7 +194,6 @@ case $DISTRO in 8) distro='trixie';; *) G_DIETPI-NOTIFY 1 "Invalid distro \"$DISTRO\" passed, aborting..."; exit 1;; esac -[[ $HW_ARCH == 11 ]] && distro='sid' # RISC-V architecture is available on Sid only case $PTTYPE in 'msdos') :;; @@ -610,7 +609,7 @@ then # Install Allo GUI via automated first run setup right here G_CONFIG_INJECT 'AUTO_SETUP_AUTOMATED=' 'AUTO_SETUP_AUTOMATED=1' rootfs/boot/dietpi.txt - # - Workaround for skipped autologin in emulated Trixie/Sid containers: https://gitlab.com/qemu-project/qemu/-/issues/1962 + # - Workaround for skipped autologin in emulated Trixie containers: https://gitlab.com/qemu-project/qemu/-/issues/1962 if (( $DISTRO == 8 && $G_HW_ARCH != $HW_ARCH && ( $G_HW_ARCH > 9 || $G_HW_ARCH < $HW_ARCH ) )) then cat << '_EOF_' > rootfs/etc/systemd/system/dietpi-automation.service @@ -712,7 +711,7 @@ _EOF_ # Revert ARMv6 Workaround (( $HW_ARCH == 1 )) && G_EXEC rm rootfs/usr/local/bin/uname - # Revert workaround for skipped autologin in emulated Trixie/Sid containers: https://gitlab.com/qemu-project/qemu/-/issues/1962 + # Revert workaround for skipped autologin in emulated Trixie containers: https://gitlab.com/qemu-project/qemu/-/issues/1962 (( $DISTRO == 8 )) && G_EXEC rm rootfs/etc/systemd/system/{multi-user.target.wants/,}dietpi-automation.service [[ -f 'rootfs/success' ]] || { G_DIETPI-NOTIFY 1 'The container setup did not finish successfully, aborting...'; exit 1; } diff --git a/.build/software/Amiberry/container_build.bash b/.build/software/Amiberry/container_build.bash index d4afd8c8ac..5063d9a470 100755 --- a/.build/software/Amiberry/container_build.bash +++ b/.build/software/Amiberry/container_build.bash @@ -60,7 +60,7 @@ case $PLATFORM in 'rpi'[345]'-64-'*|'AMLSM1'|'n2'|'a64'|'rk3588') image="ARMv8-${DISTRO^}" arch=3;; 'rpi'[2-5]*|'c1'|'xu4'|'RK3288'|'sun8i'|'s812') image="ARMv7-${DISTRO^}" arch=2;; 'x86-64') image="x86_64-${DISTRO^}" arch=10;; - 'riscv64') image='RISC-V-Sid' arch=11;; + 'riscv64') image="RISC-V-${DISTRO^}" arch=11;; *) Error_Exit "Invalid platform \"$PLATFORM\" passed";; esac image="DietPi_Container-$image.img" @@ -119,7 +119,7 @@ G_EXEC mount "${FP_LOOP}p1" rootfs # Enable automated setup G_CONFIG_INJECT 'AUTO_SETUP_AUTOMATED=' 'AUTO_SETUP_AUTOMATED=1' rootfs/boot/dietpi.txt -# - Workaround for skipped autologin in emulated Trixie/Sid containers: https://gitlab.com/qemu-project/qemu/-/issues/1962 +# - Workaround for skipped autologin in emulated Trixie containers: https://gitlab.com/qemu-project/qemu/-/issues/1962 if [[ $DISTRO == 'trixie' ]] && (( $G_HW_ARCH != $arch && ( $G_HW_ARCH > 9 || $G_HW_ARCH < $arch ) )) then cat << '_EOF_' > rootfs/etc/systemd/system/dietpi-automation.service diff --git a/.build/software/dietpi-software-build.bash b/.build/software/dietpi-software-build.bash index b33e9ea8b6..7fdf703373 100644 --- a/.build/software/dietpi-software-build.bash +++ b/.build/software/dietpi-software-build.bash @@ -64,7 +64,7 @@ case $ARCH in 'armv7l') image="ARMv7-${DISTRO^}" arch=2;; 'aarch64') image="ARMv8-${DISTRO^}" arch=3;; 'x86_64') image="x86_64-${DISTRO^}" arch=10;; - 'riscv64') image='RISC-V-Sid' arch=11; [[ $DISTRO == 'trixie' ]] || Error_Exit "Invalid distro \"$DISTRO\" for arch \"$ARCH\" passed, only \"trixie\" is supported";; + 'riscv64') image="RISC-V-${DISTRO^}" arch=11; [[ $DISTRO == 'trixie' ]] || Error_Exit "Invalid distro \"$DISTRO\" for arch \"$ARCH\" passed, only \"trixie\" is supported";; *) Error_Exit "Invalid architecture \"$ARCH\" passed";; esac image="DietPi_Container-$image.img" @@ -123,7 +123,7 @@ G_EXEC mount "${FP_LOOP}p1" rootfs # Enable automated setup G_CONFIG_INJECT 'AUTO_SETUP_AUTOMATED=' 'AUTO_SETUP_AUTOMATED=1' rootfs/boot/dietpi.txt -# - Workaround for skipped autologin in emulated Trixie/Sid containers: https://gitlab.com/qemu-project/qemu/-/issues/1962 +# - Workaround for skipped autologin in emulated Trixie containers: https://gitlab.com/qemu-project/qemu/-/issues/1962 if [[ $DISTRO == 'trixie' ]] && (( $G_HW_ARCH != $arch && ( $G_HW_ARCH > 9 || $G_HW_ARCH < $arch ) )) then cat << '_EOF_' > rootfs/etc/systemd/system/dietpi-automation.service diff --git a/.github/workflows/dietpi-software.bash b/.github/workflows/dietpi-software.bash index 1b5b1ebcc2..85d46bbe4c 100644 --- a/.github/workflows/dietpi-software.bash +++ b/.github/workflows/dietpi-software.bash @@ -66,7 +66,7 @@ case $ARCH in 'armv7l') image="ARMv7-${DISTRO^}" arch=2;; 'aarch64') image="ARMv8-${DISTRO^}" arch=3;; 'x86_64') image="x86_64-${DISTRO^}" arch=10;; - 'riscv64') image='RISC-V-Sid' arch=11;; + 'riscv64') image="RISC-V-${DISTRO^}" arch=11;; *) G_DIETPI-NOTIFY 1 "Invalid architecture \"$ARCH\" passed, aborting..."; exit 1;; esac image="DietPi_Container-$image.img" @@ -355,7 +355,7 @@ G_EXEC eval 'echo '\''infocmp "$TERM" > /dev/null 2>&1 || { echo "[ INFO ] Unsup # Enable automated setup G_CONFIG_INJECT 'AUTO_SETUP_AUTOMATED=' 'AUTO_SETUP_AUTOMATED=1' rootfs/boot/dietpi.txt -# - Workaround for skipped autologin in emulated Trixie/Sid containers: https://gitlab.com/qemu-project/qemu/-/issues/1962 +# - Workaround for skipped autologin in emulated Trixie containers: https://gitlab.com/qemu-project/qemu/-/issues/1962 # - Set HOME path, required e.g. go builds, which is otherwise missing when started from a systemd unit. if [[ $DISTRO == 'trixie' ]] && (( $G_HW_ARCH != $arch && ( $G_HW_ARCH > 9 || $G_HW_ARCH < $arch ) )) then diff --git a/.update/patches b/.update/patches index ff85e4928f..10bf45f42d 100755 --- a/.update/patches +++ b/.update/patches @@ -2069,6 +2069,14 @@ Patch_9_9() Patch_9_10() { + # RISC-V + if (( $G_HW_ARCH == 11 )) + then + G_DIETPI-NOTIFY 2 'Migrating RISC-V systems from Debian Sid/unstable to Trixie/testing ...' + local apt_mirror=$(mawk '$1=="deb"{print $2;exit}' /etc/apt/sources.list) + /boot/dietpi/func/dietpi-set_software apt-mirror "${apt_mirror:-default}" + fi + # Software updates, migrations and patches if [[ -f '/boot/dietpi/.installed' ]] then diff --git a/.update/pre-patches b/.update/pre-patches index f6abfb0761..39c51a5e8d 100755 --- a/.update/pre-patches +++ b/.update/pre-patches @@ -453,5 +453,15 @@ then fi fi +# v9.10 +if (( $G_DIETPI_VERSION_CORE < 9 || ( $G_DIETPI_VERSION_CORE == 9 && $G_DIETPI_VERSION_SUB < 10 ) )) +then + if (( $G_HW_ARCH == 11 )) + then + G_DIETPI-NOTIFY 2 'Migrating RISC-V systems from Debian Sid/unstable to Trixie/testing ...' + G_EXEC sed -i 's/ sid / trixie /' /etc/apt/sources.list + fi +fi + exit 0 } diff --git a/CHANGELOG.txt b/CHANGELOG.txt index cd4c0c9e35..6437b7645b 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -4,6 +4,8 @@ v9.10 New images: Enhancements: +- RISC-V | Debian Trixie does now support this architecture, hence our VisionFive 2 and Star64 images are now provided with Debian Trixie/testing instead of Debian Sid/unstable, and existing systemd will be migrated to the Trixie suite. +- RISC-V | Additional software options have been enabled for RISC-V systems: NZBGet, MicroK8s and AdGuard Home - DietPi-Software | myMPD: We enabled the software option for ARMv6 Bookworm systems, since packages for Raspbian Bookworm are now available. Many thanks to @hackslikeus for bringing up the topic: https://github.com/MichaIng/DietPi/issues/7345 Bug fixes: diff --git a/dietpi/dietpi-software b/dietpi/dietpi-software index 3a79afe0ec..07393cfb39 100755 --- a/dietpi/dietpi-software +++ b/dietpi/dietpi-software @@ -306,7 +306,7 @@ Available commands: aSOFTWARE_CATX[$software_id]=1 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/remote_desktop/#nomachine' aSOFTWARE_DEPS[$software_id]='desktop' - # - RISC-V: No package: https://downloads.nomachine.com/ + # - RISC-V: https://downloads.nomachine.com/ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=120 @@ -341,7 +341,7 @@ Available commands: aSOFTWARE_CATX[$software_id]=2 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/media/#mympd' aSOFTWARE_DEPS[$software_id]='128' - # - RISC-V: No package: https://download.opensuse.org/repositories/home:/jcorporation/Debian_Testing/ + # - RISC-V: https://download.opensuse.org/repositories/home:/jcorporation/Debian_Testing/ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 # - ARMv6 Trixie: No Raspbian_Testing suite available and Bookworm package depends on libflac12 (( $G_HW_ARCH == 1 && $G_DISTRO > 7 )) && aSOFTWARE_AVAIL_G_DISTRO[$software_id,$G_DISTRO]=0 @@ -365,7 +365,7 @@ Available commands: aSOFTWARE_DESC[$software_id]='formerly Logitech Media Server and Squeezebox Server' aSOFTWARE_CATX[$software_id]=2 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/media/#lyrion-music-server' - # - RISC-V: No package: https://lms-community.github.io/lms-server-repository/stable.xml + # - RISC-V: https://lms-community.github.io/lms-server-repository/stable.xml aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=36 @@ -402,7 +402,7 @@ Available commands: aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/media/#emby' # - ARMv6: https://github.com/MichaIng/DietPi/issues/534#issuecomment-416405968 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,1]=0 - # - RISC-V: No package: https://github.com/MediaBrowser/Emby.Releases/releases + # - RISC-V: https://github.com/MediaBrowser/Emby.Releases/releases aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=42 @@ -412,7 +412,7 @@ Available commands: aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/media/#plex-media-server' # - ARMv6: https://github.com/MichaIng/DietPi/issues/648 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,1]=0 - # - RISC-V: No package: https://www.plex.tv/media-server-downloads/?cat=computer&plat=linux#plex-media-server + # - RISC-V: https://www.plex.tv/media-server-downloads/?cat=computer&plat=linux#plex-media-server aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=43 @@ -436,7 +436,7 @@ Available commands: aSOFTWARE_DEPS[$software_id]='5' # - ARMv6 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,1]=0 - # - RISC-V: No archive: https://help.roonlabs.com/portal/en/kb/articles/linux-install + # - RISC-V: https://help.roonlabs.com/portal/en/kb/articles/linux-install aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=124 @@ -445,7 +445,7 @@ Available commands: aSOFTWARE_CATX[$software_id]=2 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/media/#naa-daemon' aSOFTWARE_DEPS[$software_id]='5' - # - RISC-V: No packages: https://www.signalyst.eu/bins/naa/linux/ + # - RISC-V: https://www.signalyst.eu/bins/naa/linux/ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=128 @@ -518,7 +518,7 @@ Available commands: aSOFTWARE_CATX[$software_id]=2 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/media/#raspotify' aSOFTWARE_DEPS[$software_id]='5 152' - # - RISC-V: No package: https://github.com/dtcooper/raspotify/releases + # - RISC-V: https://github.com/dtcooper/raspotify/releases aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 # - Bookworm/Trixie on ARMv6 (older package): "/usr/bin/librespot: error while loading shared libraries: ld-linux.so.3: cannot open shared object file: No such file or directory" (( $G_HW_ARCH == 1 && $G_DISTRO > 6 )) && aSOFTWARE_AVAIL_G_DISTRO[$software_id,$G_DISTRO]=0 @@ -537,7 +537,7 @@ Available commands: aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/media/#komga' aSOFTWARE_DEPS[$software_id]='196' # - RISC-V: An embedded Java library has no RISC-V support yet: "Caused by: java.lang.Exception: No native library found for os.name=Linux, os.arch=riscv64" - aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 + #aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=86 aSOFTWARE_NAME[$software_id]='Roon Extension Manager' @@ -555,7 +555,7 @@ Available commands: aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/media/#jellyfin' # - ARMv6: https://github.com/jellyfin/jellyfin/issues/5011 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,1]=0 - # - RISC-V: No package: https://repo.jellyfin.org/releases/server/debian/unstable/ + # - RISC-V: https://repo.jellyfin.org/?path=/server/debian/latest-unstable aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=190 @@ -597,7 +597,7 @@ Available commands: aSOFTWARE_CATX[$software_id]=2 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/media/#navidrome' aSOFTWARE_DEPS[$software_id]='5 7' - # - RISC-V: No archive: https://github.com/navidrome/navidrome/releases/ + # - RISC-V: https://github.com/navidrome/navidrome/releases/ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=212 @@ -665,7 +665,7 @@ Available commands: aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/bittorrent/#sonarr' aSOFTWARE_DEPS[$software_id]='87' (( $G_HW_ARCH == 1 )) && aSOFTWARE_DEPS[$software_id]+=' 150' - # - RISC-V: Missing package + # - RISC-V: https://github.com/Sonarr/Sonarr/releases aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=145 @@ -675,7 +675,7 @@ Available commands: aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/bittorrent/#radarr' aSOFTWARE_DEPS[$software_id]='87' (( $G_HW_ARCH == 1 )) && aSOFTWARE_DEPS[$software_id]+=' 150' - # - RISC-V: Missing package + # - RISC-V: https://github.com/Radarr/Radarr/releases aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=106 @@ -685,7 +685,7 @@ Available commands: aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/bittorrent/#lidarr' aSOFTWARE_DEPS[$software_id]='87' (( $G_HW_ARCH == 1 )) && aSOFTWARE_DEPS[$software_id]+=' 150' - # - RISC-V: Missing package + # - RISC-V: https://github.com/Lidarr/Lidarr/releases aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=180 @@ -699,7 +699,7 @@ Available commands: # UnRAR x86_64 and ARMv8 binaries are shipped with Bazarr, ARMv6 needs to use "unar": https://github.com/morpheus65535/bazarr-binaries/tree/master/bin/Linux, https://github.com/morpheus65535/bazarr/issues/2172 (( $G_HW_ARCH == 2 )) && aSOFTWARE_DEPS[$software_id]+=' 170' # - RISC-V: webrtcvad-wheels build fails with: "cbits/webrtc/typedefs.h:61:2: error: #error Please add support for your architecture in typedefs.h" - aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 + #aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=147 aSOFTWARE_NAME[$software_id]='Jackett' @@ -707,7 +707,7 @@ Available commands: aSOFTWARE_CATX[$software_id]=3 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/bittorrent/#jackett' (( $G_HW_ARCH == 1 )) && aSOFTWARE_DEPS[$software_id]='150' - # - RISC-V: Missing package + # - RISC-V: https://github.com/Jackett/Jackett/releases aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=149 @@ -715,8 +715,6 @@ Available commands: aSOFTWARE_DESC[$software_id]='NZB download manager' aSOFTWARE_CATX[$software_id]=3 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/bittorrent/#nzbget' - # - RISC-V: Installer does not support it yet: https://nzbget.net/download/nzbget-latest-bin-linux.run - aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=151 aSOFTWARE_NAME[$software_id]='Prowlarr' @@ -726,7 +724,7 @@ Available commands: aSOFTWARE_DEPS[$software_id]='87' # - ARMv6 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,1]=0 - # - RISC-V: Missing package + # - RISC-V: https://github.com/Prowlarr/Prowlarr/releases aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=203 @@ -737,7 +735,7 @@ Available commands: aSOFTWARE_DEPS[$software_id]='87' # - ARMv6 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,1]=0 - # - RISC-V: Missing package + # - RISC-V: https://github.com/Readarr/Readarr/releases aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=155 @@ -798,7 +796,7 @@ Available commands: aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/cloud/#urbackup' # - ARMv6 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,1]=0 - # - RISC-V: Missing package: https://www.urbackup.org/download.html#server_debian + # - RISC-V: https://www.urbackup.org/download.html#server_debian aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=49 @@ -820,7 +818,7 @@ Available commands: aSOFTWARE_DESC[$software_id]='S3 compatible distributed object server' aSOFTWARE_CATX[$software_id]=4 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/cloud/#minio' - # - RISC-V: Missing package: https://dl.minio.io/server/minio/release/ + # - RISC-V: https://dl.minio.io/server/minio/release/ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=161 @@ -830,7 +828,7 @@ Available commands: aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/cloud/#fuguhub' # - ARMv8 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,3]=0 - # - RISC-V: Missing package + # - RISC-V: https://fuguhub.com/download.lsp aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=165 @@ -840,7 +838,7 @@ Available commands: aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/cloud/#gitea' aSOFTWARE_DEPS[$software_id]='17 88 0' aSOFTWARE_CONFLICTS[$software_id]='49 177' - # - RISC-V: Missing binary: https://github.com/go-gitea/gitea/releases + # - RISC-V: https://github.com/go-gitea/gitea/releases aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=177 @@ -850,7 +848,7 @@ Available commands: aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/cloud/#forgejo' aSOFTWARE_DEPS[$software_id]='17 88 0' aSOFTWARE_CONFLICTS[$software_id]='49 165' - # - RISC-V: Missing binary: https://codeberg.org/forgejo/forgejo/releases + # - RISC-V: https://codeberg.org/forgejo/forgejo/releases aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=183 @@ -912,7 +910,7 @@ Available commands: aSOFTWARE_DESC[$software_id]='Minecraft server with web interface (C++)' aSOFTWARE_CATX[$software_id]=5 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/gaming/#cuberite' - # - RISC-V: Missing binary + # - RISC-V: https://cuberite.org/ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=53 @@ -1141,7 +1139,7 @@ Available commands: aSOFTWARE_CATX[$software_id]=8 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/programming/#docker-compose' aSOFTWARE_DEPS[$software_id]='162' - # - RISC-V: Missing package: https://download.docker.com/linux/debian/dists/ + # - RISC-V: https://download.docker.com/linux/debian/dists/ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=193 @@ -1149,7 +1147,7 @@ Available commands: aSOFTWARE_DESC[$software_id]='The certified Kubernetes distribution built for IoT & Edge computing' aSOFTWARE_CATX[$software_id]=8 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/cloud/#k3s' - # - RISC-V: Not yet supported: https://github.com/k3s-io/k3s/issues/7151 + # - RISC-V: Not yet supported: https://get.k3s.io/ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=142 @@ -1157,8 +1155,6 @@ Available commands: aSOFTWARE_DESC[$software_id]='The simplest production-grade upstream K8s, light and focused' aSOFTWARE_CATX[$software_id]=8 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/cloud/#microk8s' - # - RISC-V: Missing package: https://packages.debian.org/sid/snapd - aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=200 aSOFTWARE_NAME[$software_id]='DietPi-Dashboard' @@ -1186,7 +1182,7 @@ Available commands: aSOFTWARE_DESC[$software_id]='Provides secure connections to your networked devices' aSOFTWARE_CATX[$software_id]=9 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/remote_desktop/#remot3it' - # - RISC-V: Missing package + # - RISC-V: https://www.remote.it/download-list aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=138 @@ -1195,7 +1191,7 @@ Available commands: aSOFTWARE_CATX[$software_id]=9 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/remote_desktop/#virtualhere' aSOFTWARE_DEPS[$software_id]='152' - # - RISC-V: Missing package + # - RISC-V: https://github.com/virtualhere/script/blob/main/install_server aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 # Hardware Projects @@ -1293,7 +1289,7 @@ Available commands: aSOFTWARE_DESC[$software_id]='platform for analytics and monitoring' aSOFTWARE_CATX[$software_id]=10 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/hardware_projects/#grafana' - # - RISC-V: Missing package + # - RISC-V: https://apt.grafana.com/dists/stable/main/binary-riscv64/Packages aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 # System Security @@ -1407,8 +1403,6 @@ Available commands: aSOFTWARE_CATX[$software_id]=13 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/dns_servers/#adguard-home' aSOFTWARE_CONFLICTS[$software_id]='93' - # - RISC-V: Missing binary: https://github.com/AdguardTeam/AdGuardHome/releases - aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=182 aSOFTWARE_NAME[$software_id]='Unbound' @@ -1526,7 +1520,7 @@ Available commands: aSOFTWARE_DESC[$software_id]='Open source home automation platform' aSOFTWARE_CATX[$software_id]=17 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/home_automation/#domoticz' - # - RISC-V: Missing archive: https://github.com/domoticz/domoticz/releases, https://www.domoticz.com/downloads/ + # - RISC-V: https://github.com/domoticz/domoticz/releases, https://www.domoticz.com/downloads/ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 # - Bookworm/Trixie ARM: https://github.com/domoticz/domoticz/issues/5233#issuecomment-1904906172 (( $G_HW_ARCH < 10 && $G_DISTRO > 6 )) && aSOFTWARE_AVAIL_G_DISTRO[$software_id,$G_DISTRO]=0 @@ -1552,7 +1546,7 @@ Available commands: aSOFTWARE_DESC[$software_id]='Bringing HomeKit support where there is none' aSOFTWARE_CATX[$software_id]=17 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/home_automation/#homebridge' - # - RISC-V: Missing packages: https://repo.homebridge.io/dists/stable/Release + # - RISC-V: https://repo.homebridge.io/dists/stable/Release aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ @@ -1611,7 +1605,7 @@ Available commands: aSOFTWARE_DESC[$software_id]='contribute to a decentralized internet' aSOFTWARE_CATX[$software_id]=19 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/distributed_projects/#ipfs-node' - # - RISC-V: Missing package: https://dist.ipfs.io/go-ipfs/ + # - RISC-V: https://dist.ipfs.io/go-ipfs/ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 # SSH Clients @@ -1764,7 +1758,7 @@ Available commands: aSOFTWARE_CATX[$software_id]=26 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/programming/#vscodium' aSOFTWARE_DEPS[$software_id]='5 6 17' - # - RISC-V: Missing package + # - RISC-V: https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/dists/vscodium/Release aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=188 @@ -1798,7 +1792,7 @@ Available commands: aSOFTWARE_DESC[$software_id]='Runtime libraries and repository' aSOFTWARE_CATX[$software_id]=26 aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/programming/#mono' - # - RISC-V: No package: https://download.mono-project.com/repo/debian/dists/buster/main/, https://packages.debian.org/sid/mono-runtime + # - RISC-V: https://download.mono-project.com/repo/debian/dists/buster/main/, https://packages.debian.org/trixie/mono-runtime aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=34 @@ -1852,7 +1846,7 @@ Available commands: aSOFTWARE_DEPS[$software_id]='5 6' # - ARMv6: https://github.com/RPi-Distro/chromium-browser/issues/21 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,1]=0 - # - RISC-V: Missing package: https://packages.debian.org/sid/chromium + # - RISC-V: https://packages.debian.org/trixie/chromium aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0 #------------------ software_id=67 @@ -6100,7 +6094,8 @@ _EOF_ 1) local arch='armv6';; 2) local arch='armv7';; 3) local arch='arm64';; - *) local arch='amd64';; + 10) local arch='amd64';; + *) local arch='riscv64';; esac Download_Install "https://static.adguard.com/adguardhome/release/AdGuardHome_linux_$arch.tar.gz" diff --git a/dietpi/func/dietpi-set_software b/dietpi/func/dietpi-set_software index ac6c45dbc0..2f9eaff946 100755 --- a/dietpi/func/dietpi-set_software +++ b/dietpi/func/dietpi-set_software @@ -308,13 +308,8 @@ $FP_SCRIPT rpi_kernel_choice Supported on Debian Bookworm or newer on R # RPi Trixie: Suite does not exist yet: https://archive.raspberrypi.com/debian/dists/ (( $G_HW_MODEL < 10 || ( $G_HW_MODEL == 75 && ${G_RASPBIAN:-0} == 1 ) )) && G_EXEC eval "echo 'deb https://archive.raspberrypi.com/debian ${G_DISTRO_NAME/trixie/bookworm} main' > /etc/apt/sources.list.d/raspi.list" - # RISC-V: Provided via Sid only - if (( $G_HW_ARCH == 11 )) - then - G_EXEC eval 'echo '\''deb https://deb.debian.org/debian sid main contrib non-free non-free-firmware'\'' > /etc/apt/sources.list' - # Raspbian - elif (( $G_RASPBIAN )) + if (( $G_RASPBIAN )) then [[ $INPUT_MODE_VALUE == 'default' ]] && INPUT_MODE_VALUE='http://raspbian.raspberrypi.com/raspbian'