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 v6.27 #3290

Merged
merged 225 commits into from
Jan 1, 2020
Merged

Release v6.27 #3290

merged 225 commits into from
Jan 1, 2020

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Dec 30, 2019

v6.27

(01/01/20)

Changes / Improvements / Optimisations

  • FriendlyARM ZeroPi | Initial hardware identifier (ID: 59) and support for this device has been added to DietPi. Many thanks to @stephan for creating the related DietPi image: NanoPi M3/Fire3 | NanoPC T3 | ZeroPi | Debian Buster images #3221
  • RPi | An updated USBridgeSig Ethernet driver, as provided by allo.com, will be applied via postinst kernel script, until it has been merged into official RPi kernel: https://github.com/allocom/USBridgeSig/tree/master/ethernet
  • RPi4 | Added generic RPi4 revision code detection to include the new revisions [abc]03112 and potential new PCB v1.3 til v1.9 once released. Many thanks to @Joulinar for reporting the missing new revision code: Open Beta v6.27 | Please help testing and hardening the upcoming release #3257 (comment)
  • RPi4 | Since RPi4, bootloader and USB firmware is stored on an internal EEPROM, which is not updated/flashed by the firmware APT package installs automatically. The additional "rpi-eeprom" package comes with an EEPROM update script and boot service, which will now be installed on DietPi update and firstrun setup automatically, if RPi4 is detected. Those firmware updates include power consumption (hence heat emission) optimisations and enable additional boot methods, currently network boot and USB boot is planned as well. This was reason enough for us to implement it automatically for all RPi4 systems. Additionally you can actively install/update the EEPROM manually via dietpi-config > Advanced Options > Update RPi4 EEPROM firmware. For additional information, read the official docs: https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md Many thanks to @trueaspects for informing us about this important subject: RPi4 | Implement EEPROM firmware update #3217
  • Virtual Machines | Intel/AMD CPU microcode update packages are not installed/purged from virtual machines. The CPU is provided by the host, hypervisors do not allow to update microcode from within the guest, reasonably, and if they did, this would be serious security and stability issue.
  • DietPi-Globals | A new function G_TERM_CLEAR has been added to clear a current terminal view by moving content into scrollback buffer. The previous method erased current visible content on some terminal types. Many thanks to @rdslw for reporting this issue: General | New screen clear method to reliably preserve command history #1615 (comment)
  • DietPi-PREP | New images will have all man pages and documentation files for installed packages available. Those were removed until now, but prevented users from simply installing man-db to view man pages on the system, without reinstalling packages to restore those first. Many thanks to @smudgered for doing this suggestion: DietPi-PREP | Assure manpages for installed packages are kept #3259
  • DietPi-Software | The general network check against first sources.list entry has been replaced by a pure connectivity test and separate DNS resolver test via ping. This solves an issue where sources.list parsing failed when [arch=...] was specified and allows better debugging. The sources list entries themselves are checked and error-handled by G_AGUP already. Ping target IP for connection test and domain for DNS resolver test can be set via dietpi.txt, default is Cloudflare DNS IP and domain which should be very reliable and fast all over the world. Many thanks to @lwqcz for reporting the issue and providing a solution: Repair parsing of CHECK_URL in dietpi-software #3243
  • DietPi-Software | TasmoAdmin: The administrative website to manage ESP8266 devices flashed with Tasmota for smart home systems is now available for install. Many thanks to @svh1985 for implementing this software title: DietPi-Software | TasmoAdmin #3103
  • DietPi-Software | ownCloud: Enabled install on Buster, Bullseye and ARMv6 RPi models (RPi1+Zero). ownCloud 10.3 has been release with PHP7.3 support, hence it can be used with native distro PHP7.3 and does not require Ondrej's PHP repo which does not support armv6hf.
  • DietPi-Software | Syncthing: Enhanced service by security hardenings and to allow internal updates and auto updates without failing to restart. Moved binary from /etc/syncthing to /opt/syncthing to match FHS and disabled file logging, which is an unnecessary overhead, since logs can be easily viewed via "journalctl -u syncthing". Changes will be applied to all installs on v6.27 update, existing configs won't be touched by this.
  • DietPi-Software | NAA daemon: Latest version is now scraped from base URL and installed automatically. Many thanks to @Heroldgray for doing this suggestion: DietPi-Software | NAA daemon (networkaudiod) upgrade from 3.5.6 to 3.6.0 #3191
  • DietPi-Software | Home Assistant: Python3.8 will be installed for the pyenv from now on due to Python3.6 deprecation. Many thanks to @sdomotica for providing this information: DietPi-Software | Home Assistant: Install Python3.8 due to 3.6 deprecation #3219
  • DietPi-Software | Home Assistant: When selecting for install, one will be informed about possibly long install/build times. Many thanks to @Gill-Bates for doing this suggestion to avoid users assuming their install process being stuck: DietPi-Software | Home Assistant: Add info about long install/build process #2897
  • DietPi-Software | Home Assistant: Vastly reduced Home Assistant dependencies and install complexity. It does not run inside a virtualenv of pyenv anymore, since it has already its unique pyenv Python instance. pyenv is still required due to the large amount of specific module versions, required for HA and its integrations. The alternative would be a venv from a globally installed Python instance, but this requires further thoughts and discussion. The amount of development libraries and tools, installed via APT, has been updated and reduced to a minimum to build Python and Home Assistant inside the pyenv without errors and warnings. There is a slightly increased chance that certain HA components need additional development packages. To cover this, two new settings have been added to dietpi.txt: "SOFTWARE_HOMEASSISTANT_APT_DEPS" and "SOFTWARE_HOMEASSISTANT_PIP_DEPS". Add a space-separated list of APT packages and pip modules respectively, to have those installed automatically with Home Assistant. As well activating the pyenv environment from console is now easier possible via "source /home/homeassistant/pyenv-activate.sh" as user "homeassistant". Additionally "/home/homeassistant/homeassistant-update.sh" has been added, which can be called by any sudo-capable user to update Home Assistant easily.
  • DietPi-Software | Node-RED: Access permissions to I2C is now enabled by default on RPi and other SBCs which ship a configured "i2c" group by default. Many thanks to @NastySpill for reporting an underlying issue: https://dietpi.com/phpbb/viewtopic.php?f=11&t=6862
  • DietPi-Software | Gitea: The latest version will now be pulled from GitHub automatically.
  • DietPi-Software | Amiberry: Updated to v3.0.9, a large update from v2.25 with many improvements, see: https://github.com/midwan/amiberry/releases
  • DietPi-Software | Amiberry: Since we ship a tailored SDL2 version, this has now been merged right into the Amiberry download archive and install directory, to not interfere with other system-wide installed SDL2 instances.
  • DietPi-Software | Kodi: Add GPU-accelerated support for Odroid N2 via fbdev driver and special Kodi build, provided by Meveric. Many thanks to @ernero93 for doing this request: DietPi-Software | Full Kodi support on Odroid N2 #3255
  • DietPi-Software | Koel: The latest upstream release will be pulled automatically now, v4.2.2 at date of writing. Dependencies have been updated accordingly, e.g. latest Koel supports latest Node.js v13.5.0.
  • DietPi-Software | NoMachine: Updated to latest version 6.9.2 and switched to URL with no version string, which allows us to update downloads on-the-fly without code changes. Download URLs from official website have been simplified and follow some logic, but there are no "latest" URLs available and older versions are not kept, hence we must go on hosting those packages on dietpi.com.
  • DietPi-Software | Allo web UI: Updated to version 13.1, which mostly fixes some compatibility issues with DietPi v6.27 and Debian Buster systems. For details, see: /var/www/allo/CHANGELOG.txt
  • DietPi-Software | phpMyAdmin: The APT package install has been replaced by an upstream archive download. This allows us to ship the most current version on all distro versions and avoids incompatibility due to PHP meta packages being pulled as dependencies by the APT package. Install on Buster and Bullseye is possible now by this and incompatibility with concurrent ownCloud and phpBB has been resolved. On Stretch this resolves an issue due to new PHP7.4 being pulled by "php" meta package from Ondrejs repo. Many thanks to @symlagom for reporting this issue: DietPi-Software | phpMyAdmin: Move away from Debian APT package #3284

