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 v8.1.0 #5215

Merged
merged 67 commits into from
Jan 29, 2022
Merged

Beta v8.1.0 #5215

merged 67 commits into from
Jan 29, 2022

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Jan 28, 2022

Beta v8.1.0

(2022-01-29)

SBC support

  • Odroid N2 | Support for Odroid N2 with modern mainline Linux images has been added, including proper boot configuration, serial console selection, HDMI and 3.5mm audio selection and more.

Changes

  • DietPi-Benchmark | During RAM I/O benchmarks, the CPU governor is now changed to "performance" so that the result is not affected by possible CPU frequency scaling but the raw/max RAM I/O performance is measured. A significant effect of this has been recognised on Odroid N2 images with modern mainline kernel. Since the CPU benchmark is done first, this has no effect on its score and CPU temperature results.
  • DietPi-Drive_Manager | Btrfs subvolume mounts are now preserved in /etc/fstab. Many thanks to @laddde for implementing this feature: DietPi-Drive_Manager | Preserve Btrfs subvolumes #5176
  • DietPi-Drive_Manager | The Samba mount dialogues do now indicate that a hostname can be entered instead of a server IP and a shared folder path instead of a share name only.
  • DietPi-Backup | A notification is not printed when rsync dry-run to obtain required disk space is starting, since this can take a while. Many thanks to @whisdol for reporting the the impression of a hanging script: DietPi-Backup to NFS share hangs after checking for rsync #5209

Fixes

  • DietPi-Services | Resolved an issue where service edits and process tool settings were not effective as they were stored to the wrong file path. Many thanks to @TOPFORD and @MicDG for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?p=41509#p41509
  • DietPi-LetsEncrypt | Resolved an issue where Certbot failed on fresh Apache installs since the 000-default.conf vhost by default does not contain any directive anymore. The ServerName directive with the entered domain name is now added to 000-default.conf instead of apache2.conf, with the benefit that it overrides the global ServerName directive in dietpi.conf, which uses the local IP address only.
  • DietPi-Software/DietPi-AutoStart | Chromium: Resolved an issue where the Chromium kiosk autostart option failed on all non-RPi systems.
  • DietPi-Software | FuguHub: Resolved an issue where the uninstall failed as the service was not stopped and removed as expected, before attempting to remove the service user.
  • DietPi-Software | PHP: Resolved an issue where the PATH variable was not available for PHP applications with Lighttpd and Nginx webservers. It is now set to the static value "/usr/local/bin:/usr/bin:/bin", the default PATH excluding super user executables "sbin". Many thanks to @shanew1694 for reporting a related issue with rTorrent: Can't seem to update. #5161 (comment)
  • DietPi-Software | MineOS: Resolved an issue where the install failed on Bullseye: DietPi-Software | MineOS - install is failing on Bullseye #5181
  • DietPi-Software | Cuberite: Resolved an issue where the server failed to start on ARMv8 systems: DietPi-Software | Cuberite - failing on aarch64 #5180
  • DietPi-Software | MATE: Resolved an issue where the install failed when LXDE is installed already. Many thanks to @n0valis for reporting this issue: Cannot install Mate Desktop -> "you have held broken packages"  #5214
  • DietPi-Software | Ampache: Resolved an issue on Bullseye systems where Ampache v5 installs/reinstalls did not work because of a changed webroot directory: DietPi-Software | Ampache: Fix install of v5 (Bullseye) #5205

