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.26 #3162

Merged
merged 280 commits into from Oct 15, 2019

Conversation

@MichaIng
Copy link
Owner

MichaIng commented Oct 15, 2019

v6.26

(15/10/19)

Changes / Improvements / Optimisations

  • General | Support for Debian Jessie has now been fully dropped from DietPi code. Jessie systems are moved to the "jessie-support" Git branch and will stay on v6.25. Critical bugs, if reported, may still be fixed, but DietPi-Software related issues and new features will not be handled anymore by the DietPi code team. However, everyone is free to open pull requests against the jessie-support branch: https://github.com/MichaIng/DietPi/tree/jessie-support
  • General | Initial support and definitions for Debian Bullseye, the new Debian testing version, have been added to DietPi code. You can now create Bullseye systems via DietPi-PREP: #3009
  • General | DietPi scripts, i.e. dietpi-software, will not overwrite you custom permissions in /mnt/dietpi_userdata anymore. Instead required permissions are now only applied for individual software titles that are being installed. Besides saving you time to re-apply custom permission, this as well enhances security in some cases where software installers/archives apply/contain stricter per-file/dir permissions. Many thanks to @JJGO and @johnvick for suggesting this enhancement: #2641
  • General | On first boot, when DietPi-Software finishes the initial setup, it is now assured that all APT packages, including firmware, are upgraded by performing an "apt-get dist-upgrade"/"apt full-upgrade". Since it includes upgrades regardless of underlying dependency and conflict changes, which in rare cases can perform unwanted removals, we do not do this on regualar DietPi-Update/Software runs. But on first boot, without additional packages installed yet, it is safe. Many thanks to @cmessin1 for doing this request: #3098
  • Rochchip | Experimental GPU acceleration support for RK3399 SoCs and ASUS Tinker Board has been re-enabled.
  • RPi | The haveged daemon has been replaced with rng-tools, an alternative which does not work on all devices, but has been proven to work on RPi, is default on Raspbian and uses less RAM on idle.
  • RPi4 | The default CPU temperature limit (temp_limit) has been raised from 65°C to 75°C, since this device runs significantly hotter then previous RPi model. Many thanks to @trueaspects and @Trunkzeh for doing this suggestion: #3019, #3151
  • DietPi-Globals | The environment variable $G_USER_INPUTS has been renamed to $G_INTERACTIVE, which describes better what it does. When setting this to "0", DietPi scripts will run non-interactively, i.e. all whiptail dialog prompts and other tasks that require manual user input are skipped. Note that this is not required when running scripts from cron jobs or systemd units, since those have no STDIN attached which makes DietPi scripts run non-interactively automatically. Scripts will stay backwards-compatible, thus respect $G_USER_INPUTS for a while, but please adjust your scripts or docs where you make use of it. Many thanks to @AtkLordOverAll for contributing this change: #3041
  • DietPi-PostBoot | /var/log/boottime is not created anymore. Please use "systemd-analyze" to get much more accurate and detailed boot information.
  • DietPi-PostBoot | The pre-login banner has been slightly adjusted: Default login credentials are now only shown on first boot, since the information is obsolete when user changed the password. As well an info has been added that one needs to hit to show the username input field.
  • DietPi-Banner/NordVPN: DietPi-NordVPN has a new input command to print the current VPN connection state: "dietpi-nordvpn status". This has been implemented as well into DietPi-Banner to optionally show NordVPN connection state on login automatically. Many thanks to @svh1985 for implementing this feature: #3084
  • DietPi-NordVPN | Added options for connection up/down scripts, e.g. to implement killswitches, answer inbound connections from outside local network correctly, safe and track connection uptime, and similar tasks. Many thanks to @svh1985 for implementing this feature: #3047
  • DietPi-Config | Audio Options: Menu has been reworked. Audio capabilities (ALSA) can be enabled and disabled as a separate option. If enabled, generic sound card auto-detection has been added to the bottom of the list for all devices. This allows the selection of generic sound devices on all SBCs, e.g. if unknown to DietPi or if our hard-coded card/device IDs are wrong due to additional attached audio hardware.
  • DietPi-Config | Some /etc/modprobe.d/ configs are merged to less files and mostly prefixed with "dietpi-", to allow easier differentiation between Debian/pre-image and DietPi files.
  • DietPi-Config | RPi: Update certain config.txt settings to match new firmware version. WiFi and Bluetooth is now disabled via related dtoverlays, which should further reduce hardware and firmware loads.
  • DietPi-Config | Added overclocking profiles for RPi4. Many thanks to @aftensleuk for request and valuable suggestions: https://dietpi.com/phpbb/viewtopic.php?f=12&t=6225
  • DietPi-Config | RPi: Re-added previously removed options to adjust initial turbo for CPU frequency on boot and to lower the idle CPU frequency. The related firmware issues have been fixed with a recent update: #3147
  • DietPi-Config | RPi: Removed the option to adjust CPU frequency limits. On RPi the dynamic CPU governors only jump between "arm_freq" and "arm_freq_min", hence those limits should be set via overclocking profile and the newly re-added "ARM Idle Frequency" option.
  • DietPi-Config | RPi1/Zero: OpenGL modes/drivers can now be successfully selected/installed from display resolution menu.
  • DietPi-Software | TightVPN: Since Stretch, TightVPN has been replaced by TigerVPN, thus the install option has now been removed from code.
  • DietPi-Software | SDL2: Since we ship a tailored build for Amiberry, the general install option for SDL2 has been removed, instead it will be installed/updated along with Amiberry. If you require SDL2 for any other purpose, please install the "libsdl2-2.0.0" package from APT repository: https://packages.debian.org/libsdl2
  • DietPi-Software | Pi-hole: Logging to /var/log/pihole.log is now disabled by default, since it is not required in usual cases. Query logs, shown in web UI, are stored in database. This might also resolve possible pihole-FTL crashes in combination with DietPi-RAMlog and DietPi-Logclear. Many thanks to @kuerious for reporting and @Mcat12 for providing helpful information on this topic: pi-hole/FTL#614
  • DietPi-Software | Pi-hole: Webserver configs have been added to block public access to the blocking page, optionally as well to the admin panel and generally block access to dot files/dirs (.git*) inside the admin panel directory. Parts are inspired by the official Lighttpd config, provided by Pi-hole: https://github.com/pi-hole/pi-hole/blob/master/advanced/lighttpd.conf.debian
    Many thanks to @AtkLordOverAll for his effort to implement this for Lighttpd initially + the choice during install to block public admin panel access as well: #3054
  • DietPi-Software | OpenVPN: Rsyslog is not installed anymore together with OpenVPN server. Logs are available via "journalctl -u openvpn", all system logs via "journalctl". If you require persistent logs, uninstall DietPi-RAMlog via dietpi-software and make the journal boot persistent via: mkdir /var/log/journal
  • DietPi-Software | Gogs: On ARMv7 and x86_64 now the latest version from GitHub is installed. Reinstalls will upgrade the version while preserving existing settings. Many thanks to @LazyLama for doing this suggestion: #2999
  • DietPi-Software | Webmin: Install is now done via official APT repository to allow easier updates. To apply this to all systems, it is reinstalled on DietPi-Update to v6.26. Additionally the dependency on rsyslog has been removed. The Webmin logging panel still depends on rsyslog, but the overhead shall not be applied to all systems by default. Instead users can now decide themselves, whether they need to see system logs on Webmin, or not, and in case apply custom logging settings as well.
  • DietPi-Software | Amiberry: Enabled support for RPi4 and Odroid XU4. Thanks to @midwan for providing the binaries: #3104
  • DietPi-Software | myMPD: Updated install steps to avoid deprecations of the current upstream version. As well the service will not run as primary group "dietpi" anymore, which is only required for software that creates media files. Many thanks to @jcorporation (developer of myMPD) for providing this information as well as a smooth build script that updates old instances gracefully: #3097
  • DietPi-Software | WiFi Hotspot: Since on some systems, a hostapd service mask was found, it is now unmasked on install. As well our custom compiled binaries are now only installed on RTL8188C* devices where no special Realtek hostapd package is available. Many thanks to @symbios24 for reporting the service mask issue: #2962
  • DietPi-Software | Fail2Ban is not handled by DietPi-Services anymore, since the brute-force protection shall stay active during updates, installs, backups etc. The service is now started by systemd on boot and stays active until shutdown. Additionally on fresh installs the default jail.conf is optimised for the set "route" ban action: "blackhole" is now the route type, which does not send any respond to blocked requests.
  • DietPi-Software | WireGuard: Support for RPi1 + RPi Zero (ARMv6 models) has been enabled by switching to Bullseye as source repo, which is available for Raspbian as well. Additionally on RPi, the WireGuard kernel module is now rebuilt automatically after kernel package upgrades. Many thanks to @johnnyt83 for suggestion RPi1/Zero support and his efforts to test the source build: #2997
  • DietPi-Software | Gitea: Version 1.9.4 will be shipped from now on. Many thanks to @msongz and @minhphuc429 for implementing this update: #3138, #3154
  • DietPi-Software | Aria2: Runs now as it's own user "aria2" and group "dietpi" with home dir and config file moved to /mnt/dietpi_userdata/aria2/. Besides satisfying security standards, this allows other download and media related software, provided by dietpi-software, direct access to Aria2 downloads without the need for custom permission changes. Additionally the current session (download states) are saved on service stop and every 60 seconds, to prevent current tasks from being lost on reboot or power loss. Aria2 will be reinstalled with v6.26 to apply these changes. Many thanks to @msongz for implementing and testing the session feature: #3139

