浏览代码

Merge pull request #4540 from unclejack/debootstrap_upgrade_packages

Run dist-upgrade after repo updates in mkimage-debootstrap
Tianon Gravi 11 年之前
父节点
当前提交
68217729a3
共有 1 个文件被更改,包括 1 次插入0 次删除
  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
 	sudo chroot . apt-get update
+	sudo chroot . apt-get dist-upgrade -y
 fi
 
 if [ "$justTar" ]; then