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.22 #6626

Merged
merged 84 commits into from
Sep 23, 2023
Merged

Release v8.22 #6626

merged 84 commits into from
Sep 23, 2023

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Sep 17, 2023

v8.22

(2023-09-23)

New software

Enhancements

  • Images | DietPi images are now shipped with a trailing FAT partition which contains dietpi.txt and other config files for easier pre-configuration and automation from Windows and macOS hosts. The partition is removed automatically on first boot, after copying all supported config files/scripts. Related CLI flags have been added to our build scripts: --add-fat-part for dietpi-imager and --no-fat-part for dietpi-build. Many thanks to @dirkhh for implementing this feature: DietPi-Imager | Add option to add FAT partition after rootfs to simplify setup #6602
  • Images | All our images are now compressed via xz instead of 7z. These are a little easier to handle, especially on Linux hosts, and many flashing utilities allow to flash zx-compressed images directly to disk, without the need to manually decompress them first. As xz compresses files and no directories, the dedicated README.md and hash text files are not included anymore. The hashes for integrity checks within an archive have no real purpose, as the compression algorithms imply hashes internally (CRC64 in case of xz), which are checked and integrity of the content assured as part of the decompression.
  • Images | SHA256 hashes and GPG signatures are now provided for all our images, linked from our download page or found here: https://dietpi.com/downloads/images/. Our public GPG keyring can be found at https://github.com/MichaIng.gpg.
  • Images | Most of our images, those with do not ship with a very old Linux version, have no entropy daemon pre-installed anymore. Either rngd or haveged were required previously to assure that the system entropy pool remained sufficiently filled, otherwise boot, service starts, cryptography tasks or anything using random character from /dev/random could have hung. Recent Linux versions however fill the entropy pool from hardware random generators sufficiently by themselves, and have a HAVEGE-like fallback as well if no hardware random generator is available.
  • DietPi-CloudShell | The date/time output format at the top of every 3rd scene is now localised.
  • DietPi-Software | Docker: Enabled for Trixie and RISC-V via docker.io package from Debian repository.
  • DietPi-Software | Portainer: Enabled for RISC-V as Docker is now supported on RISC-V as well.

Bug fixes

  • NanoPi R4S | Resolved a v8.21 regression where the Ethernet LEDs did not react correctly after the kernel upgrade. Many thanks to @idaanx for reporting this issue: LAN port disappears after reboot on NanoPi R4S #6342 (comment)
  • Orange Pi 5 | Resolved a v8.21 regression where the update may have lead to an unbootable system or caused other issues like missing HDMI output, because of a falsely set device tree file name.
  • Odroid C1 | Resolved an issue where the latest kernel upgrade broke boot of the Odroid C1. We do now pin, in case downgrade, and set on hold "current" and "edge" kernel packages of Armbian to v23.02.2 (Linux 5.15.93 respectively 6.1.11) with this DietPi update, which are the latest known functional packages for this SBC. Many thanks to @oskar242000 for reporting this issue: https://dietpi.com/forum/t/odroid-c1-not-booting-after-kernel-upgrade/17818
  • Bookworm | Resolved an issue where poweroff/reboot/halt commands did throw errors about missing dbus or logind. DietPi ships without dbus and with logind masked by default, as we do not see their features being used on a typical DietPi system. Instead, dbus is installed and logind unmasked on demand on certain software installs or when chosen via dietpi.txt. However, the newer systemd version since Bookworm attempts dbus > logind communication in any case when calling poweroff/reboot/halt, despite no wall message being sent, e.g. to handle shutdown inhibitors (like open SSH session being able to prevent shutdown), and throws errors if either dbus is not reachable or logind not running. Until in case dbus or logind are further tied into common system commands or features, we solved the issue by creating shell functions for poweroff/reboot/halt which call the respective systemd target directly to bypass logind (and hence dbus), but fall back to the original commands, depending on given command-line parameters.
  • dietpi-bookworm-upgrade | Resolved an issue on systems with Armbian repository, where the system was still identified as Bullseye after the distribution upgrade to Bookworm. Reason was Armbian's base-files package, which was not upgraded as intended. On all DietPi systems, the original base-files package from Debian will now be enforced to prevent this and similar issues. Many thanks to @rogerthn2019 for reporting this issue: Debian Bookworm testing and upgrade script feedback #6227 (comment)
  • DietPi-Config | The menu option to update the SPI bootloader is now shown on Orange Pi 5 Plus as well, as intended. Many thanks for @zappydood for reporting its absence: Diet PI not booting in an Orange Pi 5 Plus via Nvme + SPI Flash #6501 (comment)
  • DietPi-Software | Ampache: Resolved an issue where the latest version was not successfully detected on install, so that an older fallback version was installed instead. Many thanks to @bartolus39 for reporting this issue: Dietpi Software not able to detect latest Ampache version #6598
  • DietPi-Software | Bazarr: Resolved an issue where the installation failed on ARMv6 and ARMv7 Bullseye and Bookworm systems, since some pre-compiled Python modules are currently not available on piwheels, due to the currently running prioritised builds of all modules for Bookworm.