Bug Fixes

Known/Outstanding Issues

MichaIng and others added 30 commits October 17, 2019 12:44
+ DietPi-PREP | Add missing free space to GRUB EFI package list
+ Replace fdisk and gdisk commands by their command-line counterparts sfdisk and sgdisk, which are more suitable for a script
+ CHANGELOG | Typo and v6.27 init
+ Subversion up
+ DietPi-Globals | Default subversion up + minor coding: {print} is mawk default action if none given with $0 as default argument
+ DietPi-Autostart | Correction of small typo in Game title: "Rebith" => "Rebirth"
+ DietPi-PREP | Since Buster, "apt-transport-https" is not required anymore. It is a transitional dummy package for "apt" only, which includes HTTPS support now.
+ DietPi-Set_CPU | Exit script immediately (before loading DietPi-Globals) based on "scaling_available_governors" file existence, which, besides VMs, includes chroot and container environments as well
+ DietPi-Set_CPU | Consequently print which settings are about to be applied and which are not supported, in case
+ DietPi-Set_CPU | Since when we handle "GPU" governors? :)
+ DietPi-Set_CPU | Further coding and output/wording consistency
+ DietPi-Logclear | Loop through log file array more elegant and by this avoid invalid log file processing if /var/log is empty.
+ DietPi-PREP | Remove SSH switch service (used to enable OpenSSH server if /boot/ssh exists on boot) and "pi" user sudo rules on RPi systems
+ DietPi-Software | Xserver: libegl1-mesa is pulled on Stretch as dependency anyway and installing libegl1 like this does not automatically pull required dependencies from backports: #3177
+ Do not add version string to image file to easier scripting and since this still confuses users. The image file version should be generally irrelevant since it updates to current DietPi on first boot automatically. If for some reason this information is wanted, it can be derived from the creation date and contained .version file.
+ Do not offer backup or try to rename image file, if source image matches output image already, which is high likely in case of scripting.
+ Minor coding: Use a single variable for .img and .7z file.
+ DietPi-Globals | G_WHIP: Never increase whiptail y size to max, since this looks always strange, e.g. in case of short log files, filling only the upper part of the whiptail text box. Always use auto y size estimation instead.
+ DietPi-Globals | G_WHIP: Make input mode "0" the default for G_WHIP_INIT, which is required in most cases.
+ DietPi-Software | WireGuard: Kernel postinst script needs to be executable of course
+ DietPi-Pre-patch | WireGuard postinst script needs to be executable of course...
+ DietPi-Pre-patch | Align WireGuard package priorities with DietPi-Software
+ DietPi-Software | WireGuard: Prevent multiple WireGuard module rebuilds on RPi kernel upgrade, since postinst script is called for every kernel arch (v6/v7/v71/v8). As well only attempt to reconfigure the DKMS module, if the package is actually installed.
+ DietPi-Pre-patch | Remove WireGuard auto-rebuild skript, since DKMS is now triggered correctly
+ DietPi-Software | WireGuard: Remove kernel module rebuild script, since DKMS is now triggered correctly on RPi
+ CHANGELOG | Typo
+ DietPi-Patch | Remove obsolete Mo0de additions + minor code enhancements and consistency
+ DietPi-Set_swapfile | Align /tmp fstab entry with DietPi-Drive_Manager
+ DietPi-Set_swapfile | Minor coding
+ DietPi-Patch | Do not load disable-bt/wifi device tree overlays on runtime, since this can cause issues in some cases which we should avoid especially during update.
+ DietPi-Pre-patch | Re-apply pre-patch 16 on v6.27 update to assure all WireGuard users have the correct package priority 100 applied, which allows APT auto-upgrades.
+ DietPi-Software | WireGuard: Assure WireGuard server starts after DietPi-Boot: #3175
+ CHANGELOG | WireGuard: Resolved an issue where wg0 server fails to start if network has not yet fully initialised
+ Conflict workaround
+ Conflict workaround
+ Conflict workaround
+ DietPi-Boot |  Prevent error messages when background jobs finish after parent, due to removed previous pwd
+ DietPi-PREP | Reliably apply non-predictable network interface naming (eth0/wlan0). On Raspbian Bullseye (probably Debian as well), /etc/systemd/network/99-default.link -> /dev/null symlink is not sufficient anymore. Mask the udev rule which is responsible since Stretch and apply cmdline entry (which was already done on x86 systems).
+ DietPi-PREP | Remove doubled predictable net dev rule removal
+ DietPi-Patch | Remove obsolete persistent net dev rule removal. This file was created on Jessie, while, since Stretch, 80-net-setup-link.rules is responsible which respects cmdline entry and networkd setup.
+ DietPi-Software | Skip obsolete persistent net dev udev rule removal
+ DietPi-Set_hardware | rpi-opengl: Avoid libgles2-mesa package install. On Stretch, "libgles2-mesa" provides "libgles2", hence it is pulled in automatically.
+ DietPi-Patch | Unhold marked ARMbian packages
+ DietPi-Software | Amiberry: Install net-tools which required for WHDLoad database update via Amiberry GUI
+ DietPi-Explorer | Failsafe: Double quote all path variable calls to assure correct white space handling
+ DietPi-Globals | Use the double quoted function argument array to call the input command, to avoid splitting of arguments with white spaces. This is especially relevant when file paths with white spaces are present. The input arguments need to stay split, but a originally quoted argument needs to stay quoted. This is only possible via quoted arrays. Reference: https://dietpi.com/phpbb/viewtopic.php?f=11&t=7046
+ CHANGELOG | DietPi-Explorer: Resolved an issue where handling of file/directory paths with white spaces failed
+ DietPi-Software | Allo web UI: Install new version 13.1 with some hotfixes and updates required for DietPi v6.27 compatibility
+ DietPi-Software | Allo web UI: Always perform a clean install by removing the old web UI dir first
+ DietPi-Software | Allo web UI: Assure install and uninstall states of the web UI software ID + quick update ID are always the same
+ DietPi-Software | GMediaRender: Resolve certain startup issues by installing our fresh compiled v0.0.8 binaries instead of the APT package: #3263, #3246
+ DietPi-Software | Minor coding
+ CHANGELOG | Allo web UI: Updated to version 13.1, which mostly fixes some compatibility issues with DietPi v6.27 and Debian Buster systems
+ CHANGELOG | GMediaRender: Resolved issues due to limited binary features by using new own compiled binaries, based on gmrender-resurrect v0.0.8
+ DietPi-Patch | Reinstall Allo web UI and GMediaRender to apply updates
+ DietPi-Patch | Fix error message on non-RPi, due to all checks in arithmetic parenthesis being performed, even if prior checks return false
+ DietPi-Software | GMediaRender: Add missing white space
@MichaIng MichaIng added this to the v6.27 milestone Dec 30, 2019
+ CHANGELOG | Fix typo and add release PR link
+ DietPi-PREP | On Debian Bullseye with resolvconf v1.80, dependency on ifupdown has been dropped, hence we need to mark/install it explicitly, which makes the workaround for autoremove prevention obsolete
+ DietPi-Pre-patch | Mark ifupdown as manually installed to prevent its autoremoval
+ DietPi-Software | phpMyAdmin: Switch to non-package install to be compatible with custom PHP versions (Stretch) and Debian Buster (no APT package available): #3284
+ DietPi-Software | MariaDB: Do error-handled service start on uninstall only, if binary is still available, hence MariaDB has not been uninstalled manually/on a prior run already: #3257 (comment)
+ DietPi-Patch | phpMyAdmin: Reinstall to apply non-package version, allowing custom PHP versions and compatibility with all distro versions
+ DietPi-Software | Redis: Disable file logging and enable syslog instead, which resolves reported startup issues in cases as well: #3291
+ DietPi-Software | Skip unhold packages on uninstall, since G_AGP uses "--allow-change-held-packages"
+ DietPi-Software | Remove obsolete Jessie code
+ CHANGELOG | Redis: Resolved an issue where service start failed in some cases
+ DietPi-Software | Home Assistant: Fix ha_pyenv_activation, since dash does not support "source" command
+ CHANGELOG | Set release date to today: 01.01.2020
+ DietPi-Boot | Tiny: Using 0.0.0.0/0 is more failsafe in catching default route
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants