Skip to content

Commit

Permalink
v6.27
Browse files Browse the repository at this point in the history
+ DietPi-Patch | Remove microcode packages from VMs, where they are and must be without effect
  • Loading branch information
MichaIng authored Nov 13, 2019
1 parent 1674c40 commit ffe1c60
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions dietpi/patch_file
Original file line number Diff line number Diff line change
Expand Up @@ -1387,10 +1387,9 @@ Also have a look at "Sonarr", another alternative TV show manager, available for

#-------------------------------------------------------------------------------
# Image updates
if (( $G_HW_MODEL == 40 || $G_HW_MODEL == 42 || $G_HW_MODEL == 43 )) && #$G_HW_MODEL == 42 || # Kernel panic...
[[ ! -f '/etc/armbian-release' ]]; then
if [[ $G_HW_MODEL == 4[023] && ! -f '/etc/armbian-release' ]]; then

G_WHIP_MSG "[INFO]:\nThe base image for $G_HW_MODEL_DESCRIPTION has been updated.\nPlease reinstall your system with the latest image from https://dietpi.com/download.\n\nYou can continue to use this existing installation, however, some kernel features may not be available."
G_WHIP_MSG "[ INFO ] The base image for $G_HW_MODEL_DESCRIPTION has been updated.\n\nPlease reinstall your system with the latest image from https://dietpi.com/download.\n\nYou can continue to use this existing installation, however, some kernel features may not be available."

fi
#-------------------------------------------------------------------------------
Expand Down Expand Up @@ -2208,6 +2207,9 @@ Would you like to switch back to the Nginx authentication method now?' && certbo
# RPi4 EEPROM install/update: https://github.com/MichaIng/DietPi/issues/3217
(( $G_HW_MODEL == 4 )) && /DietPi/dietpi/func/dietpi-set_hardware rpi-eeprom
#-------------------------------------------------------------------------------
# Remove microcode packages from VM, where they are and must be without effect
(( $G_HW_MODEL == 20 )) && G_AGP {intel,amd64}-microcode && G_AGA
#-------------------------------------------------------------------------------
# Reinstalls
# Syncthing: https://github.com/MichaIng/DietPi/pull/3202
# Grafana: https://github.com/MichaIng/DietPi/issues/3213
Expand Down Expand Up @@ -2257,9 +2259,7 @@ Would you like to switch back to the Nginx authentication method now?' && certbo
fi

#-------------------------------------------------------------------------------
# NB: All if statements must contain at least one command. Prevents bash having a hissy fit :)
# The fastest dummy command is ":", which really does nothing ;).
# NBB: Avoid multiple reinstalls of same software ID. Check last column of table: https://github.com/MichaIng/DietPi/wiki/DietPi-Software-list
# NB: Avoid multiple reinstalls of same software ID. Check last column of table: https://github.com/MichaIng/DietPi/wiki/DietPi-Software-list
#-------------------------------------------------------------------------------

}
Expand All @@ -2268,8 +2268,6 @@ Would you like to switch back to the Nginx authentication method now?' && certbo
# Run
Incremental_Patch_System
#-------------------------------------------------------------------------------
sleep 0.25
#-------------------------------------------------------------------------------
exit
#-------------------------------------------------------------------------------

Expand Down

0 comments on commit ffe1c60

Please sign in to comment.