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 v6.29.1 #3470

Merged
merged 54 commits into from
Apr 26, 2020
Merged

Beta v6.29.1 #3470

merged 54 commits into from
Apr 26, 2020

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Apr 16, 2020

Beta v6.29.1

(26/04/20)

API Changes (since v6.29.0)

  • DietPi-Globals | The new global funktions G_CHECK_CON and G_CHECK_DNS have been added to test general network connectivity and DNS resolver based on dietpi.txt settings.

Changes / Improvements / Optimisations (since v6.29.0)

  • NanoPi NEO Plus2 | Initial hardware identifier (ID: 57) and support for this device has been added to DietPi. Many thanks to @StephanStS for doing this request and creating an image: Images | Update all images to Buster where possible #2979 (comment)
  • DietPi-Update | The DietPi auto update feature has been removed. Our updates require users attention, they often contain deeper changes, interactive elements and important information. We'll instead add an auto APT upgrade feature at a later release, similar to "unattended-upgrades" but with the possibility to also upgrade non-security patches, right into dietpi-update. Checking for available updates is done as before on a daily basis if not disabled via dietpi.txt.

Bug Fixes (since v6.29.0)

MichaIng added 22 commits April 2, 2020 18:45
+ DietPi-WiFiDB | Minor code and config file format + add some comments about global wpa_supplicant.conf settings
+ DietPi-PREP | Add some more info about installed WiFi packages
+ DietPi-Set_hardware | Tiny
+ DietPi-Set_hardware | Since Bluetooth adapters can be blocked via rfkill as well, unblock them as failsafe step. Let's still do not yet install the package as Bluetooth dependency. Basically it would be good to find out, if/how to assure on all our images that no wireless adapters is rfkill soft-blocked, then we could remove the package from DietPi completely, e.g. "rfkill unblock all" should do it, but needs verification. When users install it manually then, to set soft-block switches, we can assume they will as well manually unblock devices where required.
+ DietPi-Config | Country code is now applied within "dietpi-set_hardware wificountrycode" call
+ Network | Apply WiFi country code via native crda udev rules
+ DietPi-Software | CAVA: Install cava.conf from online resource
+ DietPi-Software | CAVA: Install libncursesw5 dependency
+ DietPi-JustBoot | Do not overwrite CAVA config file completely on reset. The values that can be set via DietPi-JustBoot are reset only instead, as it is done for mpd.conf. Allows user to manually alter other CAVA settings and preserves those.
+ DietPi-Patch | Remove obsolete dietpi-software config directory, which contained cava.conf only, which is now downloaded from online resource
+ DietPi-Patch | Pi-hole: Failsafe, install php-intl package as well if PHP7.4 is installed 
+ DietPi-Patch | Minor wording and additional output about what we are doing
+ DietPi-Patch | Remove obsolete hint about /DietPi RAMdisk from /boot config files
+ DietPi-Software | Folding@Home: Prior to uninstall, un-check out all work units, so they can be picked up by other donors prior to timeout: FoldingAtHome/fah-issues#1255
+ DietPi-Patch | Add compiled static C.UTF-8 locale to archive instead of compiling it
+ DietPi-Explorer | Use current dir as default dir instead of /home
+ DietPi-Services | Use systemd-sysv-generator location to check for sysvinit services. Process tool drop-ins do not require an actual systemd service, those are applied as well for systemd-sysv-generator services. As well copy those for "Edit". This has the advantage that some Before=/After= ordering and probably other translated content of the originating sysvinit service is preserved.
+ DietPi-Services | Check /usr/local/lib/systemd/system/ as well for systemd services, which is a valid path. Assure to check in the same priority order as systemd.
+ DietPi-Software | Pi-hole: No not alter the service file for syslog facility removal. This has no effect on the generated systemd unit and adding $network facility is about to be added to upstream: https://www.freedesktop.org/software/systemd/man/systemd-sysv-generator.html, pi-hole/pi-hole#3248
+ DietPi-Software | Pi-hole: Run the installer with new G_EXEC
+ DietPi-Software | Pi-hole: Do not check available physical memory via "free -m" $4 (free). Due to file system caching this is likely small, use $7 (available) instead which excludes buffer and cache: https://manpages.debian.org/buster/procps/free.1.en.html
+ DietPi-Globals | Add G_CHECK_CON and G_CHECK_DNS for general connection and DNS resolver checking to be called before firstrun setup, DietPi updates or software installs
dietpi.txt | Adjust CONFIG_G_CHECK_URL_TIMEOUT and CONFIG_G_CHECK_URL_ATTEMPTS comments to represent current behaviour
+ DietPi-Login | Use new G_CHECK_CON and G_CHECK_DNS functions for general connectivity and DNS resolver test
+ DietPi-Software | Use new G_CHECK_CON and G_CHECK_DNS as consistent connectivity and DNS resolver test method
+ CHANGELOG | DietPi-Globals: The new global funktions G_CHECK_CON and G_CHECK_DNS have been added
@MichaIng MichaIng added the Beta 🧪 Issues specific to the Beta branch testing label Apr 16, 2020
@MichaIng MichaIng added this to the v6.29 milestone Apr 16, 2020
+ DietPi-Explorer | Current dir needs to be assigned to $TARGET_FP before G_INIT navigates to /tmp/$G_PROGRAM_NAME
+ DietPi-Globals | G_EXEC: Show max amount of attempts correctly when $G_EXEC_RETRIES is given
+ DietPi-Config | Network Options: If resolvconf is not available, static DNS settings cannot be applied via /etc/network/interfaces but need to be applied via /etc/resolv.conf directly, one entry per line.
+ Images | Add support for NanoPi NEO Plus2 with new hardware ID 57
+ Images | Use official SBC naming, case-sensitive. This currently leads to doubled DietPi-Survey report entries, but we should revert to hardware ID based identification anyway, like it is done for the benchmarks + a reset is planned. It is more important that users see the correct and complete SBC name along with the images, then the beauty of our statistics.
+ DietPi-Obtain_HW_model | Make $G_HW_ONBOARD_WIFI an RPi special as it practically is right now. It can make sense to use this for all SBC models but it does not make sense to keep it for those as long as it never applied or checked within code.
+ DietPi-Software | OctoPrint: Update installer to match new GitHub URL and pip install method: #3474
+ DietPi-Software | General uninstall enhencements
+ DietPi-Imager | Run "partx -u" right after partprobe, since the latter fails to create the partition block devices /dev/loop0?* in cases
MichaIng added 26 commits April 21, 2020 22:08
+ DietPi-Software | Koel: Fix GitHub URL, since the repo has changed from user "phanan" to organization "koel"
+ CHANGELOG | Koel: Resolved an issue where download failed because of changed GitHub link. Many thanks to @C-Fu and @Joulinar for reporting and identifying the issue: #3482
+ DietPi-Software | Shairport-Sync: Remove package before attempting to remove service, otherwise our self-compiled package fails to uninstall: #3461 (comment) Repackaging needs to be done to allow systemctl to fail within the prerm script.
+ DietPi-Software | Jackett: Increase TimeoutStopSec to match recent upstream change: Jackett/Jackett@4eb7392
+ DietPi-Set_hardware | wifimodules: Solve visual-only error print on non-RPi since $G_HW_ONBOARD_WIFI is an RPi-only variable now. NB: "(( $G_HW_ONBOARD_WIFI ))" with empty variable returns false silently while "(( <somethint> && <empty> ))" prints an error if the second check contains an empty variable, and this syntax is checked even if the first check returns false already.
+ DietPi-PREP | Pass G_CHECK_URL_TIMEOUT and G_CHECK_URL_ATTEMPTS as long as dietpi.txt does not yet exist, to avoid related error message (visual-only issue). Assure that curl exits with error code when getting a "valid" error response from webserver.
+ DietPi-Software | Mopidy: Version 3 uses Python3, hence pip3. Also Mopidy-Local-Images has been deprecated last year with Mopidy v3 and Mopidy-Local functionality has been separated into a dedicated package. Mopidy v3 is available since Buster from official repo and since Bullseye from Debian repo. The latter needs to be used for ARMv8. Install package and Python modules from correct sources and with correct method according to above information: #3485
+ DietPi-Software | Mopidy: Do not add user to "render" group, which is required for video DRM/KMS applications only
+ DietPi-Software | GMediaRender: Do not set initial volume via systemd unit command line option. "0.0" (100%) is a reasonable default, instead of "-1" (~97%)
+ DietPi-Patch | Remove obsolete dietpi.txt entries: CONFIG_WIFI_COUNTRY_CODE and CONFIG_AUTO_DIETPI_UPDATES
+ dietpi.txt | Remove obsolete CONFIG_AUTO_DIETPI_UPDATES which is not used anymore. Our updates should have users attentions, they often contain interactive/informational elements as well. This feature could be re-added when we are able to have a faster update schedule with smaller updates /less changes.
+ DietPi-Update | Remove auto updates option from menu, it has been removed from cron job already: 08a78be#diff-cb5f5ed4cb1765dffd7825148d853492
+ CHANGELOG | DietPi-Update: The DietPi auto update feature has been removed
+ DietPi-Firstboot | Network interfaces must be configured manually on first boot, since /etc/network/interfaces do initially not contain active interfaces and manual ifup has been removed from dietpi-boot.
+ DietPi-Set_hardware | wificountrycode: Since all input is made lowercase, WiFi country code needs to be made uppercase before checking and applying value.
+ DietPi-Software | Xserver: On R3399 and ASUS TB, do not install the RockChip provided X.org packages for now. They are overwritten by Debian repo packages and whether they provide benefits or not needs to be tested.
+ DietPi-Software | Xserver: Revert ASUS TB X.org config to a very basic and compatible default until other X.org packages with different methods have been proven to work better
+ DietPi-Software | Xserver: X.org config consistency
+ DietPi-Software | Xserver: Revert RK3399 X.org config to a very basic and compatible default until other X.org packages with different methods have been proven to work better
+ DietPi-Software | X.org: Remove obsolete and unavailable command from currently anyway unused RK3399 udev rules
+ DietPi-Globals | Whenever one of our global functions invoke G_EXEC with internal G_EXEC_PRE_FUNC/G_EXEC_POST_FUNC, allow originating script/user G_EXEC_PRE_FUNC/G_EXEC_POST_FUNC by renaming existing ones and calling them as well.
+ DietPi-Globals | Use "declare -F" instead of "declare -f" when checking for declared functions. The first one only prints the name (slightly faster) while the second one prints the functions content.
+ DietPi-PREP | Failsafe: Assure that apt-mark can never get an empty package list
+ DietPi-PREP | Jessie: Apply a workaround for Jessie pre-images to replace the not yet available APT "--allow-change-held-packages" option with "--force-yes", until distro has been upgraded
+ DietPi-Config | Remove doubled brackets on No-IP status
+ DietPi-PREP | Assure that systemd-timesyncd is installed on Bullseye+ systems, where it is available as dedicated APT package and only one possibility to satisfy systemd dependency for "time-daemon": https://packages.debian.org/bullseye/time-daemon
+ DietPi-Globals | Default RC up
+ RC up
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.

2 participants