You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

upgrade-system.sh 340B

123456789101112131415
  1. #!/bin/sh
  2. # Upgrade system
  3. set -e
  4. mkdir -p /var/cache/gitian
  5. # remove obsolete grub, it causes package dependency issues
  6. apt-get -q -y purge grub > /dev/null 2>&1 || true
  7. # upgrade packages
  8. DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade > /dev/null > /var/cache/gitian/upgrade.log 2>&1
  9. touch /var/cache/gitian/initial-upgrade