CLOUDSTACK-7143: fix a missing apt-get update

In 8e2d06153b3d5ec1540fac1c8fbc97b5d2b58a8e I mistakenly/accidentally
a apt-get update.

As
    https://wiki.debian.org/Multiarch/HOWTO
explains, apt-get update is needed after adding a new architecture.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1821f4ec
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1821f4ec
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1821f4ec

Branch: refs/heads/master
Commit: 1821f4ec06e8a8e0c57c9792049e3c8d08ff3ab3
Parents: 91ffedb
Author: Leo Simons <lsim...@schubergphilis.com>
Authored: Tue Jul 22 17:20:07 2014 +0200
Committer: Rohit Yadav <rohit.ya...@shapeblue.com>
Committed: Mon Sep 22 21:38:15 2014 +0200

----------------------------------------------------------------------
 .../definitions/systemvmtemplate/install_systemvm_packages.sh       | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1821f4ec/tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh
----------------------------------------------------------------------
diff --git 
a/tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh 
b/tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh
index dac727c..bc29e62 100644
--- a/tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh
+++ b/tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh
@@ -47,6 +47,7 @@ function install_packages() {
   #32 bit architecture support:: not required for 32 bit template
   if [ "${arch}" != "i386" ]; then
     dpkg --add-architecture i386
+    apt-get update
     ${apt_install} links:i386 libuuid1:i386
   fi
 

Reply via email to