Commit e1197b2d by John Donnal

upgrade all packages during cleanup

parent 78f12cd4
Showing with 7 additions and 1 deletions
......@@ -3,7 +3,12 @@ set -e
# start a container with the following command:
# sudo systemd-nspawn -D squashfs-root/ -b --network-interface=enxd8eb97bdd8ed --bind-ro=/home/jdonnal/puppet:/home/ubuntu/puppet -M wattsworth
#use UMD servers
cat > /etc/apt/sources.list <<EOF
deb http://mirror.umd.edu/raspbian/raspbian/ stretch main contrib non-free rpi
deb-src http://mirror.umd.edu/raspbian/raspbian/ stretch main contrib non-free rpi
EOF
#echo "nameserver 172.31.33.1" > /etc/resolv.conf
apt-get update
apt-get upgrade -y
......
......@@ -28,6 +28,7 @@ deb http://archive.raspberrypi.org/debian/ stretch main ui
#deb-src http://archive.raspberrypi.org/debian/ stretch main ui
EOF
apt update
apt upgrade -y
echo "6] Configuring root fs resize for first boot"
PARTUUID="$(blkid -o export /dev/mmcblk0p2 | grep PARTUUID)"
cat > /boot/cmdline.txt <<EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment