-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
Release v6.26 #3162
Conversation
+ 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-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.
+ 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-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-PREP | Remove additional users, groups and dirs, found on current NanoPi NEO2 image with OMV remains: #2994 (comment)
+ 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-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
+ 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-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)
+ 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)
+ DietPi-Patch | Pre-create /etc/polkit-1/localauthority/50-local.d before installing new RPi Kodi, to prevent postinst script failure: #3031 (comment)
Legend, massive release, great work 👍 REF Twitter: https://twitter.com/DietPi_/status/1184880053487919106 |
@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 |
@johnnyt83 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: dietpi@DietPi: |
@johnnyt83 |
yes, updated a moment ago and restarted. you got mail! |
@johnnyt83 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. |
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. |
v6.26
(15/10/19)
Changes / Improvements / Optimisations
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: DietPi-Software | Pi-hole: Block access to blocking page from web by default #3054
Bug Fixes
Known/Outstanding Issues