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 v9.6.0 #7111

Merged
merged 69 commits into from
Jul 2, 2024
Merged

Beta v9.6.0 #7111

merged 69 commits into from
Jul 2, 2024

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Jun 15, 2024

Beta v9.6.0

(2024-07-06)

New software

Enhancements

  • General | Since we provide all kernel, bootloader and firmware packages from our own APT repository now, the Armbian APT repository is removed form all systems. In case you use an SBC which is not officially supported by DietPi, as generic device, it is however preserved.
  • Quartz64/Star64/VisionFive 2 | The extended attribute handler for ext4 security labels CONFIG_EXT4_FS_SECURITY has been enabled for these SBCs, required for some Docker containers. Many thanks to @gxsw for reporting this missing feature: Docker pull error on Pine64 Quartz64 Model A #7102
  • Quartz64/Star64/VisionFive 2 | eBPF functionality for firewall and network monitoring software like Cilium has been added to our kernel builds for these SBCs. Many thanks to @kbrighton for reporting these missing features: Add required eBPF kernel configurations #6834
  • Orange Pi 5 | Older U-Boot builds caused the Ethernet MAC address to be random and change on every boot. Recent U-Boot builds solve this, but they are not flashed automatically on package upgrades. We hence inform users and offer to flash the latest U-Boot image during the DietPi update. Many thanks to @thuehlinger for reporting and testing the case: Orange Pi 5 | MAC address changes on reboot #6663
  • DietPi-Config | Legacy Odroid C2 resolution and GPU memory options have been removed.
  • DietPi-Config | The static DNS server menu now contains entries to select the default gateway/router or locally running DNS resolver (Pi-hole, AdGuard Home, Unbound, systemd-resolvd, ...), if detected.

Bug fixes

  • Network | Resolved a rare issue, where shutdowns could hang, when networking.service and ifup@.service instances try to bring down the same network interface concurrently. Many thanks to @ioctl2 for reporting this issue: System gets stuck when initiating a reboot (x86_64/EFI/Bookworm) #7104
  • Odroid C1 | Resolved an issue, where the kernel upgrade did not apply as intended. Many thanks to @th2j for reporting this issue: Odroid C1 hangs on reboot / shutdown now -r #6332 (comment)
  • VisionFive 2 | Resolved an issue where our new image did not boot, because of a false device tree name in /boot/extlinux/extlinux.conf.
  • NanoPi R6C | Resolved an issue where our new images did not boot, since the latest mainline U-Boot for R6S does not support the R6C anymore. Many thanks to @labmaster for reporting this issue: DietPi_NanoPiR6C-ARMv8-Bookworm(and Bullseye) Images not working at all #7109
  • DietPi-Banner | Resolved an issue where incorrect RAM usage was printed with German and potentially other locales. Many thanks to @jwgn for reporting this issue: Wrong RAM calculation in dietpi banner #7107
  • DietPi-Banner | Resolved an issue where logins as non-root user printed "No certificate found" if the Let's Encrypt cert status option was enabled, since non-root users have no permission to see the certificate files. In such cases, sudo is now used automatically, if the user has NOPASSWD permissions, else a meaningful info is shown. Many thanks to @FrapiFrance for implementing this fix: Show LetsEncrypt certinfo on dietpi-banner for non-root users #7121
  • DietPi-Drive_Manager | Resolved an issue, where network drives and potentially mounts in general could be attempted to be unmounted on shutdown, before services which can access them are stopped, leading to hanging shutdown sequences and potentially even data loss. Many thanks to @polite-garlic for reporting this issue: https://dietpi.com/forum/t/20542
  • DietPi-Dashboard | Resolved an issue where the installation on RISC-V systems failed.
  • DietPi-Software | Node-RED: Resolved an issue where reinstalls/updates failed because of incompatibilities between latest Node.js or global modules with older local instances. Many thanks to @thinkbig1979 for reporting this issue: Node-red reinstall issue #7128

