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.14 #6139

Merged
merged 190 commits into from
Feb 11, 2023
Merged

Release v8.14 #6139

merged 190 commits into from
Feb 11, 2023

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Feb 8, 2023

v8.14

(2022-02-11)

New images

  • Orange Pi 5 | Support for Orange Pi 5 SBC has been added to DietPi with hardware ID 80.
  • Odroid N2/HC4 | New images have been generated with support for the default Hardkernel SPI bootloader petitboot. Thanks to this, boot from USB devices is now possible, and on Odroid HC4 it is not necessary anymore to erase the SPI flash or flash mainline U-Boot to it. Many thanks to @hstarcm and @Power-onoff for bringing up this topic and help testing adjustments to the boot script: Odroid N2/HC4 | Add support for petitboot>USB boot #5634
  • ROCK 5B | New images with ext4 boot filesystem have been generated, to solve possible issues and limitations of the previously used FAT filesystem. Many thanks to @isarrider for reporting this issue: Rock5 - bookworm image - dist upgrade fails #6122

New architecture

  • Initial experimental support for RISC-V and the StarFive VisionFive 2 SBC has been added. This is all in playground stage currently, but if anyone wants to join the party, contact us.

Enhancements

  • WiFi | Since Linux 4.15, the kernel can read the WiFi country code from connected access points, and searches the regulatory database for related allowed frequencies automatically. The Central Regulatory Domain Agent (CRDA) has hence become obsolete and isn't even functional if the kernel feature is used. Linux needs to have the regulatory database in specific format stored below /lib/firmware for this, which is the case since Debian Bullseye. Additionally, if no Debian kernel is used (all SBCs), one needs to change the used regulatory database from a Debian-only one to the upstream one. New DietPi image ship now with this setup without CRDA, it is applied on next DietPi update on Bullseye and Bookworm systems, and it is offered to purge the obsolete CRDA package. This also fixes the issue on Bookworm SBC systems, where the limited global (00) country code was used, since CRDA is not available on Bookworm, but the Debian-only regulatory database used by default.
  • NanoPi R2S/NEO3 | Video related kernel modules are now blacklisted on these headless SBCs, saving some bits of RAM and load at boot.
  • DietPi-Globals | G_CHECK_NET: When hitting "Retry" from the error handler, the IPv6 connection check is now skipped as well when IPv6 is disabled via dietpi-config network settings or manually. The same is true for changes to the CONFIG_CHECK_CONNECTION/DOMAIN dietpi.txt settings, which can now also be changed right from the error handler. Many thanks to @derSebastian for reporting a related issue: DietPi-Globals | G_CHECK_NET: Skip IPv6 check within G_EXEC loop when disabled #5667
  • DietPi-Config | It is now possible to change the dietpi.txt network connection test settings CONFIG_CHECK_CONNECTION_IP, CONFIG_CHECK_CONNECTION_IPV6 and CONFIG_CHECK_DNS_DOMAIN via dietpi-config Network Options: Misc menu. Those are used when checking Internet access via IPv4 and IPv6 and DNS resolver functionality.
  • DietPi-Config | The user experience of the network adapter options has been improved:
    • When changing the WiFi country code, the network is not restarted anymore and the check whether the country code has been successfully applied, has been dropped. When the kernel applies allowed frequencies directly (see above WiFi changelog entry), the country code cannot be changed anyway, and there are other cases where this fails. It is not worth the hassle of a full network restart only to check whether the country code is valid.
    • If WiFi settings are applied while no SSID has been configured yet, the interface is not tried to be brought up so that one does not need to wait for the DHCP timeout to continue.
    • The dialogue which offers to purge WiFi packages is now only shown if any of those packages is actually installed.
    • System services are not stopped and restarted anymore when applying network changes, but only hostapd and the DHCP server, if installed.
    • Most WiFi handling is now done with the modern iw utility instead of the legacy wireless-tools set.
  • DietPi-LetsEncrypt | HTTP/2 is now enabled automatically when applying HTTPS on Apache. Nginx and Lighttpd have this enabled OOTB already.
  • DietPi-Software | Gogs: Our ARMv6 build for Raspberry Pi 1 and Zero (1) models has been updated to latest version 0.12.10. The update can be applied via reinstall: dietpi-software reinstall 49
  • DietPi-Software | Docker Compose: Migrated to the plugin variant, installed from the Docker APT repository. On existing installs, the migration can be done via "dietpi-software reinstall 134". To call it, use docker compose (without dash) from now on. Many thanks to @isarrider for making us aware of this: DietPi-Software | Docker Compose: Switch from standalone binary to APT package #6135

Bug fixes

