-
-
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 v7.1 #4305
Merged
Release v7.1 #4305
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 | Define ifup executable path in [email protected] override
+ Network | Unset original [email protected] command before setting the new one in the override, since "oneshot" services may run multiple commands.
+ DietPi-Set_software | locale: Assign default locale via debconf, since this is set to "None" when the locale changes and hence the previous default is not available/compiled anymore. This again leads to an empty /etc/default/locales, so that our LC_ALL override was actually required. + DietPi-Set_software | locale: Do not re-assign the LC_ALL and LANG variables within the script. Those are not touched by any of the previous steps and all our scripts export them to the always available "C.UTF-8" anyway. + DietPi-Set_software | locale: Do not apply LC_ALL to /etc/default/locales. With the above change, LANG is always set which is sufficient and allows to override individual localisations by adding e.g. LC_TIME/update-locale LC_TIME=... or setting it in any script/shell, which was prevented/overridden by the LC_ALL entry.
+ DietPi-Software | MariaDB: Do not apply settings which are defaults anyway, to allow admin easier overriding them, if required. This means that only large table prefix and Baraccuda need to be applied on Stretch. Use "97-dietpi.cnf" filename (do be changed via update). + DietPi-Software | Use generic method to remove obsolete SysV services
+ DietPi-Set_software | Time sync mode: Use documented "NTP" setting in timesyncd.conf. "Servers" still works as good, was required on Jessie, but users might be confused when not finding it in the man pages. + DietPi-Set_software | Time sync mode: Allow calling "dietpi-set_software ntpd-mode" without argument, in which case the mode from dietpi.txt will be re-applied, and if missing the default mode 2 (boot + daily). This makes it easier to change the NTP mirror only.
+ DietPi-FS_partition_resize | Add support for F2FS and Btrfs filesystem expansion + DietPi-FS_partition_resize | Since all known systems require the root/boot file system to be as a partition on a partition table, do not support cases the it is not on a partition, but instead error out with "unsupported naming scheme". Even if there were cases where such was possible, it's better to create visible failure for now. If such cases were reported, we'd need to handle those gracefully at many other places in the code. + DietPi-FS_partition_resize | Use "set -e" to error our directly when any command fails. This requires to use either if-then-else or "a || b" for conditionals, so that the check itself does not error out the script. + DietPi-PREP | Add support for F2FS and Btrfs root file systems by installing related packages to allow resizing and fsck on those file system types + DietPi-PREP | Enhance partition type and file system type estimation by consequently using "lsblk" + DietPi-Drive_Manager | Add support for XFS format and fsck + DietPi-Drive_Manager | Add support for F2FS and Btrfs resize + DietPi-Drive_Manager | To collect drive info, consequently use findmnt for mounted drives and lsblk for unmounted drives. Keep using blkid only to get the list of formatted filesystems, since lsblk prints parent drives and unformatted drives as well. + DietPi-Drive_Manager | Harden and error handle a few steps + DietPi-Drive_Manager | Minor spelling: "Btrfs", "ext4" and "filesystem" which is correct as well and probably more common without space. + DietPi-Imager | Menu: Move from one menu to the logical next, only go back to main menu on cancel or when the image name has been entered + DietPi-Imager | Add F2FS and Btrfs support. F2FS filesystems cannot be shrunk. + DietPi-Image | Use fstrim to NULL Btrfs and F2FS empty space and sgdisk can be used on raw disk image files as well + DietPi-Drive_Manager | When resizing filesystems, assure that F2FS is not R/W mounted and automount Btrfs temporarily, when required + DietPi-Drive_Manager | When unmounting fails, halt and show an error prompt, so users know that and what went wrong, but allow to ignore + DietPi-Drive_Manager | After format, do manual "sync" to induce as small delay, required to show an UUID in some cases. Without this below "lsblk -no UUID" can return an empty string. + DietPi-Drive_Manager | Unmount drive automatically on format, so that it does not need to be unmounted manually. Use Unmount_Drive function, so that the mount point directory is removed as well. + DietPi-Drive_Manager | Unmount drive and stop service on fsck after a supported filesystem type has been detected to minimise the cases where services are stopped unnecessarily. + DietPi-Drive_Manager | Fix loop device detection and remove trailing /dev/ as well for unknown naming schemes + DietPi-Drive_Manager | After fsck, remount affected drive only, and do it and swapon only if it was mounted before. "mount -a" only works for drives without "noauto", hence root, boot and tmpfs mounts by default on DietPi. For this reason, the "mount -a" on each drive scan loop is obsolete as well. + DietPi-PREP | Do not keep sunxi-tools installed. Those are not used by us and only required on Allwinner sunxi SoCs. Define other Armbian packages more specifically. + DietPi-PREP | Fix version string detection for v7.0
+ DietPi-Software | X.Org X Server: On RPi, install xserver-xorg-video-fbdev by default, which is required when no KMS device tree overlay is enabled. fbdev will be used as fallback, hence modesetting (KMS) will be used, i possible. + DietPi-Software | LXDE: Since LightDM is pulled as part of the dependency tail and assigns itself as default display manager, check whether a default display manager is set, before installing the packages, and if not, remove it afterwards. Else LightDM will start automatically on reboot without users having manual desktop login chosen.
+ Odroid N2 | Add support for additional HDMI/monitor features, CEC, WOL and device tree overlays. All credits go to Meveric: https://forum.odroid.com/viewtopic.php?p=323888#p323888
+ DietPi-PREP | The Odroid C4/HC4 repo now contains a U-Boot package, hence apply it via G_AGI to simplify code, G_AGDUG later equals both ways. AFAIK that U-Boot is still for N2, so a placeholder only, but the install is a noop until it gets a new version, which will then be the actual C4 U-Boot.
+ DietPi-PREP | Do not compile locales at start of the script. C-UTF-8 is statically available as part of the libc-bin essential. Simply export the variables and reset /etc/environment for sub scripts. Reset and clear locales as part of the later steps via "dietpi-set_software locale". + DietPi-PREP | Minor refinement of automatic detection and interactive input steps. Rule out ARMv6 on Debian (instead of Raspbian), which would be armel and is not supported by DietPi.
+ DietPi-Obtain_HW_model | Remove unsupported SBC models and instead add generic SoC-specific models where we provide and use an SoC ID for. + DietPi-Patches | Replace removed hardware IDs with new generic SoC IDs before dietpi-obtain_hw_model would reset them to 22 + DietPi-Patch | Pre-v7.0: Remove obsolete v6.-1 patches, which were only required for a small number of the very first v6.0 images, auto-updated to v6.0 on first boot. + DietPi-PREP | Replace unsupported SBC IDs with generic SoC IDs + DietPi-PREP | Remove tweaks for removed hardware models. Those are very old and we have no chance to verify whether they are still required or not without providing and assuming a base image/kernel. + DietPi-Set_hardware | Remove code for removed hardware IDs + DietPi-Config | Remove code for removed hardware IDs + DietPi-Software | Remove code for removed hardware IDs + DietPi-Survey_report | Add support for generic SoC hardware IDs + CHANGELOG | Add a detailed entry about the removed/unsupported SBC models + CHANGELOG | Fix location of the DietPi-Drive_Manager loop device fix
+ DietPi-Software | ownCloud/Nextcloud: Create a temporary password for the temporary privileged database user to pass to the CLI install, instead of the global software password: #4199 (comment) + DietPi-Software | ownCloud: Like in case of Nextcloud, error out when a database exists without an install directory, as a fresh install with an old database is a risk + DietPi-Software | Nextcloud: Add missing primary keys on install to satisfy the admin panel check about it + DietPi-Software | ownCloud/Nextcloud: Minor coding enhancements
+ DietPi-Software | When doing npm installs, skip audits, as the produced warnings are meant for developers, not such much for end users, which might more be confused if something went wrong. Keep the "X packages are looking for funding\n run `npm fund` for details" output, as this is fair towards the package developers.
MichaIng
requested review from
fn753,
Fourdee,
fpetru,
Joulinar,
obn100,
ravenclaw900 and
StephanStS
April 27, 2021 12:42
Will be merged together with last beta: #4308 |
7.1.2 will be final? |
+ DietPi-VPN | ProtonVPN configs now use port 1194 only, hence simplify the killswitch rules. Future releases may add an option to switch between supported ports or even add multiple ports to use randomly (remote-random), if wanted, but for now only the default OpenVPN port 1194 is supported.
Jep, I'd say. EDIT: Lol I was about to do the release today, but 28th is tomorrow 😄. However, for now I don't think that another beta for one day makes much sense, as the changes are small. But good to have another day of testing, browsing the forum and such. |
+ DietPi-Software | WebIOPi: Use newer fork to enable RPi 3 and RPi 4 support and make it a Python 3 only install. Remove the Python package(s) on uninstall as well. + DietPi-Software | Make RPi.GPIO a Python 3 only install since all dependant software packages now support Python 3. Simplify and align the dependency declaration. + DietPi-Software | WebIOPi: Install native systemd unit to replace the SysV service + DietPi-Software | WebIOPi: Apply process shutdown fix until it has been applied to the fork we use + DietPi-Software | WebIOPi: Remove Google Analytics code from JavaScript, I can't believe it...
+ DietPi-Software | Plex Media Server: When Unbound is installed, add "plex.direct" to private domains to fix secure remote access via app.plex.tv: https://dietpi.com/phpbb/viewtopic.php?t=8896
+ CHANGELOG | MATE: Resolved an issue where DietPi menu and desktop shortcuts could not be started, as the MATE terminal emulator is not compatible with the "start in console" flag of desktop shortcuts. xterm is now installed together with MATE, to replace the default terminal emulator. Many thanks to @maya95 for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=8949
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.
v7.1
(2021-04-28)
Supported SBC changes
Changes
@lone
for doing long-term stability tests and reporting back the result: https://dietpi.com/phpbb/viewtopic.php?p=32285#p32285New Scripts
New Software
Removed Software
Fixes
@Zeuskk
for reporting this v7.0 regression: https://dietpi.com/phpbb/viewtopic.php?t=8729@manilx
for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=8766@pinkdot
for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=8904@torwan
for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=8945@danmo117
for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=8896@maya95
for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=8949