Bug Fixes

  • General | Removed an obsolete OpenMediaVault cron job and binary that was leftover on at least one of our images (NanoPi NEO2) and is not part of the current OMV packages, thus save to remove in every case. Many thanks to @kt1024 for reporting this issue: #2994
  • General | Resolved an issue where install of required APT packages for certain scripts could fail in the rare case that APT lists are outdated and old packages are not available in the repo anymore. Many thanks to @Paulisper for reporting this issue: #2996
  • General | Resolved an issue on some Buster systems where console-setup fails on boot to apply keyboard layout and console settings. Many thanks to @jaxjexjox for reporting this issue: #2912 (comment)
  • Rock64/RockPro64 | Resolved an issue where DietPi could not obtain the active network adapter and IP, if onboard Ethernet was used. This is because of a kernel-related bug, which seems to cause Ethernet connection instabilities as well in cases. A workaround is applied to all new Rock(Pro)64 images and via DietPi-Update. Many thanks to @svh1985 for reporting this issue, as well as searching and testing the workaround: #3066
  • DietPi-Update | Resolved an issue where the script did not exit on error: #3127
  • DietPi-Login | Resolved an issue during first run setup, where DietPi-Software was called with mostly wrong whiptail menu dimensions. This lead to info prompts and menus being quite small, in particular the "Install" menu entry, that one needs to select, being only visible when navigating to the bottom. Many thanks to @pbecks1963 for reporting this issue: #3053
  • DietPi-NordVPN | Resolved an issue where the server menu could have wrong entries or even fail, if foreign files were placed inside the config directory. Many thanks to @svh1985 for reporting this issue and implementing a fix: #3047
  • DietPi-Run_NTPD | Resolved an issue where changing time sync mode or mirror, from within time sync error prompt, led to a concurrent script execution. Many thanks to @Sopor for reporting this issue: #3010
  • DietPi-Services | Resolved an issue where single service calls failed if their names contain certain special characters, like dots. Many thanks to @maartenlangeveld for reporting this issue: #3059
  • DietPi-Config | Resolved an issue on RPi where I2C baudrate was not applied correctly, thus selection was ineffective. Many thanks to @flashspys for reporting this issue: #2966
  • DietPi-Config | Resolved an issue on RPi where headless mode did not disable all video outputs and framebuffer as intended, since the used config.txt setting has been removed with recent firmware versions.
  • DietPi-Config | Resolved an issue on RPi4 where SDTV/composite video output did not happen when selecting the related resolution menu entries.
  • DietPi-Config | On RPi4, vc4-kms-v3d option has been removed from display resolution menu, since the full KMS driver is not supported on RPi4 currently.
  • DietPi-Software | Resolved an issue where the script tells you that SQLite will be installed as pre-req, while actually a desktop is required and LXDE will be installed.
  • DietPi-Software | X11/Kodi on Odroid C2: Resolved an issue on Odroid C2 where Kodi failed to start. GPU drivers and X11 config will be updated during DietPi-Update to cover this issue. Many thanks to @alexeylutskov for reporting this issue and testing the fix: #3028
  • DietPi-Software | Kodi: Resolved an issue where Kodi failed on RPi Buster and RPi4. Many thanks to @GulyFMG, @derdershat and @jonyskids for reporting this issue, searching and testing workarounds: #3031
  • DietPi-Software | Gitea: Resolved an issue where install fails on ARMv7 systems. Many thanks to @maschiw for reporting this issue: #2959
  • DietPi-Software | Node-RED: Resolved an issue where install fails due to missing data dir creation. Many thanks to @Orfait for reporting this issue: #2975
  • DietPi-Software | Node-RED: Resolved an issue where user creation fails if "gpio" group is not present. Many thanks to @marcobrianza for reporting this issue: #2975 (comment)
  • DietPi-Software | OpenVPN: Resolved an issue where install failed on Debian Buster due to a new easy-rsa version with changed commands and options. Now the most recent easy-rsa is manually downloaded on all systems to generate server and client key + cert with modern methods and the client config is slightly updated to match modern settings.
  • DietPi-Software | XRDP: On Stretch, new the version from backports is installed. This resolves a critical issue where /etc/profile was not loaded to the session and, due to incomplete $PATH variable, important system binaries were not available on terminal emulators which broke many install and upgrade tasks. Furthermore this resolves an issue where install and connection of XRDP failed if IPv6 was disabled. Many thanks to @aspinks for the debug session which allowed us to track the issue down to its root: #3017
  • DietPi-Software | Sonarr: Resolved an issue where install failed due to an outdated APT repository key. Many thanks to @GregoryDosh and @GulyFMG for reporting this issue: #3029
  • DietPi-Software | Plex Media Server: Resolved an issue where DietPi-Update failed for versions prior to v6.23, due to the obsolete Plex Media Server dev2day repository being offline now. This repo is now removed via pre-patches, prior to G_AGUP being called. During regular patches PMS is reinstalled, applying the new official APT repo. Many thanks to @p-roman for reporting this issue: #3038
  • DietPi-Software | Pi-hole: Resolved an issue, where the blocking page was only shown, if the blocked URL contained the domain only, without any appending path: #3072
  • DietPi-Software | TigerVNC: Resolved an issue on Debian Buster, where the VNC connection fails immediately due to an external bug, if no read-only password has been applied via vncpasswd. Many thanks to @Trunkzeh for reporting this issue and providing the workaround: #3070
  • DietPi-Software | TigerVNC: Resolved minor error messages on login and in logs: "No session for PID ...", "DE is (null); No desktop environnement set, fallback to LXDE", "Use of uninitialized value $proto in socket at /usr/bin/tigervncserver"
  • DietPi-Software | Netdata: Resolved an issue where install failed on Stretch systems. Many thanks to @Velociraptor85 for reporting this issue: #3062
  • DietPi-Software | Amiberry: Resolved an issue where install failed on Buster due to changed library package version. The SDL2 library has been recompiled for Buster with minimal dependencies, thus X11 does not need to be installed anymore. Many thanks to @TuKo1982 for reporting this issue: #3104

