diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-02-18 12:31:10 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-02-18 12:31:10 +0200 |
commit | 5fa516219a6d3838bd4022854eae358af09ae742 (patch) | |
tree | a92f1d993b2a03e24f0e163d565ec30c94cd5332 /pipelines | |
parent | 4ef78b95e80e9c89c3faed756afd72f6b50d4791 (diff) | |
download | ick2-5fa516219a6d3838bd4022854eae358af09ae742.tar.gz |
Fix: when building a systree, apt-get update before apt-get installliw/worker
This avoids packages lists.
Diffstat (limited to 'pipelines')
-rw-r--r-- | pipelines/systrees.ick | 1 |
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 |