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 v7.7.1 #4829

Merged
merged 29 commits into from
Oct 14, 2021
Merged

Beta v7.7.1 #4829

merged 29 commits into from
Oct 14, 2021

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Oct 12, 2021

Beta v7.7.1

(2021-10-14)

Changes since v7.7.0

  • General | The /boot/dietpi/func/obtain_network_details script has been removed, including the related /run/dietpi/.network file to obtain network details. All uses of these files have been replaced with the new DietPi-Globals G_GET_NET function (see below).
  • DietPi-JustBoom | Added the ability to enforce an output channel count, or to not enforce an audio format value to preserve the input stream format or leave conversion up to ALSA, which is now the default when resetting settings. Similarly the audio output buffer can now be unset to keep the MPD default. Generally, if not required for a specific reason, it is recommended to not convert the audio stream and keep these settings unchanged/default.
  • DietPi-Software | Kodi: On Debian Bullseye, with Kodi 19, GBM support is present by default, which means that Kodi can be started without a wrapping X server. This is now done by default when starting Kodi outside of a desktop session, including the dietpi-autostart option. This also means that an X server is not installed anymore as a dependency of Kodi, but only as a dependency of a deskop environment.
  • DietPi-Software | Kodi: It can now be installed on all devices. In some cases, video playback performance may be bad, depending on the GPU, whether good drivers are available, and on the video quality, of course. However, it should be our users who evaluate whether it's sufficient or not, instead of us. With Debian Bullseye, new Mesa drivers and Kodi 19 started via GBM, performance should be much better than it was with older Debian/package versions.
  • DietPi-Software | File Browser: The default network port has been changed to 8084 to resolve a conflict with HTPC Manager. This only affects new File Browser installs.

Fixes since v7.7.0

