~jocave/checkbox/hybrid-amd-gpu-mods

« back to all changes in this revision

Viewing changes to test-in-lxc.sh

  • Committer: Sylvain Pineau
  • Date: 2015-10-08 16:47:56 UTC
  • mto: This revision was merged to the branch mainline in revision 4042.
  • Revision ID: sylvain.pineau@canonical.com-20151008164756-f4vv9gsve03yoyvk
test-in-lxc.sh: Install python3-dev with --packages, not deb-base.txt

Workaround to the trusty bug that currently prevents python3-dev to be installed
in the container.
The pristine container being installed with package versions from -proposed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    if ! sudo $LXC_LS |grep -q $pristine_container; then
71
71
        step="[$target] creating pristine container"
72
72
        echo $step
73
 
        if ! /usr/bin/time -o $TIMING sudo $LXC_CREATE  -n $pristine_container -t ubuntu -- -r $target --user=$CONTAINER_USER --packages=python-software-properties,software-properties-common >$LOG_DIR/$target.pristine.log 2>$LOG_DIR/$target.pristine.err; then
 
73
        if ! /usr/bin/time -o $TIMING sudo $LXC_CREATE  -n $pristine_container -t ubuntu -- -r $target --user=$CONTAINER_USER --packages=python-software-properties,software-properties-common,python3-dev >$LOG_DIR/$target.pristine.log 2>$LOG_DIR/$target.pristine.err; then
74
74
            outcome=1
75
75
            echo "[$target] Unable to create pristine container!"
76
76
            echo "[$target] stdout: $(pastebinit $LOG_DIR/$target.pristine.log)"