-
-
Notifications
You must be signed in to change notification settings - Fork 506
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 v8.4 #5460
Merged
Release v8.4 #5460
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Network | Resolved an issue on some Armbian based systems where the network interface naming changed unintentionally after a kernel upgrade: https://dietpi.com/phpbb/viewtopic.php?t=10229
- DietPi-Software | Tor/Unbound: Resolved an issue where IPv6 usage was assumed only based on the dietpi.txt setting instead of on whether IPv6 can really be used for Internet connections. E.g. when a VPN connection is established, usually IPv6 is disabled to prevent IPv6 leaks, without changing the general dietpi.txt setting. Tor and Unbound service starts however fail then, trying to bind to the IPv6 port. If the adapter has an IPv6 address assigned, but no IPv6 default route, binding to the IPv6 port succeeds, but Internet connections via IPv6 are not possible, which isn't better. On the other hand, using IPv4 only while IPv6 is enabled, has no real downsides. Many thanks to @Wgsem for reporting this issue: #5412
- DietPi-Config | Network Options: Show IPv6 status based on dietpi.txt setting instead of whether there is an actual IPv6 address assigned. IPv6 can be temporarily disabled, e.g. when connecting to a VPN to avoid IPv6 leaks, or it could have been disabled by custom configs or other means, which are out of our control. This setting shall only toggle the DietPi controlled sysctl configuration file which disables IPv6 from boot on for all network interfaces.
- DietPi-Build | Add support for NanoPi 2 series, using a dedicated ext4 boot partition - DietPi-PREP | Add support for NanoPi 2 series, using our Linux 4.4 firmware package - DietPi-PREP | Skip CRDA installation from Bookworm on, where it is not available anymore. From Debian POV it is obsolete, since modern Linux versions pull regulatory info/country code themselves, but the open question remains about how to override a possibly wrong kernel decision and how to comfortably apply a country code when using the WiFi adapter as access point. "iw reg set" can be used (via udev rules or /etc/network/interfaces "up"), wpasupplicant and probably hostapd allow to set the country code as well, so there are way, and we need to find the one that suites best the DietPi use cases.
- DietPi-Software | Python 3: Updated the workaround for ARMv6/7 Buster systems where installing numpy or any module which depends on numpy failed. It was accidentially applied only on Raspberry Pi 2 and earlier, while it should have been applied to all ARMv6/7 Buster systems. Additionally, all numpy >=0.21.5 versions are now blocked, since the recent v0.21.6 fails to compile for the same reason.
- CHANGELOG | NanoPi M2/T2/Fire2 | We updated our NanoPi 2 series image to be shipped with Linux 4.4, the latest Linux version for the S5P4418 SoC, provided by FriendlyELEC. It is compatible will all FriendlyELEC S5P4418 SBCs: NanoPi 2, NanoPi M2, NanoPC T2, NanoPi Fire2A, NanoPi 2 Fire and NanoPi S2. Sadly systems running the old image cannot be upgraded, since the new U-Boot requires more space and hence a different partitioning. The new image ships with two scripts to flash U-Boot and to change the U-Boot environment/config: One can now edit /boot/u-boot/env.txt and apply the changes by running /boot/u-boot/flash_env.sh. Run fw_printenv to see the current U-Boot environment, also to get an idea of available settings. Kernel, U-Boot, firmware and these scripts are installed as part of a self-hosted "firmware-nanopi2" package. The kernel sources can be found at https://github.com/friendlyarm/linux/tree/nanopi2-v4.4.y, so that headers can be compiled. We will probably provide a kernel headers package as well, if there is a demand, e.g. to enable the DKMS-based WireGuard VPN server software option.
- DietPi-Software | Box86: On ASUS Tinker Board, compiling is now done with an optimised build target flag. You can update Box86 by reinstalling it: dietpi-software reinstall 62 - DietPi-Software | Box64: On Odroid N2, compiling is now done with an optimised build target flag. You can update Box64 by reinstalling it: dietpi-software reinstall 197 - DietPi-Software | Box84/Box64: Update fallback URLs to latest version
- DietPi-Software | VirtualHere: Move binary and config from /etc/vhusbd to /opt/virtualhere to better align with other software options. Do never overwrite existing configs and use the hostname as default ServerName instead of "DietPi". Start the service after network has been configured and log to syslog instead of log file.
- DietPi-Config | It is now possible toggle APT list compression. APT package lists are xz-compressed by default on DietPi, which reduces disk writes during APT updates and disk usage of APT lists by about 80%. But it slows down APT installs/upgrades, especially when a large number of packages is installed/upgraded, since parsing compressed lists for e.g. building the dependency tree is done quite inefficiently. The option can be found in "dietpi-config" > "Advanced Options" > "APT". - DietPi-Set_software | The "apt-cache" command has been renamed to "apt" to better reflect its options, which do not cover the APT cache only, but APT lists and the location of the downloaded package archive as well. For backwards compatibility, "apt-cache" however remains valid for now. - DietPi-Set_software | When using the "allo eth_static" command to apply static Ethernet interface settings, it is now possible to leave further positional arguments (address, gateway, netmask, dns-nameservers) empty (empty string '') or skipping the last ones. Only the defined non-empty arguments will be applied while other settings remain unchanged.
- Security | Access permissions for /etc/sudoers.d/dietpi have been hardened to comply with best practice. Many thanks to @fmunteanu for reporting this issue: #5441
- DietPi-Build | Move all image build related scripts and config into respective .build sub directory of the repository to clean up the parent dir - DietPi-PREP | Rename script to "DietPi-Installer", which better reflects what it is doing: installing DietPi on the Debian base image - DietPi-Installer | Remove support and configs for Meveric's legacy U-Boot images. All Ordoids have been moved to Armbian kernel for now
- OpenBazaar | This software option has been removed from DietPi. The original project has been officially abandoned a while ago and a fork we recently switched to sadly doesn't show any activity anymore, leaving broken installs on ARM and no fully compatible clients. Since we really like the approach, as fast as there is a reliable and trustable revival of OpenBazaar, we will re-implement it, but for now it simply isn't functional. If you have OpenBazaar still installed on your DietPi system, see here for ways to uninstall it: #5465
- DietPi-Globals | G_WHIP: Add a new optional G_WHIP_NOCANCEL variable, which, when set to 1, hides the cancel button on inputbox, menu and checkbox dialogues. - DietPi-Software | Add the new G_WHIP_NOCANCEL=1 feature to hide the cancel button on dependency selection menus, where a choice is currently required. We may re-add it as "Abort" button in next release, but it is not so trivial since we want the default/dietpi.txt selection on automated first run installs, where no input can be done in which case all whiptail menus are cancelled automatically.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
v8.4
(2022-04-30)
New images
Removed software
CLI changes
Changes
Fixes
@bbmak
for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=10258