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.25 #2950

Merged
merged 232 commits into from
Jul 3, 2019
Merged

Release v6.25 #2950

merged 232 commits into from
Jul 3, 2019

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Jul 3, 2019

v6.25

(03/07/19)

Changes / Improvements / Optimisations

  • System | By default the "haveged" entropy daemon is now installed on all DietPi systems and patched with v6.25. It assures the pool of random bits /dev/random stays filled by using additional sources of randomness. This solves a bunch of issues, including hanging or very long boot times, very long service (re)starts or timeout failures and on Buster hanging network access. Especially affected is PHP7.3-FPM but as well VPN servers and WiFi hotspots and potentially many other network or cryptography related tasks. More information on this topic: System | Service start/boot timeouts due to low "entropy" #2806
  • System | Initial RPi4 support has been added to the code and some other rare RPi models are now detected correctly by their revision codes. Note that a new Buster-based image is required to support RPi4 and further work on DietPi-Config to support new RPi4 features. Full support is expected with DietPi v6.26, testing images can be found here: Image | Raspberry Pi 4 #2935 (comment)
  • DietPi-FirstBoot | First boot setup steps have been moved into a separate script and systemd unit. This allows further cleanup of the regular boot process and more targeted debugging and development. Many thanks for @FredericGuilbault for implementing this enhancement: System | Separate first boot configurations from regular boot procedures.  #2791
  • DietPi-Autostart | When choosing an autostart option that does not require a manual UNIX user login, the autologin user can now be chosen (which was always "root" previously). This can be applied automatically on firstrun setup with the new "AUTO_SETUP_AUTOSTART_LOGIN_USER" setting within dietpi.txt. If the user does not exist, is a system user (UID < 1000) or does not have a valid login shell, it will be reverted to root. Many thanks to @FredericGuilbault for suggesting this feature: Automatic login as dietpi #2926
  • DietPi-Globals | G_OBTAIN_CPU_TEMP(): Added support for Core2Duo CPU temperature to be printed on e.g. DietPi-Banner and "cpu" command output. Many thanks to @OstrovCity for posting the required information: Update to get correct CPU temp #2563 (comment)
  • DietPi-Service 2.0 | Combines dietpi-process_tool into dietpi-services. Adds IO policies, single/global service control and much more: DietPi-Services 2.0 #2786
  • DietPi-Process_tool | Has been replaced with DietPi-Services. Existing saved options will no longer be available, please use 'dietpi-services' to apply required process_tool options with the upgraded system.
  • DietPi-Explorer | Disabled opening of files in nano under select a file/folder mode.
  • DietPi-Drive_Manager | Added the option to change the I/O scheduler per drive. Many thanks to @Generator for pointing us onto this topic: DietPi-Drive_Manager | Allow to switch I/O scheduler #2233
  • DietPi-Drive_Manager | Services are not stopped directly at start of this script any more. Instead this is done only on critical tasks, e.g. transferring of DietPi userdata, the swapfile or RootFS. Further increased navigation speed by re-running the drive detection loop only when affecting changes have been made, and, by several other code enhancements.
  • DietPi-Config | APT Cache: We added new options to "dietpi-config" > "Advanced Options" > "APT Cache" to disable the APT cache or move cache, repo lists and/or package download dir to RAM. By default we disable the APT cache, which saves 50 - 100 MiB disk writes on each "apt-get update" call, but slows down "apt-cache" calls: DietPi-Config | Add option to disable APT cache or move cache, lists and downloads to RAM #2840
  • DietPi-Config | RTC mode: When selecting this option, a menu with additional info is shown instead of just toggling the state. Many thanks to @Sopor for this suggestion: DietPi-Config | Show menu with info for RTC mode selection #2826
  • DietPi-Config | Audio Options (RPi): I-Sabre-K2M/Q2M sound card drivers are now integrated into the RPi kernel. These are now enabled on selection instead of compiling the drivers from source: Audiophonics I-Sabre 9038Q2M DAC driver | Now in kernel #2690
  • DietPi-Software | Mycroft AI FOSS voice assistant is now available for install. Many thanks to @LexiconCode for the initial request and all other requesters, FeatHub voters and testers: DietPi-Software | Mycroft AI  #1701
  • DietPi-Software | Resolved some misleading outputs when having VNC Server or GPU using software installed. Many thanks to @mtpiercey for reporting these issues: DietPi-Software | Solve misleading output on CertBot install #2870
  • DietPi-Software | Deluge: Lowered UMask (007 => 002) to allow read access from e.g. custom Samba shares without "dietpi" user. Many thanks to @radsb for reporting the limited access: https://dietpi.com/phpbb/viewtopic.php?f=11&t=5847
  • DietPi-Software | FFmpeg: On RPi, the new APT repo package will be installed, which now supports RPi hardware acceleration and is some subversion newer then the package hosted on dietpi.com: DietPi-Software | FFmpeg: Enable HW encoding (RPi) #869 (comment)
  • DietPi-Software | Gitea: Current stable v1.8.X will be installed now and existing instances will be upgraded during DietPi-Update. Many thanks to @msongz for implementing this: change gitea to 1.8 for stable purpose #2881
  • DietPi-Software | myMPD: Current upstream version will be installed now and existing instances will be upgraded during DietPi-Update, which requires a config file reset. A backup to recover custom settings from will be created: DietPi-Software | O!MPD/myMPD: Database update fails on current upstream versions #2156 (comment)
  • DietPi-Software | O!MPD: Current upstream version will be installed now and existing instances will be upgraded during DietPi-Update. Existing config and database will be preserved. YouTube and Tidal support is added now by default. Many thanks to @ArturSierzant for giving valueable feedback and suggestions: DietPi-Software | O!MPD: Install current master + fixes #2884
  • DietPi-Software | Ampache: Reinstalls will now preserve existing configs and database.
  • DietPi-Software | Medusa: mediainfo is now installed to enable Medusa gathering meta data and resolving related warnings in log. Additionally, on Stretch and above, Python3 is now installed and used, as recommended by Medusa for a while. Many thanks to @bluesmoke for suggesting this enhancement: https://dietpi.com/phpbb/viewtopic.php?f=11&t=5945
  • DietPi-Software | Node-RED: "sudo" permissions are now enabled by default: DietPi-Software | Node-RED: Add sudo support by default #2910

