Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Release v6.26 #3162
Changes / Improvements / Optimisations
+ 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.
+ 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.
+ 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!
+ 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.
+ 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.
+ 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.
+ CHANGELOG | Node-RED: Resolved an issue where user creation fails due to missing "gpio" group + CHANGELOG | Fix wrong Node-RED data dir issue reference
+ 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
+ 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
+ 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.
+ 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
+ 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
+ DietPi-Patch | Docker: Remove obsolete RPi workaround, since a new version has been released
+ 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
+ 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
+ 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/
+ DietPi-Set_hardware | Bluetooth: Do not touch /etc/modprobe.d/dietpi-disable_bluetooth.conf in case if invalid $INPUT_DEVICE_VALUE
+ DietPi-Set_hardware | Bluetooth: On RPi remove runtime loaded "disable-bt" dtoverlay as well, in case disabled and enabled within the same session.
+ DietPi-Software | We are not in a function, thus skip "local", but unset those variables afterwards, to be failsafe
+ CHANGELOG | RPi4 | The default CPU temperature limit (temp_limit) has been raised from 65°C to 75°C
Legend, massive release, great work
@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
Please paste the following:
So now it is known that on RPi, by default after kernel upgrade, the WireGuard module needs to be rebuild. I added an
seems to be picky:
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.