[tor-commits] [gitian-builder/tor-browser-builder-4] Bug 18331: install sudo in Debian VMs with KVM too

gk at torproject.org gk at torproject.org
Tue Apr 19 07:42:40 UTC 2016


commit ae90ac520dbdf6b1267b099b654b58352ee86ef0
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Fri Apr 8 13:45:55 2016 +0200

    Bug 18331: install sudo in Debian VMs with KVM too
---
 bin/make-base-vm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/bin/make-base-vm b/bin/make-base-vm
index fe1df94..59f0734 100755
--- a/bin/make-base-vm
+++ b/bin/make-base-vm
@@ -118,11 +118,12 @@ if [ $DISTRO = "ubuntu" ]; then
   GRUB_PKG=grub-pc
 fi
 
+if [ $DISTRO = "debian" ]; then
+  addpkg=$addpkg,sudo
+fi
+
 if [ $LXC = "1" ]; then
   addpkg=$addpkg,lxc
-  if [ $DISTRO = "debian" ]; then
-    addpkg=$addpkg,sudo
-  fi
 else
   # Lack of comma after KERNEL_PKG is not a typo
   addpkg=$addpkg,${KERNEL_PKG}${GRUB_PKG},openssh-server



More information about the tor-commits mailing list