+ DietPi-Globals | Satisfy shellcheck
+ DietPi-Software | Kodi: Since Bullseye, Kodi is built with GBM support, hence does not require an X server anymore.
+ DietPi-Software | Kodi: Remove device restrictions: Generally Kodi runs on all devices, whether performance is sufficient may be decided by user instead of by us. Especially since Bullseye with GBM support and recent Mesa drivers, it is often quite good, tested successfully on a pretty bad VM without deducated GPU and no hardware support passed through.
+ DietPi-Software | Kodi: To assure that Kodi installs on all Odroids, be more compatible with missing packages from Meverics repository, respectively skip install of special Odroid packages and use Debian's Kodi, if required, e.g. currently on Bullseye.
+ DietPi-Software | X.Org X Server: Similar to Kodi, skip install of Odroid drivers and libraries if those are not available, in which case the Mesa drivers are used.
+ DietPi-Software | Syntax
+ DietPi-Globals | G_GET_NET: Skip loopback interface in the first place
+ DietPi-Globals | G_GET_NET: Since "read" applies all remaining arguments to the last variable, assure that only one IP address is returned
+ DietPi-Software | Add some more error handling on uninstalls
+ DietPi-Software | Kodi: Fix kodi-odroid package detection
+ CHANGELOG | Kodi: On Debian Bullseye, with Kodi 19, GBM support is present by default, which means that Kodi can be started without a wrapping X server. This is now done by default when starting Kodi outside of a desktop session, including the dietpi-autostart option. This also means that an X server is not installed anymore as a dependency of Kodi, but only as a dependency of a deskop environment.
+ CHANGELOG | Kodi: It can now be installed on all devices. In some cases, video playback performance may be bad, depending on the GPU, whether good drivers are available, and on the video quality, of course. However, it should be our users who evaluate whether it's sufficient or not, instead of us. With Debian Bullseye, new Mesa drivers and Kodi 19 started via GBM, performance should be much better than it was with older Debian/package versions.
+ DietPi-Software | Kodi: Error-handle uninstall steps
+ DietPi-Software | Kodi: Merge install and config code blocks
+ DietPi-Update | Be less verbose on live patches, as the system in general has been proven reliable
+ DietPi-Update | Only show the live patches menu when any applicable and not applied live patches have been found instead of when any live patches have been found
+ DietPi-Update | Currently, when doing an RC update (beta/dev branch updates) or reapplying the last update via "dietpi-update -1", pre-patches intended for the target version may not be reapplied. To solve this, the version strings which were possibly decreased updater-internally are not passed an used by the pre-patches script.
+ DietPi-Software | Kodi: Minor config step reordering for best concurrency but to assure the desktop entry exists before desktop shortcuts are created.
+ DietPi-Software | Kodi: Since Bullseye, Kodi is built with GBM support, hence does not require an X server anymore.
+ DietPi-Software | Kodi: Remove device restrictions: Generally Kodi runs on all devices, whether performance is sufficient may be decided by user instead of by us. Especially since Bullseye with GBM support and recent Mesa drivers, it is often quite good, tested successfully on a pretty bad VM without deducated GPU and no hardware support passed through.
+ DietPi-Software | Kodi: To assure that Kodi installs on all Odroids, be more compatible with missing packages from Meverics repository, respectively skip install of special Odroid packages and use Debian's Kodi, if required, e.g. currently on Bullseye.
+ DietPi-Software | X.Org X Server: Similar to Kodi, skip install of Odroid drivers and libraries if those are not available, in which case the Mesa drivers are used.
+ DietPi-Software | Kodi: Error-handle uninstall steps
+ DietPi-Software | Kodi: Merge install and config code blocks
+ DietPi-Software | Chromium: Resolved an issue where the autostart option didn't work if Chromium was installed without a desktop.
+ DietPi-Software | Some install+config block merges, some more error-handling and removal of obsolete config steps
+ DietPi-Software | Minor
+ DietPi-JustBoom | Fix MPD settings detection when settings are not present
+ DietPi-JustBoom | Add the ability to set the number of output channels
+ DietPi-JustBoom | Add the ability to not enforce a format value, preserving the input stream format or leaving conversion to ALSA
+ DietPi-JustBoom | Add the ability to reset the audio buffer for default. It was 2 MiB in the past, but now is 4 MiB. Also fix the unit as it is KiB, not bytes
+ DietPi-JustBoom | Remove unused CAVA_ENABLED variable, but do not restart CAVA whenever settings are applied. We have dedicated (re)start/stop CAVA options which can be used to control CAVA instead, including, if wanted, a restart when settings were changed.
+ DietPi-JustBoom | Align menu format, merge/remove some non-required variables and steps and other minor coding enhancements
+ General | Worked around an issue on Debian Stretch where "systemctl enable/disable --now" does not start/stop the service in certain circumstances. This is solved within our error handler "G_EXEC", hence when manually calling systemctl you may still face this: #4815
+ General | For the above workaround to be effective, all related systemctl calls have been wrapped into our G_EXEC error handler, in case of DietPi-Software uninstall steps along with a lot of other uninstall steps, to be both, more transparent and assure cleaner uninstalls
+ General | Satisfy shellcheck
+ CHANGELOG | Typo
@MichaIng MichaIng added the Beta 🧪 Issues specific to the Beta branch testing label Oct 12, 2021
@MichaIng MichaIng added this to the v7.7 milestone Oct 12, 2021
MichaIng and others added 5 commits October 13, 2021 12:41
+ DietPi-Software | X.Org X Server: Resolved an issue with Odroid N2 and C4 models where the installation failed because of a typo. Many thanks to @wiml for reporting this issue: #4830
+ DietPi-Software | Tiny
+ DietPi-Software | Chromium: Resolved an issue on RPi where starting Chromium failed if no desktop was installed, due to a missing dependency. Many thanks to @Loader23 for reporting this issue: #4782
+ DietPi-Software | Chromium: Merge install and config code blocks
+ DietPi-Software | File Browser: Change default port to 8084 to resolve conflict with HTPC Manager
+ DietPi-Software | MotionEye: Minimise build dependencies (taken from Python 3 branch), do not touch existing config, add more error-handling and merge install and config code blocks
@Joulinar
Copy link
Collaborator

I guess change log entry for File Browser change missing 😃

@MichaIng
Copy link
Owner Author

Is this worth a note? I mean it affects only fresh installs.

@Joulinar
Copy link
Collaborator

just for documentation. But fine to leave it out.

+ CHANGELOG | File Browser: The default network port has been changed to 8084 to resolve a conflict with HTPC Manager.
@MichaIng
Copy link
Owner Author

On the other hand, why not 😄: b98d0a9

+ CHANGELOG | Add info that the File Browser change only affects new installs.
+ DietPi-PREP | Do not install dietpi-CHANGELOG.txt file, since we do not update it with updates since ages
+ DietPi-Patches | Remove obsolete /boot/dietpi-CHANGELOG.txt
+ General | The /boot/dietpi/func/obtain_network_details script has been removed, including the related /run/dietpi/.network file to obtain network details. All uses of these files have been replaced with the new DietPi-Globals G_GET_NET function.
+ DietPi-Patches | Remove obsolete /boot/dietpi/func/obtain_network_details
+ DietPi-Patches | GMediaRender: Patch service
+ DietPi-Config | Enter WiFi adapter menu after it has been enabled
+ DietPi-Config | Do not copy /etc/network/interfaces to /tmp to read interface info from tmpfs but read it from disk location directly. After first access this file is in filesystem cache so that reading it is as fast as from tmpfs.
+ DietPi-Patches | Extend wg0 patch to replace previous patches and remove those in turn.
+ 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.

Open Beta v7.7 | Please help testing and hardening the upcoming release
3 participants