This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.9
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.9 by this push:
new 8daf634 systemvmtemplate: Enable security repos and dist-upgrade when
building
8daf634 is described below
commit 8daf634a18d20b590822e0cf57c4dd63775e03c1
Author: Rohit Yadav <[email protected]>
AuthorDate: Tue Jan 9 16:20:56 2018 +0530
systemvmtemplate: Enable security repos and dist-upgrade when building
This enables Wheezy security repos during systemvmtemplate building,
and does a dist-upgrade to update/upgrade all outstanding packages
especially the Linux kernel.
Signed-off-by: Rohit Yadav <[email protected]>
---
tools/appliance/definitions/systemvmtemplate/apt_upgrade.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/appliance/definitions/systemvmtemplate/apt_upgrade.sh
b/tools/appliance/definitions/systemvmtemplate/apt_upgrade.sh
index 0116f99..645d86d 100644
--- a/tools/appliance/definitions/systemvmtemplate/apt_upgrade.sh
+++ b/tools/appliance/definitions/systemvmtemplate/apt_upgrade.sh
@@ -21,7 +21,9 @@ set -x
function add_backports() {
sed -i '/backports/d' /etc/apt/sources.list
+ sed -i '/security/d' /etc/apt/sources.list
echo 'deb http://http.debian.net/debian wheezy-backports main' >>
/etc/apt/sources.list
+ echo 'deb http://security.debian.org/debian-security wheezy/updates main' >>
/etc/apt/sources.list
}
function apt_upgrade() {
@@ -33,6 +35,7 @@ function apt_upgrade() {
apt-get clean
apt-get -q -y --force-yes update
apt-get -q -y --force-yes upgrade
+ apt-get -q -y --force-yes dist-upgrade
}
return 2>/dev/null || apt_upgrade
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].