-
-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- General | Since we provide all kernel, bootloader and firmware packages from our own APT repository now, the Armbian APT repository is removed form all systems. In case you use an SBC which is not officially supported by DietPi, as generic device, it is however preserved.
- Loading branch information
Showing
7 changed files
with
137 additions
and
87 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1651,8 +1651,15 @@ Patch_9_5() | |
|
||
Patch_9_6() | ||
{ | ||
# Update DietPi APT list for several SBCs we added components to our repo for | ||
if [[ $PATCH_9_3_RAN == 0 && $G_HW_MODEL =~ ^(42|43|46|47|52|55|58|68|72|73|76|77|86|87)$ ]] | ||
then | ||
/boot/dietpi/func/dietpi-set_software apt-mirror dietpi | ||
G_AGUP | ||
G_AGUG | ||
|
||
# Orange Pi 5: Offer to flash new U-Boot image to solve random Ethernet MAC address: https://github.com/MichaIng/DietPi/issues/6663 | ||
if (( $G_HW_MODEL == 80 )) | ||
elif (( $G_HW_MODEL == 80 )) | ||
then | ||
if G_WHIP_YESNO '[ INFO ] U-Boot update available to solve random Ethernet MAC address | ||
\nIn case you are affected by a random Ethernet MAC address, which changes every boot, flashing the latest U-Boot image has shown to solve it: https://github.com/MichaIng/DietPi/issues/6663 | ||
|
@@ -1691,6 +1698,15 @@ Patch_9_6() | |
G_AGI zstd | ||
fi | ||
|
||
# Remove Armbian APT repository from all systems which have an "all" component for kernel/bootloader/firmware packages form our APT repository | ||
if [[ -f '/etc/apt/sources.list.d/dietpi-armbian.list' && -f '/etc/apt/sources.list.d/dietpi.list' ]] && grep -q 'dietpi.com/apt all' /etc/apt/sources.list.d/dietpi.list | ||
then | ||
G_DIETPI-NOTIFY 2 'Removing obsolete Armbian APT repository' | ||
G_EXEC rm /etc/apt/sources.list.d/dietpi-armbian.list | ||
[[ -f '/etc/apt/preferences.d/dietpi-armbian' ]] && G_EXEC rm /etc/apt/preferences.d/dietpi-armbian | ||
[[ -f '/etc/apt/trusted.gpg.d/dietpi-armbian.gpg' ]] && G_EXEC rm /etc/apt/trusted.gpg.d/dietpi-armbian.gpg | ||
fi | ||
|
||
# Remove obsolete drop-in config: https://github.com/MichaIng/DietPi/issues/7104 | ||
[[ -d '/etc/systemd/system/[email protected]' ]] && G_EXEC rm -R /etc/systemd/system/[email protected] | ||
} | ||
|
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
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
Oops, something went wrong.