- DietPi-Software | Ampache: Update fallback URL
- META | Backwards merge from master
- Quartz64/Star64/VisionFive 2 | The extended attribute handler for ext4 security labels "CONFIG_EXT4_FS_SECURITY" has been enabled for these SBCs, required for some Docker containers. Many thanks to @gxsw for reporting this missing feature: #7102
- CI | DietPi-Build: Re-add binfmt-support for Bullseye builds, since mmdebstrap fails on Jammy runners with systemd-binfmt, for whatever reason
- CI | DietPi-Build: Raise some image sizes and attempt to fix another segmentation fault on armhf Bullseye systems, this time not at mmdebstrap, but when actually booting the system
- DietPi-Installer/Patches | Install zstd on Odroid XU4 and 32-bit Amlogic (Odroid C1) systems, for better initramfs compression and faster decompression. Those are (now) supported by current kernel builds.
- CI | DietPi-Build: Remove doubled newline
- DietPi-Installer | Stop apt-daily services and timers before doing any APT installs. It just happened that they triggered while the installer tried to do its APT installs
- DietPi-Build | Typo
- DietPi-Build | Do not install recommended packages along with dependencies
- Odroid C1 | Resolved an issue, where the kernel upgrade did not apply as intended. Many thanks to @th2j for reporting this issue: #6332 (comment)
- DietPi-Pre-patches | Syntax
- CI | DietPi-Build: Add mmdebstrap debug flag and define mode and format explicitly
- CI | DietPi-Build: Remove the need for "arch-test" package
- DietPi-Software | ruTorrent: Update fallback version
- Network | Resolved a rare issue, where shutdowns could hang, when networking.service and ifup@.service instances try to bring down the same network interface concurrently. Many thanks to @ioctl2 for reporting this issue: #7104
- DietPi-Installer | Raise /tmp tmpfs size to 1 GiB, since in a few cases, APT update fails with "getline (12: Cannot allocate memory)"
- CHANGELOG | Add entry about fixed VisionFive 2 image
- DietPi-Banner | Resolved an issue where incorrect RAM usage was printed with German and potentially other locales. Many thanks to @jwgn for reporting this issue: #7107
- DietPi-Software | Rclone: Update fallback URL
- NanoPi R6C | Resolved an issue where our new images did not boot, since the latest mainline U-Boot for R6S does not support the R6C anymore. Many thanks to @labmaster for reporting this issue: #7109
- NanoPi R6C | Do actually migrate to new U-Boot package
- DietPi-Patches | Move patch to correct code block
- DietPi-Installer | NanoPi R6C: Revert back to defining the device tree explicitly, since Armbian for whichever reason chose to use a generic RK3588 config for explicit NanoPi R6C U-Boot builds.
- DietPi-Installer | NanoPi R6C: Temporarily assure correct APT component, until DietPi v9.6 release, to allow master branch builds. The live patch is applied before the APT config exist, and would be overwritten by it, hence we need to switch again here.
- DietPi-Installer | Skip live patch 0 on NanoPi R6C, which cannot succeed at this stage of the script, but will be applied at a later stage
- DietPi-Patches | NanoPi R6C: Use correct U-Boot package branch
@MichaIng MichaIng added the Beta 🧪 Issues specific to the Beta branch testing label Jun 15, 2024
@MichaIng MichaIng added this to the v9.6 milestone Jun 15, 2024
MichaIng and others added 24 commits June 16, 2024 01:51
- CI | Align and update emulation dependencies and setup
- CI | Obtain host Debian/Ubuntu version in all build/test scripts. Since Ubuntu ships /etc/debian_version from Debian testing, assume that it is one version lower. Fix binfmt support in all scripts based on now correctly obtained host distro version.
- DietPi-Globals | G_CHECK_NET: Update command string in G_EXEC info and error output and error handler dialogue with the actually checked IP/domain
- CI | Armbian: Use version 5.7.1 for Raspberry Pi 1, since the target has been removed with v6.7.2
- DietPi-Software | Box86/64: Update code for cleaner/complete uninstall, including de-registration from binfmt and cleanup of working dir on install. For Box64, on RPi 2 with BCM2710 (ARMv8, PCB v1.2) use RPi 3 target, which has the same SoC.
- DietPi-Software | ruTorrent: Update fallback URL
- DietPi-Software | ADS-B Feeder: Newer versions of the Feeder Image no longer have the adsb-nonimage service. So don't try to start it.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
- DietPi-Config | Some updates: Align coding. Hide LED control option on container images. Remove legacy Odroid C2 resolution and GPU memory split options. Add gateway/router and local DNS resolver to static DNS selection menu, when detected.
- DietPi-Software | Update fallback URLs
- General | Since we provide all kernel, bootloader and firmware packages from our own APT repository now, the Armbian APT repository is removed form all systems. In case you use an SBC which is not officially supported by DietPi, as generic device, it is however preserved.
- DietPi-Software | Node-RED: Resolved an issue where reinstalls/updates failed because of incompatibilities between latest Node.js or global modules with older local instances. Many thanks to @thinkbig1979 for reporting this issue: #7128
- DietPi-Software | Add "@latest" version tag to all Node module installs, else installed modules won't necessarily be updated
- DietPi-Software | Replace sudo calls with "runuser". It is an alternative, which can only be executed as root user, and hence does not imply any authentication system. Shell aliases added for future user calls, however, need to keep using sudo, to support non-root logins.
- DietPi-Software | Readarr: Update fallback URL
- DietPi-Banner | Resolved an issue where logins as non-root user printed "No certificate found" if the Let's Encrypt cert status option was enabled, since non-root users have no permission to see the certificate files. In such cases, sudo is now used automatically, if the user has NOPASSWD permissions, else a meaningful info is shown. Many thanks to @FrapiFrance for implementing this fix: #7121

