Browse code

add make as a dependency

termie authored on 2011/09/29 06:54:25
Showing 1 changed files
... ...
@@ -33,8 +33,8 @@ apt-get install -y lxc debootstrap
33 33
 
34 34
 # Install cgroup-bin from source, since the packaging is buggy and possibly incompatible with our setup
35 35
 if ! which cgdelete | grep -q cgdelete; then
36
-    apt-get install -y g++ bison flex libpam0g-dev
37
-    wget http://sourceforge.net/projects/libcg/files/libcgroup/v0.37.1/libcgroup-0.37.1.tar.bz2/download -O /tmp/libcgroup-0.37.1.tar.bz2 
36
+    apt-get install -y g++ bison flex libpam0g-dev make
37
+    wget http://sourceforge.net/projects/libcg/files/libcgroup/v0.37.1/libcgroup-0.37.1.tar.bz2/download -O /tmp/libcgroup-0.37.1.tar.bz2
38 38
     cd /tmp && bunzip2 libcgroup-0.37.1.tar.bz2  && tar xfv libcgroup-0.37.1.tar
39 39
     cd libcgroup-0.37.1
40 40
     ./configure
... ...
@@ -125,7 +125,7 @@ lxc-create -n $CONTAINER -t natty -f $LXC_CONF
125 125
 # Specify where our container rootfs lives
126 126
 ROOTFS=/var/lib/lxc/$CONTAINER/rootfs/
127 127
 
128
-# Create a stack user that is a member of the libvirtd group so that stack 
128
+# Create a stack user that is a member of the libvirtd group so that stack
129 129
 # is able to interact with libvirt.
130 130
 chroot $ROOTFS groupadd libvirtd
131 131
 chroot $ROOTFS useradd stack -s /bin/bash -d $DEST -G libvirtd
... ...
@@ -133,7 +133,7 @@ chroot $ROOTFS useradd stack -s /bin/bash -d $DEST -G libvirtd
133 133
 # a simple password - pass
134 134
 echo stack:pass | chroot $ROOTFS chpasswd
135 135
 
136
-# and has sudo ability (in the future this should be limited to only what 
136
+# and has sudo ability (in the future this should be limited to only what
137 137
 # stack requires)
138 138
 echo "stack ALL=(ALL) NOPASSWD: ALL" >> $ROOTFS/etc/sudoers
139 139