From 263e0310dc8a4302362176ce059516b25fd27ab1 Mon Sep 17 00:00:00 2001
From: Jonathan Brownell <brownell@hp.com>
Date: Mon, 24 Feb 2014 13:28:04 -0800
Subject: [PATCH] Add rsync to the package list used by debootstrap

Debian builds fail due to missing rsync in the baseline set
of packages that debootstrap defaults to. Rsync is used by a
variety of tripleo-image-elements and should be included in
disk images by default.

Change-Id: I8d83a53dfab279075e11f9825f15ee960395dd17
---
 elements/debian/root.d/08-debootstrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elements/debian/root.d/08-debootstrap b/elements/debian/root.d/08-debootstrap
index ea9a6e9a7..ec7b75cce 100755
--- a/elements/debian/root.d/08-debootstrap
+++ b/elements/debian/root.d/08-debootstrap
@@ -37,7 +37,7 @@ if [ -n "$DIB_OFFLINE" ] && [ -f $DEBOOTSTRAP_TARBALL ] ; then
     sudo tar -C $TARGET_ROOT --numeric-owner -xzf $DEBOOTSTRAP_TARBALL
 else
     echo Building new tarball for Debian $DIB_RELEASE ARCH=$ARCH
-    ADD_PACKAGES=cloud-init,cloud-utils,cloud-initramfs-growroot,sudo,adduser,locales,openssh-server,file,less,kbd,curl,bash-completion,linux-image-amd64
+    ADD_PACKAGES=cloud-init,cloud-utils,cloud-initramfs-growroot,sudo,adduser,locales,openssh-server,file,less,kbd,curl,rsync,bash-completion,linux-image-amd64
     if [ -f ${TARGET_ROOT}/.extra-packages ] ; then
         ADD_PACKAGES=${ADD_PACKAGES},$(cat ${TARGET_ROOT}/.extra-packages)
     fi