Known/Outstanding Issues

  • DietPi-Config | Enabling WiFi + Ethernet adapters, both on different subnets, breaks WiFi connection in some cases: #2103
  • RPi | On TigerVNC virtual desktop, LXAppearance hangs on dbus-launch: #1791
  • Odroid C2 | Some WiFi adapters do no work as hotspot: #1955
  • Odroid XU4 | Kodi freezes shortly on video playback: #2584
  • Rock64 | 3.5mm A/V jack is currently not functional: #2522
  • DietPi-Software | Node-RED: Pre-installed modules cannot be updated via web UI: #2073
  • DietPi-Software | Raspimjpeg: With Lighttpd, streaming mjpeg does not work: #1747
  • DietPi-Software | MATE desktop: When logging in as root, desktop items and right-clock context menu is missing: #3160
MichaIng and others added 30 commits Jul 21, 2019
v6.26
+ DietPi-Patch | OMV binary is present on our NanoPi NEO2 image as well. The reason is that those two files are not part of current OMV packages (e.g. binary got renamed), thus are not removed by purging them. As those are surely obsolete, remove them.
v6.26
+ DietPi-PREP | Remove obsolete OMV binary as well. Both, cron job and binary, are not part of current OMV packages, thus are not removed by purging the packages.
v6.26
+ CHANGELOG | Removed an obsolete OpenMediaVault cron job and binary that was leftover on at least one of our images
+ DietPi-Set_hardware | soundcard: Skip installing alsa-utils via input value "none"
+ DietPi-Set_hardware | soundcard: Reset current and persistent control state before applying new soundcard setting
+ DietPi-Set_hardware | soundcard: Skip applying amixer settings via boot script or service. alsa-restore.service (or alsa-state.service, in case daemon mode enabled) safes and restores them automatically
+ DietPi-Set_hardware | soundcard: Store control states once and force alsa-restore.service restart, to assure it is active (states preserved) for next reboot
+ DietPi-Set_hardware | soundcard: Fix I2S on RPi which is a dtparam and no dtoverlay
+ DietPi-Set_hardware | soundcard: Skip dtoverlay=i2s-mmap on RPi which is not available since kernel 4.9 but enabled by default with I2S.
+ DietPi-Set_hardware | soundcard: Split RPi onboard options: HDMI, 3.5mm and auto
+ DietPi-Set_hardware | soundcard: Coding: Merge simple dtoverlay options on RPi
+ DietPi-Set_hardware | soundcard: Remove "pine64-analogue" which is not available anymore in DietPi-Config. Re-add when users can verify correct method to enable 3.5mm on new ARMbian-based Pine64 image.
+ DietPi-Set_hardware | soundcard: Enable all dtoverlays, kernel modules, services and scripts immediately to allow skipping reboot from DietPi-Config
+ DietPi-Set_hardware | soundcard: When USB DAC auto detection fails, inform user that it is reverted to "none" and skip creating asound.conf.
+ DietPi-Set_hardware | Coding: Use "systemctl enable/disable --now" (available since Stretch) to include start/stop into the same call. Skip "systemctl daemon-reload" after removing a unit, which has no relevant effect.
+ DietPi-Set_hardware | serialconsole: Remove obsolete block for Odroid C1 Jessie (kernel 3.x)
+ DietPi-Set_hardware | Minor coding
+ DietPi-Config | Audio: Split disabling audio capabilities as a separate menu entry, hide all other options when disabled. Install alsa-utils when enabling, as well mark as installed for DietPi-Software, purge when disabling.
+ DietPi-Config | Audio on RPi: Remove obsolete rpi-bcm2835-ultrahq entries and doubled allo-boss-dac-pcm512x-audio. Add additional available HifiBerry and IQaudio soundcard dtoverlay.
+ DietPi-Config | Audio: Coding: Sort all soundcard options into a single $G_HW_* if-then-elif statement to grant a better overview of options per device. Add default=HDMI entry only to those devices, where we explicitly configure it like that within DietPi-Set_hardware. Do not show any "default" entry on other devices.
+ DietPi-Config | Audio: Add generic /proc/asound based detection to the bottom of the list for all devices
+ DietPi-Config | Audio: Add Intel SST DSP as a separate option to all Intel CPU devices, instead of installing the related firmware by default. Most user will never need it.
+ DietPi-JustBoom | Minor coding and merge ALSA + soundcard check into single exit prompt. Either installing ALSA via DietPi-Software or selecting a soundcard via DietPi-Config works.
+ DietPi-Software | ALSA: Enable default soundcard for all devices, if set to "none". Last fallback for this will be hw:0,0. On RPi use newly added "rpi-bcm2835-auto" which replaces "rpi-bcm2835-ultrahq" to enable onboard sound which uses HDMI if plugged, else 3.5mm automatically.
+ DietPi-Software | ALSA: Rely on DietPi-Set_hardware to install "alsa-utils"
+ DietPi-PREP | alsa-utils and firmware-intel-sound is not installed anymore by "dietpi-set_hardware soundcard none", thus does not need to be purged anymore.
+ DietPi-PREP | Do not reduce subversion by 1 anymore. Due to RC versions this is not required anymore, which is always increased before doing stable release.
+ DietPi-PREP | Coding: Remove some empty lines between G_DIETPI-NOTIFY() calls and related singe commands, to optically merge code that belongs together
+ DietPi-Patch | Remove obsolete/invalid audio related services/scripts/settings
+ DietPi-Patch | I2C baudrate fix was applied to wrong config file, whoopsie!
v6.26
+ DietPi-Set_hardware | RPi Camera: Since kernel 4.19 all camera related kernel modules are loaded by default, regardless of start_x=1 (extended start file) being set or not. Thus we now need to add a blacklist for them when disabling the camera instead of adding them to /etc/modules when enabling the camera.
v6.26
+ DietPi-PREP | Disable RPi camera to add modules blacklist
v6.26
+ DietPi-Patch | RPi: Remove obsolete camera module entry, which is loaded by default since kernel 4.19, instead add a blacklist entry if camera is disabled.
master > dev to allow removing the master hotfixes via additional commit
v6.26
+ DietPi-PREP | Remove v6.25 post-release fixes, not required and insecure on v6.26+ code
v6.26
+ DietPi-Software | Node-RED: Only add user to "gpio" group, if it exists, otherwise useradd/usermod commands fail and user is not created or modified, e.g. on x86_64 with no GPIO.
+ DietPi-Software | Failsafe user creation: Add "-U" option to assure a same-named group is always created. This is default on fresh Raspbian/Debian but can be changed. Never use "-m" for users with "nologin" shell, to prevent unnecessary skeleton file creation (.profile/.bashrc). Instead use "-M" and pre-create home dir manually in case used by program.
v6.26
+ CHANGELOG | Node-RED: Resolved an issue where user creation fails due to missing "gpio" group
+ CHANGELOG | Fix wrong Node-RED data dir issue reference
v6.26
+ DietPi-PREP | On Buster+ x86_64 images, enable secure boot compatibility
+ Drive source: Run dd after partition and file system minimise has been done on source drive, to avoid copying the whole drive size. This implies that in case of hard failure, the source drive might need to be rewritten. However the current behaviour makes my usual schedule impossible and we should trust our script and the used commands to not destroy source drive data.
+ Check for existing output .img file after name has been chosen and allow to backup in case.
+ GPT error leads to parted hang, waiting for user input, before it's corrected by gdisk, thus run non-interactively via "-s"
+ Add visual space between dev name and space in menus
+ Add additional user notifications about what we're doing
v6.26
+ DietPi-Globals | G_AGP: Convert installed packages list into one-liner via awk ORS=' '
+ DietPi-Globals | G_AGP: Print initial command as well if no matching packages are installed, to avoid confusion due to "none currently installed" message
+ DietPi-Set_hardware | RPi: Fix deprecated or renamed dtoverlays/params: raspberrypi/firmware@d36bde3#diff-32265084aeae5fd34fbaf894f22fb20f
+ DietPi-Set_hardware | RPi: Disable Onboard WiFi and Bluetooth via dtoverlay
+ DietPi-Set_hardware | Add "dietpi-" prefix to WiFi and Bluetooth blacklist files to show they are from us
+ DietPi-Set_hardware | wifimodules: Merge WiFi powersaving settings into a single file with "dietpi-" prefix, to simplify and show it's from us
+ DietPi-Set_hardware | wifimodules: Offer to purge WiFi APT packages on disable
+ DietPi-Set_hardware | wifimodules: Enable modules first, install APT packages afterwards, to allow possible auto-configuration
+ DietPi-Set_hardware | wifimodules: Do not exit immediately when APT installs fail, instead set $EXIT_CODE=1 to have .network file updated and print script failure for user info
+ DietPi-Config | Adjust RPi onboard WiFi state detection based on dtoverlay=disable_wifi
+ DietPi-Config | Adjust Bluetooth state detection based on renamed blacklist file
+ DietPi-Config | Minor coding wording and visual
+ DietPi-Patch | WiFi+BT config file renaming, method changes and config.txt fixes due to changes in recent firmware
v6.26
+ DietPi-Software | EmonHub: Fix renamed dtoverlay to disable Bluetooth on install. Disable via DietPi-Set_hardware on all onboard WiFi/BT devices, although research/test on RPi4 required to verify Bluetooth blocks ttyAMA0 there as well.
+ DietPi-Software | EmonHub: Disable serial console only on ttyAMA0, else primary UART device will be disabled as well, which is ttyAMA0 on non-WiFi RPi models. Instead assure on non-WiFi RPi models that this UART device is enabled.
v6.26
+ RPi | config.txt: Minor wording
v6.26
+ DietPi-PREP | Remove additional users, groups and dirs, found on current NanoPi NEO2 image with OMV remains: #2994 (comment)
v6.26
+ DietPi-Globals | G_DIETPI-NOTIFY -2: When calculating output lines, include $G_PROGRAM_NAME prefix if set
+ DietPi-Globals | G_DISTRO_NAME: Add initial Debian Bullseye recognition. Needs to be defined in DietPi-Obtain_HW_model as well!
+ DietPi-Globals | G_ERROR_HANDLER: Do not pre-declare any $G_ERROR_HANDLER_* variables to reduce variable count in shell sessions. Check those via [[ ]] against non-default value being set.
+ DietPi-Globals | Minor coding and wording
v6.26
+ DietPi-Software | Docker: Remove RPi workarounds for now. Raspbian Buster stable packages are live, although containerd seems to be not yet ARMv6 compatible. We'll re-add a pin to working version if this is not resolved until v6.26 release.
+ DietPi-Software | Docker: Error handle installer
v6.26
+ DietPi-Patch | Docker: Remove obsolete RPi workaround, since a new version has been released
v6.26
+ DietPi-Globals | G_AGF: Allow to change held packages here as well, to be failsafe
+ DietPi-Globals | G_AG_CHECK_INSTALL_PREREQ: If packages need to be installed, as well update APT lists, to avoid outdated packages failing to fetch or if APT lists were moved to RAM and list update is outstanding after reboot.
+ DietPi-Globals | G_AG_CHECK_INSTALL_PREREQ: Minor coding and wording
v6.26
+ CHANGELOG | Resolved an issue where install of required APT packages for certain scripts could fail if APT lists are outdated
+ RPi | Add commented "enable_tvout=1" to default config.txt for user info, since by default SDTV is disabled on RPi4: https://www.raspberrypi.org/documentation/configuration/config-txt/video.md
v6.26
+ DietPi-Config | APT cache: Add "(default)" suffix to the default value of each setting for user info. Fixes #3011
+ DietPi-Obtain_HW_model | Add Debian Bullseye detection as new G_DISTRO=6
+ DietPi-Software | Add initial Debian Bullseye support
+ DietPi-Software | Dropbear: On Bullseye, "dropbear-run" has become a transitional dummy package for "dropbear" which does not include "dropbear-initramfs" anymore
+ DietPi-PREP | Add support for Debian Bullseye
+ DietPi-Set_software | APT mirror: On Debian Bullseye, the security repo directory structure has changed: https://deb.debian.org/debian-security/dists/
v6.26
+ DietPi-PREP | Further Bullseye system recognition
v6.26
+ DietPi-Set_hardware | Bluetooth: Do not touch /etc/modprobe.d/dietpi-disable_bluetooth.conf in case if invalid $INPUT_DEVICE_VALUE
v6.26
+ DietPi-Set_hardware | Bluetooth: On RPi remove runtime loaded "disable-bt" dtoverlay as well, in case disabled and enabled within the same session.
v6.26
+ DietPi-FirstBoot | Set default temp limit for RPi4 to 75°C as well, since in our benchmarks it even runs hotter than RPi3...
MichaIng added 12 commits Oct 13, 2019
v6.26
+ DietPi-Software | We are not in a function, thus skip "local", but unset those variables afterwards, to be failsafe
v6.26
+ DietPi-Set_hardware | serialconsole: Skip non-existent glob match
v6.26
+ DietPi-Patch | On RPi4 raise temp_limit from 65°C tp 75°C as new default value: #3151
v6.26
+ CHANGELOG | RPi4 | The default CPU temperature limit (temp_limit) has been raised from 65°C to 75°C
v6.26
+ DietPi-Software | Kodi: On RPi, pre-create /etc/polkit-1/localauthority/50-local.d which is required by Kodi postinst script on RPi but not necessarily present due to missing policykit1 dependency: #3031 (comment)
v6.26
+ DietPi-Pre-patch | On RPi, if Kodi is currently installed, pre-create /etc/polkit-1/localauthority/50-local.d to prevent Kodi upgrade failure: #3031 (comment)
v6.26
+ DietPi-Patch | Pre-create /etc/polkit-1/localauthority/50-local.d before installing new RPi Kodi, to prevent postinst script failure: #3031 (comment)
v6.26
+ RC up
v6.26
+ DietPi-Globals | Default RC up
Beta v6.26.3
v6.26
+ CHANGELOG | Set release date and add known issue with MATE desktop root login
+ CHANGELOG | Set release date and add known issue with MATE desktop root login
@MichaIng MichaIng added this to the v6.26 milestone Oct 15, 2019
@MichaIng MichaIng requested a review from Fourdee Oct 15, 2019
MichaIng added 2 commits Oct 15, 2019
v6.26
+ CHANGELOG | Set release PR link
+ CHANGELOG | Set release PR link
@Fourdee

