]> granicus.if.org Git - fortune-mod/commitdiff
install missing deps
authorShlomi Fish <shlomif@shlomifish.org>
Mon, 2 Mar 2020 08:34:14 +0000 (10:34 +0200)
committerShlomi Fish <shlomif@shlomifish.org>
Mon, 2 Mar 2020 08:34:14 +0000 (10:34 +0200)
scripts/debian-packaging/docker-test.pl

index ed7941ed51e8f2ec30da8dd06f18988fef29bbd1..4a74b392d4806e0ff38a1eb76759b6b01076a08e 100644 (file)
@@ -50,7 +50,10 @@ my $LOG_FN = "git-buildpackage-log.txt";
 # do_system( { cmd => [ 'docker', 'cp', "../scripts", "fcsfed:scripts", ] } );
 my $script = <<"EOSCRIPTTTTTTT";
 set -e -x
-sudo apt -y install build-essential cmake git-buildpackage perl
+set -o pipefail
+apt-get -y update
+apt-get -y install eatmydata sudo
+sudo eatmydata apt -y install build-essential cmake git-buildpackage perl
 cd "$REPO"
 git clean -dxf .
 gbp buildpackage 2>&1 | tee ~/"$LOG_FN"