MichaIng and others added 30 commits January 9, 2022 16:30
- DietPi-Software | FuguHub: Resolved an issue where the uninstall failed as the service was not stopped and removed as expected, before attempting to remove the service user.
+ DietPi-PREP | Remove non-existing module (on Stretch, Buster, Bullseye, Bookworm) from nouveau blacklist
- DietPi-Software | WiFi Hotspot: Remove old hostapd service unmask/workaround. All installed services controlled by dietpi-software are unamasked before installs start. If the mask was placed without the service installed, the prior service stop which was added with v8.0 would currently fail anyway. We want to get reports now to trace back the faulty reason for the mask.
+ DietPi-PREP | Odroids: Do not install our boot.ini if the boot partition is not FAT partition
- DietPi-Build | Remove obsolete workaround for raspberrypi-archive-keyring, provided now by the RPi Bullseye repo
- DietPi-PREP | Set setbit bit for the known sudo executable path explicitly, i.e. do not trust e.g. /usr/local/bin/sudo (which should not exist, of course)
- DietPi-Software | OctoPrint: Suppress warnings about executables being intentionally installed to /mnt/dietpi_userdata/octoprint/.local/bin, which is not in PATH
- DietPi-Software | Minor
- DietPi-Software | Pydio: Fix permissions for using internal updater etc
- DietPi-Software | Pydio: Fix some files being 444 mode, breaking internal updater
- DietPi-Software | PHP: Resolved an issue where the PATH variable was not available for PHP applications with Lighttpd and Nginx webservers. It is now set to the static value "/usr/local/bin:/usr/bin:/bin", the default PATH excluding super user executables "sbin". Many thanks to @shanew1694 for reporting a related issue with rTorrent: #5161 (comment)
- DietPi-Software | Further cleanup on Lighttpd and PHP uninstalls
- DietPi-Software | Cuberite: Apply strict permissions to webadmin.ini before writing global software password to it
- DietPi-AutoStart | When using an unprivileged user for Kodi autostart, add it to tty, input and audio group as well, required for keyboard/mouse input, audio playback and on RPi to switch the VT to avoid DRI conflicts when starting from within a desktop session
- DietPi-Services | Resolved an issue where service edits and process tool settings were not effective as they were stored to the wrong file path. Many thanks to @TOPFORD and @MicDG for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?p=41509#p41509
- DietPi-Drive_Manager: Btrfs subvolume mounts are not preserved in /etc/fstab. Many thanks to @laddde for implementing this feature: #5176
- DietPi-Patches | Fix v8.1 patch function name
- DietPi-Software | Chromium: Fix kiosk autostart script for non-RPi systems and use default fallback values when Chromium dietpi.txt settings are not present
- DietPi-Software | Kodi/Chromium: Further cleanup on uninstall
- DietPi-Software | Docker: Uninstall Docker after Portainer and Docker Compose and assure that the service is stopped and cleanly removed
- DietPi-PREP | Remove quiet kernel command line flag for RPi and x86_64 systems to give users more insights for info and debugging the boot process, also aligning with other SBC images
- RPi: Remove obsolete VCSM overlay since the device node has been removed with latest kernel
- DietPi-Cloud_migration
- DietPi-Software | Java JRE: Remove obsolete workaround for ARM
- DietPi-Software | Do not use the obsolete --unsafe-perm flag for npm calls anymore
- DietPi-Software | MineOS: Install Python 3 on Buster as dependency, required for the Node.js posix module but not pulled by rdiff-backup on Buster
- DietPi-Software | MineOS: As a workaround required with latest Node.js 17, install the posix module alone first, before installing the whole project: #5181
- DietPi-Software | Cuberite: Resolved an issue where the server failed to start on ARMv8 systems: #5180
- DietPi-Software | PHP: Install PHP8.1 on Bookworm now that APCu and Redis modules are updated
- DietPi-Software | PHP: Remove support for preserving PHP7.2
- DietPi-Services | Control only PHP versions which dietpi-software explicitly installs
- DietPi-Software | X.Org X Server: Install Odroid Mali/DDX packages only on Buster and below or when DRM is not available. On Bullseye with DRM, the default modesetting DDX and Mesa EGL/GLESv2 should work pretty well, i.e. mainline kernel images where Odroid packages are not available anyway. In case Odroid DDX packages are not available, install fbdev for the (with Hardkernel kernel) expected case the DRM is not available for the default modesetting driver to work.
- DietPi-Software | X.Org X Server: Install Mesa EGL/GLESv2 libraries on all non-x86_64 and non-RPi systems, in case not covered by Odroid packages. On x86_64 regular OpenGL may be preferred, on RPi those are installed when KMS is enabled. In all other cases, those may be used by GUI applications.
- DietPi-Software | Kodi: Install X server on Odroid C4 and N2 from Bullseye on, when no DRM is available. Skip Odroid GPU/Kodi packages on Bullseye with DRM, which covers mainline kernel images, where Debian's Kodi with GBM works just fine. This aligns it with X server installs.
- DietPi-Software | RPi: Do not raise GPU memory above default on Bullseye for any software title. It is generally not used anymore since CMA  uses the shared system memory. Legacy RPi camera, enabled with RPi Cam Control, sets 96 MiB automatically, which may still be required. Modern KMS based camera module support is still outstanding. Additionally disabling headless mode + default GPU memory is now applied on LXQt insalls as well.
- DietPi-Globals | Remove execute bit from script, which is not meant to be executed but meant to be sourced only
- DietPi-PREP | Align DietPi code install with DietPi-Update
- DietPi-Software | PHP: Apply minimum 16 MiB OPcache size, which makes lowering interned stings buffer obsolete. Apply only half of OPcache size as APCu size, which is usually much less used.
- DietPi-Software | ownCloud/Nextcloud: Update and cleanup: Remove ancient version support and obsolete setup steps
- DietPi-Drive_Manager | Align network drive input prompts, allow to enter a path as SMB/CIFS server shared folder, remove leading slash when given
- DietPi-Software | MATE: Resolved an issue where the install failed when LXDE is installed already. Many thanks to @n0valis for reporting this issue: #5214
- DietPi-Config | Add HDMI/3.5mm audio output selection for Odroid N2 mainline kernel images
- DietPi-Config | Add ttyAML[0-9]  (Amlogic serial device) )detection to UART console menu
@MichaIng MichaIng added the Beta 🧪 Issues specific to the Beta branch testing label Jan 28, 2022
@MichaIng MichaIng added this to the v8.1 milestone Jan 28, 2022
MichaIng and others added 11 commits January 28, 2022 19:56
- META | Backwards merge master > dev
- DietPi-Build | Since dbus (and its socket) may not be automatically started on install, do this in any case, but mask them only on exit when the socket was masked before.
- DietPi-PREP | Syntax
- DietPi-Set_hardware| Remove obsolete case pattern and harden all of them by wrapping literal parts into single quotes
- DietPi-PREP | Fixes and alignments
- DietPi-PREP | Move obsolete kernel image cleanup step to initramfs post-updates
- DietPi-PREP | Revert: Move obsolete kernel image cleanup step to initramfs post-updates. The kernel postinst script creates both files after initramfs post-update scripts run, hence it has no effect there. Remove now in PREP only to reduce initial image size a bit. uImage => Image migration topic is up on Armbian.
- DietPi-PREP | Install initramfs-tools alone first, else no initramfs may be generated when kernel is installed in the same turn
- DietPi-PREP | Typo
- DietPi-Software | Ampache: Resolved an issue on Bullseye systems where Ampache v5 installs/reinstalls did not work
- RC up
- CHANGELOG | DietPi-Backup: A notification is not printed when rsync dry-run to obtain required disk space is starting, since this can take a while. Many thanks to @whisdol for reporting the the impression of a hanging script: #5209
- CHANGELOG | Add note about new testing image for Odroid N2
- DietPi-Set_hardware | Add dietpiEnv.txt support for adding/removing serial console entries to kerne command-line as well
- CHANGELOG | DietPi-Drive_Manager: The Samba mount dialogues do now indicate that a hostname can be entered instead of a server IP and a shared folder path instead of a share name only.
- DietPi-Config | Fine tune serial console handling
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 v8.1 | Please help testing and hardening the upcoming release
3 participants