force update apt-get before reboot

Change-Id: I623daf7eae65c464ad94b79ee8e4d706581c5b2f
This commit is contained in:
xiaodongwang 2015-02-23 14:32:22 -08:00
parent 95623d6b90
commit cc2bec05c7
1 changed files with 4 additions and 0 deletions

View File

@ -61,4 +61,8 @@ cat << EOF >> /etc/apt/sources.list
#set compass_repo = 'apt.repos.d/%s/%s/ubuntu_repo' % ($osname, $osversion)
deb ${rarch} $local_repo/$compass_repo/ local_repo main
EOF
#if $getVar("local_repo_only","1") != "0"
apt-get -y update
#end if
#end if