Co-authored-by: fdilliers <fdilliers@efficity.com>
Co-authored-by: MichaIng <micha@dietpi.com>
- DietPi-Software | ruTorrent: Update fallback version
- DietPi-Software | qBittorrent: Stashed tiny change: I want to generally replace "command -v" derived executable paths in systemd units with the hardcoded ones we know and expect from installed packages. If someone compiles alternative versions, it is just consequent that this requires an alteration of the systemd service as well.
- DietPi-Software | ADS-B Feeder: Fix failing service start by adding the missing python requests library and the app flag file.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
- DietPi-Software | Forefox: Remove user configs on uninstall
- DietPi-Drive_Manager | Resolved an issue, where network drives and potentially mounts in general could be attempted to be unmounted on shutdown, before services which can access them are stopped, leading to hanging shutdown sequences and potentially even data loss. Many thanks to @polite-garlic for reporting this issue: https://dietpi.com/forum/t/20542
- DietPi-Backup | Add additional note to backup confirmation dialogue, that software services will be stopped: #6897
- DietPi-Software | Assure that the script does not continue to run after the reboot call, when a dist-upgrade is done on first login, with a kernel upgrade which removes currently used kernel modules. Also auto-remove packages after the dist-upgrade, to assure x86_64 systems are rebooted as well. Debian uses versioned kernel packages, pulled in by the meta package, so old kernel modules remain until the auto-removal purges the old versioned package.
- DietPi-Backup | A leading exclamation mark is interpreted as event call. Escaping it with slash prevents that, but the slash remains in the string. Solve it with trailing space instead.
- DietPi-Software | Update fallback URLs
- DietPi-Software | soju: This IRC bouncer has been added to our software catalogue. Many thanks to @subnut for implementing it: #7124

Co-authored-by: MichaIng <micha@dietpi.com>
- RC up
@MichaIng MichaIng marked this pull request as ready for review July 2, 2024 23:04
- DietPi-Patches | Treat loop devices as MMC devices, to flash U-Boot to. This could be relevant for testing DietPi updates in containers.
- DietPi-Patches | Be more careful when removing our ifup@.service config. Remove our own config, and the directory only, if it is empty afterwards.
@MichaIng MichaIng merged commit 0ba8261 into beta Jul 2, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beta 🧪 Issues specific to the Beta branch testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open Beta v9.6 | Please help testing and hardening our upcoming release
4 participants