Skip to content

Commit

Permalink
v6.0
Browse files Browse the repository at this point in the history
+ Minor reorder
  • Loading branch information
Fourdee committed Jan 14, 2018
1 parent 69e1d76 commit ece3097
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions PREP_SYSTEM_FOR_DIETPI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,15 @@ _EOF_

)

# - G_HW_MODEL specific package removals:
# VM
if (( $G_HW_MODEL == 20 )); then

# No network firmware necessary and hard drive power management stays at host system.
apt-mark auto firmware-realtek hdparm

fi

# - G_HW_ARCH specific required packages
# As these are kernel, firmware or bootloader packages, we need to install them directly to allow autoremove of in case older kernel packages:
# https://github.com/Fourdee/DietPi/issues/1285#issuecomment-354602594
Expand All @@ -576,14 +585,6 @@ _EOF_

fi

# VM
if (( $G_HW_MODEL == 20 )); then

# No network firmware necessary and hard drive power management stays at host system.
apt-mark auto firmware-realtek hdparm

fi

# - G_HW_MODEL specific required packages
# RPi
elif (( $G_HW_MODEL < 10 )); then
Expand Down

0 comments on commit ece3097

Please sign in to comment.