MichaIng and others added 30 commits August 27, 2023 20:55
- CHANGELOG | Typo
- DietPi-Software | rTorrent: Update rutorrent fallback version
- CHANGELOG | Make Rochchip64 kernel upgrade more precise: Only RK33xx SoCs are affected, as RK35xx have other kernel packages installed
- DietPi-Software | TasmoAdmin: Update fallback URL
- DietPi-Software | HAProxy: Bump to v2.8.2
- CHANGELOG | Fix credit as of removed GitHub user
- DietPi-Config | The menu option to update the SPI bootloader is now shown on Orange Pi 5 Plus as well, as intended. Many thanks for @zappydood for reporting its absence: #6501 (comment)
- NanoPi R4S | Resolved a v8.20 regression where the Ethernet LEDs did not react correctly after the kernel upgrade. Many thanks to @idaanx for reporting this issue: #6342 (comment)
- DietPi-Software | Ampache: Resolved an issue where the latest version was not successfully detected on install, so that an older fallback version was installed instead. Many thanks to @bartolus39 for reporting this issue: #6598
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- DietPi-Software | Update fallback versions/URLs
- DietPi-Software | Docker: Enabled support for Trixie and RISC-V via "docker.io" package from Debian repository.
- DietPi-Software | Portainer: Enabled for RISC-V as Docker is now supported on RISC-V as well.
- DietPi-Installer | Do not pre-install Armbian kernel and U-Boot packages from our server which have been finally updated on their APT repository as well
- DietPi-Software | Update fallback URLs
- DietPi-Software | Add ADS-B Feeder: track airplanes using SDRs and feed the data to ADS-B aggregators (based on https://adsb.im)

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Co-authored-by: MichaIng <micha@dietpi.com>
- General | DietPi images are now shipped with a trailing FAT partition which contains dietpi.txt and other config files for easier pre-configuration and automation from Windows and macOS hosts. Related CLI flags have been added to our build scripts. Many thanks to @dirkhh for implementing this feature: #6602

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Co-authored-by: MichaIng <micha@dietpi.com>
- CHANGELOG | Explain the added setup FAT partition and related CLI flags a little more
- DietPi-Build | Adjust DietPi-Imager args for image editions
- DietPi-Software | Update fallback URLs
- DietPi-Imager | Handle image size correctly in 512 sectors when adding setup FAT partition, convert to bytes afterwards. Obtain requried free disk space correctly if no 7z archive is generated.
- DietPi-Imager | Add 33 extra sectors for GPT partition table as well when needed to add the setup FAT partition. Reorder code to make it easier to understand the steps
- CI | Satisfy shellcheck
- DietPi-Imager | Really add the intended 34 sectors for the GPT backup partition table
- DietPi-Imager | 1 MiB is too small for FAT16. FAT12 is anyway the smallest FAT size supported, so let mkfs decide
- CI | DietPi-Software: Add webserver/PHP/MariaDB checks for webserver stacks and fix MediaWiki software ID
- Images: All our images are now compressed via xz instead of 7z. These are a little easier to handle, especially on Linux hosts, and many flashing utilities allow to flash zx-compressed images directly to disk, without the need to manually decompress them first. As xz compresses files and no directories, the dedicated README.md and hash text files are not included anymore. The hashes for integrity checks within an archive have no real purpose, as the compression algorithms imply hashes internally (CRC64 in case of xz), which are checked and integrity of the content assed as part of the decompression.
- Images | Add SHA256 hashes for every uploaded image archive
- CI | Shairport Sync: Fix Trixie builds as of raised libavcodec version
drahen and others added 24 commits September 21, 2023 00:39
Co-authored-by: MichaIng <micha@dietpi.com>
- CI | DietPi-Software: Temporarily prevent Trixie/Sid builds until systemd + QEMU incompatibility fix has been released: systemd/systemd#28954
- DietPi-Software | Kavita: Add .NET dependencies
- DietPi-Software | Kavita: Change default port to 2036 to avoid conflict with Shairport Sync
- DietPi-Software | Kavita: On reinstals, preserve config dir bug replace everything else cleanly
- DietPi-Software | Kavita: Use /opt/kavita (lower-case) as install and config/run user home dir
- DietPi-Software | Kavita: Add to dietpi-services and dietpi-survey_report, as well as README credits and changelog entry
- DietPi-Software | Kavita: Disable for ARMv6 as ARM binaries are ARMv7+ only, expected with .NET core
- Kavita | This open source comics/mangas/ebooks media server with a built-in web reader has been added to our software catalogue. Many thanks to @drahen for implementing this software option: #6610
- Patreon Legends | Update Patreon Legends in DietPi-Banner. At this point, many thanks to Cameron for supporting us as Patreon Legend for such a long time. You helped us a lot to continue maintaining and developing DietPi, you are indeed a Legend! And many thanks to @dirkhh from ADSB.im for filling the free Legend spot at the same day, so that we nearly missed the change. Not only the financial support, but immediately doing some some nice feature contributions and input to topics is very welcome.
- RC up
- Orange Pi 5 | Resolved a v8.21 regression where the update may have lead to an unbootable system or caused other issues like missing HDMI output, because of a falsely set device tree file name.
- DietP-Patches | Orange Pi 5: Fix fdtfile entry
- Odroid C1 | Resolved an issue where the latest kernel upgrade broke boot of the Odroid C1. We do now pin, in case downgrade, and set on hold "current" and "edge" kernel packages of Armbian to v23.02.2 (Linux 5.15.93 respectively 6.1.11) with this DietPi update, which are the latest known functional packages for this SBC. Many thanks to `@oskar242000` for reporting this issue: https://dietpi.com/forum/t/odroid-c1-not-booting-after-kernel-upgrade/17818
- DietPi-Software | Transmission: Do not enable UPnP usage for port forwarding. Such must always be an explicit and interactive action by the admin. Remove seeding idle and ratio limits, which can be easily configured via web UI and we do not know whether users want to download only or intentionally keep seeding. Also do not set the log level, as this is enforced via "--log-error" CLI in the systemd service, overriding and even overwriting any changes done to the config file on service start.
- DietPi-Software | Bazarr: Resolved an issue where the installation failed on ARMv6 and ARMv7 Bullseye and Bookworm systems, since some pre-compiled Python modules are currently not available on piwheels, due to the currently running prioritised builds of all modules for Bookworm.
- DietPi-Software | Bazarr: New numpy versions require openblas instead of libatlas
- DietPi-Software | Bazarr: numpy build requires pkg-config to find openblas llibrary. This would have worked with libatlas as well, but revent openblas seems to provide better performance anyway, so lets stick with it.
- DietPi-Software | Home Assistant: Switch from ATLAS to OpenBLAS, which seems to mostly provide better performance
- CI | DietPi-Software: Give Bazarr more time to start up in emulated containers
- RC up
- DietPi-Globals | Minor G_INTERACTIVE description and code update
- DietPi-Patches | Remove obsolete kernel upgrades from our server, now that Armbian updated their APT servers
- DietPi-Patches | Move some kernel upgrades forward and merge hardware ID specific blocks
- Quartz64 | Attempt to fix Linux 6.5.5 build by updating the kernel config according to some recent upstream changes, particularly CONFIG_ROCKCHIP_EFUSE => CONFIG_NVMEM_ROCKCHIP_EFUSE renaming
- Quartz64 | Move defconf updates: Rename autofs module, add BFQ I/O scheduler and update RK808 config which got split
- DietPi-Patches | Update Quartz64 kernel to Linux 6.5.5 now, as we managed to fix it
- DietPi-Installer | Skip entropy daemon as well for RK35xx boards with Rockchip Linux 5.10.160 build
- DietPi-Patches | RPi: Update raspberrypi-sys-mods
@MichaIng MichaIng marked this pull request as ready for review September 23, 2023 21:29
@MichaIng MichaIng merged commit fb0db33 into master Sep 23, 2023
2 checks passed
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.22 | Please help testing and hardening our upcoming release
3 participants