Browse code

upgrade packages after debootstrap

This makes mkimage-debootstrap upgrade packages after retrieving
updated lists of packages.

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)

unclejack authored on 2014/03/09 00:36:18
Showing 1 changed files
... ...
@@ -219,6 +219,7 @@ if [ -z "$strictDebootstrap" ]; then
219 219
 	
220 220
 	# make sure our packages lists are as up to date as we can get them
221 221
 	sudo chroot . apt-get update
222
+	sudo chroot . apt-get dist-upgrade -y
222 223
 fi
223 224
 
224 225
 if [ "$justTar" ]; then