-
-
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
Beta v7.1.0 #4288
Merged
Beta v7.1.0 #4288
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 | Part 1: Merge "Linux" software and "DietPi" software functions + DietPi-Software | Remove too simple Apply_Webserver_Preference function + DietPi-Software | Reload systemd units after installs, before e.g. restarting them, and remove reload within Tor Relay config block, where it is not required then + DietPi-Software | Allow custom first boot script download + exec bit + removal to fail without failing the whole first run setup. This is consistent with the fact that we allow the script execution itself to fail, which we cannot control anyway.
+ DietPi-Software | Part 2: Merge "Optimised" and "Additional" software menus + DietPi-Software | Move systemd-logind umask into Run_Installations() function, where pending install states (=1) are still present, else checking for Kodi install is done wrong. + DietPi-Software | Print "Installation completed" message before uploading survey, as a failure in DietPi-Survey has no effect on the completed install. + DietPi-Software | Update No-IP docs link + DietPi-Software | Minor code reordering and code comment updates
+ DietPi-Software | Make Go an own install option (ID=188) + DietPi-Patches | Mark now dedicated Go as installed if OpenBazaar is + DietPi-Patches | Load DietPi-Globals at the beginning of the script now and implement G_EXEC error handler where applicable + DietPi-Software | Go: Grab latest available version automatically from JSON version of the download page + DietPi-Software | Go: Add a note to uninstall section about keeping GOPATH /mnt/dietpi_userdata/go + DietPi-Software | Main menu entry renaming: #4270 (comment) + DietPi-Software | Go: Since Go v1.16, GOPATH vs module mode is not auto-detected anymore by default, but module mode is forced. Since we want to install and control package instances in our defined GOPATH, revert this change via /etc/bashrc.d/go.sh for bash shell sessions, so that the presence of a go.mod file in cwd triggers module mode, while otherwise GOPATH is used: https://golang.org/ref/mod#mod-commands + DietPi-Software | OpenBazaar: Add documentation URL to systemd unit and assure it starts after network is up to allow IP binding + DietPi-Software | OpenBazaar: Error-handle init and credentials input, as e.g. when not being able to confirm/repeat the password, there is no clean way to retry: CTRL+C terminates the attempt, but leaves the instance without credentials set and more importantly it leaves the terminal in a broken state, manipulated by OB to hide the typed password and not reset on regular termination, which is bad. Piping the output through "tee" via G_EXEC_OUTPUT=1 limits the terminal manipulation to the tee instance, so exiting or retrying can be done fine. + DietPi-Software | YaCy: Detect latest version automatically, using a similar method as with OpenBazaar + DietPi-Software | YaCy: Start enabled service after network, to allow IP binding, and add official Wiki to systemd documentation
+ DietPi-Software | Add VSCodium install option + DietPi-Survey_report | Add VSCodium support + CHANGELOG | VSCodium: As alternative to MS VSCode without MS branding, telemetry and licensing, the VSCodium code editor, with support for various programming languages, including Java, JavaScript, Go, Node.js, Python and C++, has been added as software install option to DietPi. + DietPi-Software | LXDE: Apply better default icon theme: nuoveXT2 has more individual icons than Adwaita, but lower resolution and overrides the Firefox application icon with an old low res version. + DietPi-Software | X server: Add framebuffer driver for x86_64 on Stretch as well, as at least on VirtualBox the DRI was not available OOTB + DietPi-Software | VSCodium: Install gnome-keyring as dependency, as at least extensions use it to store credentials. It's a backend daemon for the "Secrets API" and there is not really an alternative available, currently: https://freedesktop.org/wiki/Specifications/secret-storage-spec/
it's 7.1 Beta 😉 |
+ DietPi-DDNS | Manage domains for your dynamic IP + DietPi-Config | Network Options: Misc: Replace No-IP menu entry with "Dynamic DNS", to start the new dietpi-ddns script + DietPi-Software | Remove No-IP install option, now integrated into new dietpi-ddns script + DietPi-Launcher | Add DietPi-DDNS to launcher + DietPi-Login | Add "dietpi-ddns" alias + DietPi-LetsEncrypt | Replace No-IP hint with dietpi-ddns + DietPi-Survey_report | Remove No-IP support from v7.1 on + DietPi-Patches | Remove obsolete DietPi-NordVPN and No-IP install states + DietPi-Patches | Add info about No-IP client migration + CHANGELOG | Add notes about DietPi-DDNS and removed DietPi-NordVPN + No-IP install options + README | Remove No-IP client from 3rd party list
+ DietPi-Software | Remot3.it: Instead of informing the user during menu selection about first run setup, offer to run the configuration directly at the end of installs, where other interactive prompts are done as well. + DietPi-Software | Coding: Switch from "grep | cut" to "mawk" for all api.github.com parsing
+ CHANGELOG | Remot3.it: After the install finished, it is now offered to do the interactive "connectd_installer" setup directly. Neither is a reboot required, nor does any service need to run to be registered. This is especially helpful for installs via "dietpi-software install 68", where the hint about this required setup was not shown before.
+ DietPi-Software | Sonarr: Migrate to v3 + DietPi-Software | Mono: Remove obsolete "-O=-aot" from Mono calls, which was a workaround that has been fixed in the meantime: #2219 + DietPi-Software | Complement and align Arr service hardenings. PrivateTmp cannot be used, as this would break DietPi-Arr_to_RAM. + DietPi-Patches | Inform user about possible Sonarr v2 => v3 upgrade + DietPi-Arr_to_RAM | Add support for Sonarr v3 and Radarr v3 + DietPi-Arr_to_RAM | On first link to RAM, create a script in the programs data dir to update the linked database backups, as v3 do not support arguments to pass to custom scripts anymore and do not allow to start scripts from within /boot. + DietPi-Software | Sonarr: Install mediainfo, which is suggested by the package but no strict dependency. Align with Radarr and Lidarr. + DietPi-Software | Radarr: Remove Radarr v2 PID file and database backups from DietPi-Arr_to_RAM, which can be left overs + DietPi-Arr_to_RAM | Use safer approach to create database backups: The -shm and -wal files do sometimes not exist, e.g. when the connection is closed temporarily. In theory the should never exist when the program is not running, but in practice it does at least with Sonarr and Lidarr, which obviously do not close connections gracefully or use certain SQLite flags to keep those files intentionally. However, havoc can happen when those files do not exist while the database is linked to RAM or stored back to disk: In the first case, if the program then crashes, up-to-date -shm + -wal files will be mixed with a backup database file, in the second case, the -shm and -wal symlinks will stay on disk, breaking program start as the RAM dir is removed. Especially in combination with the automatic backup restoring, mixing of old and new files can happen, corrupting the database. At least when linking to RAM and for backup creation, SQLite is used now to read and store the database to the backup location, which includes -shm and -wal, so that a single consistent database file is present for the program to start with. + DietPi-Patches | Remove obsolete DietPi-Arr_to_RAM backup files, as now "sqlite3 db .save" is used to store a single db file as backup
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.
Beta v7.1.0
(2021-04-21)
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