summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-02-18 12:31:10 +0200
committerLars Wirzenius <liw@liw.fi>2020-02-18 12:31:10 +0200
commit5fa516219a6d3838bd4022854eae358af09ae742 (patch)
treea92f1d993b2a03e24f0e163d565ec30c94cd5332
parent4ef78b95e80e9c89c3faed756afd72f6b50d4791 (diff)
downloadick2-5fa516219a6d3838bd4022854eae358af09ae742.tar.gz
Fix: when building a systree, apt-get update before apt-get installliw/worker
This avoids packages lists.
-rw-r--r--pipelines/systrees.ick1
1 files changed, 1 insertions, 0 deletions
diff --git a/pipelines/systrees.ick b/pipelines/systrees.ick
index b6da798..24093a0 100644
--- a/pipelines/systrees.ick
+++ b/pipelines/systrees.ick
@@ -30,6 +30,7 @@ pipelines:
import os, subprocess
def runcmd(argv, **kwargs):
subprocess.check_call(argv, **kwargs)
+ runcmd(['apt-get', 'update'])
runcmd(['apt-get', 'install', '-y'] + params['packages'])
where: chroot