This comment has been minimized.

Copy link
Collaborator

Fourdee commented Oct 17, 2019

@MichaIng

Legend, massive release, great work 👍

REF Twitter: https://twitter.com/DietPi_/status/1184880053487919106

@johnnyt83

This comment has been minimized.

Copy link

johnnyt83 commented Oct 20, 2019

@MichaIng: congratulations. Great work. Just updated and noticed wireguard did not like the update. Is it possible wg had a pickup and needs a rebuild?!

"dietpi@DietPi:~$ sudo dpkg-reconfigure wireguard-dkms
dpkg-query: package 'wireguard-dkms' is not installed and no information is available"

@MichaIng

This comment has been minimized.

Copy link
Owner Author

MichaIng commented Oct 20, 2019

@johnnyt83
Strange that the rebuild does not work and the package seems to be not installed.

Please paste the following:

apt update
apt policy wireguard-dkms
apt install wireguard
  • After updating to v6.26 this package should actually be migrated to Raspbian Buster version (on RPi).

So now it is known that on RPi, by default after kernel upgrade, the WireGuard module needs to be rebuild. I added an /etc/kernel/postinst.d/dietpi-wireguard script to do that automatically, however forgot to add executable permissions, so it was skipped... just added it.
But if that fails, then the kernel upgrade itself fails on postinst script as well, which is not nice.