Bug Fixes

As always, many smaller code performance and stability improvements, visual and spelling fixes have been done, too much to list all of them here. Check out all code changes of this release on GitHub: #2950

Known/Outstanding Issues

For all additional issues that may appear after release, please see the following link for active tickets: https://github.com/MichaIng/DietPi/issues

Daniel Knight and others added 30 commits May 11, 2019 15:26
+ Cleanup
+ DietPi-Software | Airsonic/Subsonic: Currently incompatible with Buster due to Java 8 dependency
+ DietPi-Update | Do not allow insecure connections when downloading update archive, instead show progress bar (instead of default meter) for such a small download, similar to wget output.
+ DietPi-Update | Prefer curl, do not show progress for tiny downloads but always print errors
+ DietPi-Cleaner | Fix "i" index shared throughout nested functions (Run_Cleaners => Run_Cleaner_2). To be failsafe, localise every loop index in functions once, as general coding style.
+ DietPi-Globals | G_OBTAIN_CPU_TEMP(): Add support for Core2Duo CPUs and make $print_full_info input failsafe.
+ CHANGELOG | v6.25 DietPi-Cleaner fix and Core2Due CPU temp support
MichaIng added 7 commits July 1, 2019 21:18
+ RC up
+ DietPi-Globals | Raise default RC version
+ DietPi-Globals | G_DIETPI-NOTIFY -2: Little performance boost by replacing external tput command with internal echo code, where possible. And mawk is faster than sed! "shopt -s extglob" allows bash string manipulation with extended regex, e.g. "var=${var//\\e[[0-9]*([;0-9])m/}" (for colour code removal), but interestingly it is much slower than set/mawk if the string is a bid longer and has more than one match. So pure bash string manipulation is only beneficial for simple glob patterns, but there it is orders of magnitude faster.
+ Interesting find: "${array[i]}" works without "$" (if "i" is an integer), however we stay with explicit variable calls.
+ DietPi-Launcher | Syntax
+ DietPi-Launcher | Do not run G_INIT(): Concurrency tests are done by the target scripts, no tmp files are created, no locale critical command output scraped and it makes sense to start target scripts with fresh $HIERARCHY in this case. Leave root user and rootfs R/W check in place, even that this is checked within target scripts: All target scripts require root permissions and most rootfs R/W and the effort of going back and forth is higher than having the abortion directly at launcher start.
+ DietPi-Config | APT mirror: When cancelling custom entry input box, or an error occurred within dietpi-set_software or G_AGUP, return to mirror selection menu directly and print error to selection menu instead of own prompt.
+ DietPi-Config | APT mirror: Fix solution for menu loop on failure/cancel
Beta v6.25.2
@MichaIng MichaIng added this to the v6.25 milestone Jul 3, 2019
@MichaIng MichaIng requested a review from Fourdee July 3, 2019 12:54
MichaIng added 3 commits July 3, 2019 14:58
+ RC up
+ DietPi-Globals | Default RC up
+ CHANGELOG | Set release date, update release PR link and remove solved known RPi+VC4 sound card selection issue
@MichaIng MichaIng changed the title v6.25.3 Release v6.25 Jul 3, 2019
MichaIng added 13 commits July 3, 2019 15:46
+ DietPi-RAMdisk | Before storing DietPi to disk, remove status files that are recreated on boot/demand
+ DietPi-Update | .update_available flag file is now removed within DietPi-RAMdisk before storing to disk
+ DietPi-Patch | Remove flag/status files from disk once, which will be done from now on before DietPi-RAMdisk stores to disk
+ DietPi-PREP | Until rework (install requirements first, do autoremoval afterwards), resolvconf needs be installed prior to autoremoval to prevent ifupdown removal on some pre-images, e.g. Buster mini.iso
CHANGELOG | DietPi-PREP: Resolved an issue where ifupdown (networking service) was autoremoved, which broke running network connections
+ DietPi-Software | Revert from mariadb command to mysql command, since on Jessie mariadb command is not available and on Stretch + Buster it is a symlink to mysql anyway
- DietPi-Software | MPD: Resolved a systemd warning about invalid RuntimeDirectory value:
  - Jessie: [/lib/systemd/system/mpd.service:11] Runtime directory is not valid, ignoring assignment: /run/mpd
  - Stretch: [/lib/systemd/system/mpd.service:11] Runtime directory is not valid, ignoring assignment: /run/mpd
  - Buster: /lib/systemd/system/mpd.service:9: RuntimeDirectory= path is absolute, ignoring: /run/mpd
  - Path must be related, as it is always created beneath /run/: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectory=
  - Setting it to "mpd" works well on Stretch and Buster, but on Jessie: Failed at step RUNTIME_DIRECTORY spawning /usr/bin/mpd: File exists
  - Neither the APT package systemd unit nor the upsteam one have the RuntimeDirectory defined. It defaults to /run/<service_name> and is successfully created and used if not defined. Removing the line works well on all three distro versions.
+ DietPi-Patch | Remove obsolete and wrong RuntimeDirectory definition: 882ddfb
+ DietPi-Cleaner | Tiny: Declare local i only once per function, a value does not need to be assigned, it is created as empty string by default, regardless of upper/non-local values
+ DietPi-Patch | Failsafe: Use Jessie-compatible service stop+disable, just in case of Jessie ARMbian systems
+ DietPi-Firstboot | Apply fixed locale support check: f8fc006
+ DietPi-Firstboot | Revert to 'en_GB.UTF-8' if chosen locale is not supported
+ DietPi-FirstBoot | locale -a shows en_GB.UTF-8 as "en_GB.utf8" for some reason
RC v6.25.3
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.

4 participants