Skip to content
Permalink
Browse files

Do not dist-upgrade during build

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 22, 2019
1 parent 0f2120f commit ddafd8f6be43bc84f5243a1247957ae702b015a3
Showing with 6 additions and 3 deletions.
  1. +5 −2 nems-build.sh
  2. +1 −1 nems-upgrade/1.4.1-1.5
@@ -121,14 +121,17 @@ done
apt --yes install -f

# Be up to date
apt --yes upgrade && apt --yes dist-upgrade
apt --yes upgrade
#apt --yes dist-upgrade

# Upgrade firmware (Removed; will stick with stable firmware via raspberrypi-bootloader)
# rpi-update

# Upgrade again in case anything changed on the new kernel
# Or if anything was held back for the upgraded packages
apt update
apt --yes upgrade && apt --yes dist-upgrade
apt --yes upgrade
#apt --yes dist-upgrade

# Disable firstrun (ARMbian)
if [[ -e /etc/init.d/firstrun ]]; then
@@ -12,7 +12,7 @@ if [[ "$ver" == "1.4.1" ]]; then

## Update the core OS
apt update && apt -y upgrade
apt -y dist-upgrade
# apt -y dist-upgrade

## Go through the package add list to add any missing packages that were added
for pkg in $(grep -vE "^\s*#" ../build/packages.add | tr "\n" " ")

0 comments on commit ddafd8f

Please sign in to comment.
You can’t perform that action at this time.