@johnnyt83

This comment has been minimized.

Copy link

johnnyt83 commented Oct 20, 2019

seems to be picky:

dietpi@DietPi:$ sudo apt policy wireguard-dkms
N: Unable to locate package wireguard-dkms
dietpi@DietPi:
$ sudo apt install wireguard
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package wireguard

@MichaIng

This comment has been minimized.

Copy link
Owner Author

MichaIng commented Oct 20, 2019

@johnnyt83
You ran apt update?
Can you paste cat /etc/apt/sources.list.d/dietpi-wireguard.list?

@johnnyt83

This comment has been minimized.

Copy link

johnnyt83 commented Oct 20, 2019

yes, updated a moment ago and restarted. you got mail!

@MichaIng

This comment has been minimized.

Copy link
Owner Author

MichaIng commented Oct 20, 2019

@johnnyt83
Okay fixed it. I remember you installed WireGuard on ARMv6 manually, since this was not possible via packages before. Now, after Debian+Raspbian Buster release, WireGuard packages were "promoted" into testing branches, are thus available for Raspbian as well, ready for ARMv6 RPis 😃.

Since your custom build did not contain correct DKMS triggers, it was not rebuild automatically on kernel upgrade, however the newest Raspbian packages have that included. Thus from now on, whenever your kernel packages are upgraded, WireGuard modules will be rebuild automatically.

I enabled WireGuard for ARMv6 with DietPi v6.26, thus installed it the regular way now. You stored the previous sources in /etc/wireguard/WireGuard AFAIK, which are now obsolete and can be removed.

@johnnyt83

This comment has been minimized.

Copy link

johnnyt83 commented Oct 21, 2019

Thanks, Michael. I already forgot my wg-setup was not officially installed. Thanks for fixing it. Will report after the next major update. DietPi is my favorite Pi OS.

@DutchFlash DutchFlash referenced this pull request Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
9 participants
You can’t perform that action at this time.