parent
7d1e7c5419
commit
81bf5d7025
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Upgrade system
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p /var/cache/gitian
|
||||
|
||||
# remove obsolete grub, it causes package dependency issues
|
||||
apt-get -q -y purge grub > /dev/null 2>&1 || true
|
||||
|
||||
# upgrade packages
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade > /dev/null > /var/cache/gitian/upgrade.log 2>&1
|
||||
|
||||
touch /var/cache/gitian/initial-upgrade
|
Loading…
Reference in New Issue