Browse Source

Merge pull request #4540 from unclejack/debootstrap_upgrade_packages

Run dist-upgrade after repo updates in mkimage-debootstrap
Tianon Gravi 11 years ago
parent
commit
68217729a3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/mkimage-debootstrap.sh

+ 1 - 0
contrib/mkimage-debootstrap.sh

@@ -219,6 +219,7 @@ if [ -z "$strictDebootstrap" ]; then
 	
 	
 	# make sure our packages lists are as up to date as we can get them
 	# make sure our packages lists are as up to date as we can get them
 	sudo chroot . apt-get update
 	sudo chroot . apt-get update
+	sudo chroot . apt-get dist-upgrade -y
 fi
 fi
 
 
 if [ "$justTar" ]; then
 if [ "$justTar" ]; then