Commit bda5e290 authored by Thomas Goirand's avatar Thomas Goirand

* Also adds security repository if building an image for Jessie. Previously,

    this was done only for Wheezy (Closes: #783480).
parent 92d27bad
......@@ -319,16 +319,20 @@ echo "debian.example.com" >${MOUNT_DIR}/etc/hostname
echo "deb ${SOURCE_LIST_MIRROR} ${RELEASE} main
deb-src ${SOURCE_LIST_MIRROR} ${RELEASE} main" >${MOUNT_DIR}/etc/apt/sources.list
if [ "${RELEASE}" = "wheezy" ] ; then
echo "deb ${SOURCE_LIST_MIRROR} wheezy-updates main
deb-src ${SOURCE_LIST_MIRROR} wheezy-updates main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
if [ "${RELEASE}" = "wheezy" ] || [ "${RELEASE}" = "jessie" ] ; then
echo "deb ${SOURCE_LIST_MIRROR} ${RELEASE}-updates main
deb-src ${SOURCE_LIST_MIRROR} ${RELEASE}-updates main
deb http://security.debian.org/ ${RELEASE}/updates main
deb-src http://security.debian.org/ ${RELEASE}/updates main
" >>${MOUNT_DIR}/etc/apt/sources.list
fi
deb ${SOURCE_LIST_MIRROR} wheezy-backports main
if [ "${RELEASE}" = "wheezy" ] ; then
echo "deb ${SOURCE_LIST_MIRROR} wheezy-backports main
deb-src ${SOURCE_LIST_MIRROR} wheezy-backports main
" >>${MOUNT_DIR}/etc/apt/sources.list
fi
chroot ${MOUNT_DIR} apt-get update
chroot ${MOUNT_DIR} apt-get upgrade -y
......
......@@ -2,6 +2,8 @@ openstack-debian-images (1.3) unstable; urgency=medium
* Removed the tweak of /etc/modules, as acpiphp and pci_hotplug aren't in the
Jessie kernel: they are built not as module (Closes: #783340).
* Also adds security repository if building an image for Jessie. Previously,
this was done only for Wheezy (Closes: #783480).
-- Thomas Goirand <zigo@debian.org> Tue, 05 May 2015 15:39:59 +0200
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment