Skip to content

Commit dfc0748

Browse files
some fixes for lxc
1 parent 8745286 commit dfc0748

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/build_lxc.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env bash
22

3+
# Debug stuff
4+
set -o errexit
5+
set -o xtrace
6+
37
# Sanity check
48
if [ "$EUID" -ne "0" ]; then
59
echo "This script must be run with root privileges."
@@ -126,7 +130,7 @@ fi
126130
# Make sure that base requirements are installed
127131
chroot $CACHEDIR apt-get update
128132
chroot $CACHEDIR apt-get install -y --download-only `cat files/apts/* | grep NOPRIME | cut -d\# -f1`
129-
chroot $CACHEDIR apt-get install -y --force-yes `cat files/apts/* | grep -v NOPRIME | cut -d\# -f1`
133+
chroot $CACHEDIR apt-get install -y --force-yes `cat files/apts/* | grep -v NOPRIME | cut -d\# -f1` || true
130134
chroot $CACHEDIR pip install `cat files/pips/*`
131135

132136
# Clean out code repos if directed to do so

0 commit comments

Comments
 (0)