Signed-off-by: MichaIng <[email protected]>
- DietPi-Software | Docker: Resolved a v8.13 regression where Docker dependants (Portainer, Roon Extension Manager) failed to install as the Docker socket was not activated. Many thanks to @omavoss for reporting this issue: #6065
- DietPi-Software | TasmoAdmin: Update fallback URL
- DietPi-Software | Komga: Update fallback URL
- DietPi-Software | Gitea: Update fallback URL
- DietPi-Software | Komga: Update fallback URL
- DietPi-Installer | Replace all mentions of old name "DietPi-PREP"
- DietPi-Installer | Add some cleanup for Radxa images
- DietPi-Installer | Syntax
- DietPi-Software | Move to PHP 8.2 on Bookworm, which is not available with all required modules while PHP 8.1 packages are removed from the repo
- DietPi-Software | Nextcloud: Disable for Bookworm on ARMv6/7 since 32-bit is not supported from NC26 on but PHP 8.2 is not supported until NC26.
- DietPi-Services | Handle PHP 8.2 now on Bookworm
- DietPi-Installer | On native PC Bookworm images, install zstd for better initramfs compression, and where we know for sure that the kernel supports it
- DietPi-Installer | Harden initramfs-tools install decision: Install it whenever we are not sure that it's not required, based on actually installed kernel instead of on hardware model only
- DietPi-Software | Komga: Update fallback URL
- DietPi-Software | Minor code format
- DietPi-Software | Download_Install: Add support for xz and tgz archives. "tar.xz" is currently not supported. A differenciation between "tar.xz" (contains a directory or multiple files, unpacked with tar command) and "xz" (a single compressed file, decompressed with xz command) can be implemented when needed. Same for gz vs tar.gz and others, where currently only the tarballs are supported.
- DietPi-Software | Gitea: Download xz-compressed file and decompress locally instead of downloading the uncompressed binary
- DietPi-Software | Gitea: Update fallback URL
- DietPi-Software | ownCloud/Nextcloud: Resolved an issue where a global software password with dashes lead to a failing install. Many thanks to @maxmoonshark for reporting this issue: #4199
- DietPi-Software | Nextcloud: Assure that Nextcloud 25 is downloaded on Bullseye, since Nextcloud 26 won't support PHP 7.4 anymore: nextcloud/server#34997
- DietPi-Software | ownCloud/Nextcloud: Make occ/ncc commands aliases instead of shell functions. Those are not used in any other script than dietpi-software anymore, where we already define the shortcut functions. That way it is possible to add bash-completion: nextcloud/server#35451
- DietPi-Software | Nextcloud: Patch Nextcloud on Bookworm to support PHP 8.2 and re-enable ARMv6/7 support on Bookworm accordingly, as this allows running Nextcloud 25 on Bookworm.
- DietPi-Software | Syntax
- DietPi-Software | Add some missing software docs links
- CI | Gogs: Add build workflow
- CI | Gogs: APT commands need to run as root user
- CI | Gogs: ARMv6 builds need to be done in our container
- DietPi-Software | Gogs: Use new ARMv6 archive from our server and install only binary: Everything else is unnecessary init script templates and readme
- DietPi-FirstBoot | Assure that service finishes before gettys are started, otherwise it can break autologin in containers where no network is setup
- CI | Gogs: Add temporary workaround for autologin issue by applying above change to the container image
- META | Satisfy shellcheck
- DietPi-FirstBoot | getty-pre.target is a passive unit and needs to be pulled in
- DietPi-Software | Synapse: Add gcc to ARMv6/7 build dependencies
- CHANGELOG | Typo
- CI | Replace upload URL with secret
- DietPi-LetsEncrypt | Enable HTTP2 on Apache when applying the cert. It is enabled by default on Lighttpd and Nginx and also on Apache it doesn't cause any issues when enabled even without HTTPS. The default config has HTTP/1.1 fallback included. However, there is no point in enabling HTTP/2 as long as HTTPS is not enabled, so we do it here instead of in DietPi-Software on Apache install.
- CHANGELOG | DietPi-LetsEncrypt: HTTP/2 is now enabled automatically when applying HTTPS on Apache. Nginx and Lighttpd have this enabled OOTB already.
- DietPi-Software | Docker Compose: Migrated to the plugin variant, installed from the Docker APT repository. On existing installs, the migration can be done via "dietpi-software reinstall 134". To call it, use "docker compose" (without dash) from now on. Many thanks to @isarrider for making us aware of this: #6135
StephanStS and others added 16 commits February 11, 2023 00:56
- DietPi-Software | TasmoAdmin: Update fallback URL
- DietPi-Config | Do not try to obtain SSID if WiFi isn't connected
- DietPi-Config | Skip power savings tests if no WiFi adapter has been found
- DietPi-Config | Do not enter WiFi adapter menu directly when enabling it, since enabling WiFi (modules) is not prove that a supported adapter is attached. But pre-select this menu entry instead.
- DietPi-Config | Do not update WiFiDB settings if WiFi is disabled
- DietPi-WiFiDB | Exit SSID scan menu directly if not WiFi adapter has been detected
- DietPi-Config | Do again enter WiFi adapter submenu directly when enabling it, but only if an adapter has been found, which can be checked here
- DietPi-Imager | Create temporary resize2fs output in /tmp tmpfs.
- DietPi-Obtain_HW_model | Do not add the StarFive CPU as dedicated ID as long as its a single SBC only
- DietPi-Set_software | Add Debian ports Sid and unreleased archives on RISC-V. This overrides the mirror choice currently, but we'd first need to verify whether all offered mirrors offer debian ports and unreleased suite, in case show an adjusted mirror list.
- CHANGELOG | Initial experimental support for RISC-V and the StarFive VisionFive 2 SBC has been added. This is all in playground stage currently, but if anyone wants to join the party, contact us.
- DietPi-Installer | Install Debian ports repository key on RISC-V devices
Support of RISC-V (StarFive VisionFive 2) - step 1
- RC up
@MichaIng MichaIng marked this pull request as ready for review February 11, 2023 23:21
- DietPi-Installer | Remove pre-v8.14 workarounds
- DietPi-Installer | Remove pre-v8.14 workarounds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open Beta v8.14 | Please help testing and hardening our upcoming release
6 participants