From c3c22c5944a30d099dd7dca1e4db5d59315f38a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Thu, 30 Jun 2022 06:38:05 +0200 Subject: [PATCH] Create cache directory before first pacman operation --- test-in-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-in-docker.sh b/test-in-docker.sh index 06ba9f5..b1fab5d 100755 --- a/test-in-docker.sh +++ b/test-in-docker.sh @@ -40,8 +40,8 @@ test_ares() { # packages will stay in the container sed -i '"'"'s/^#\?\(CacheDir.*\)/\1\nCacheDir = \/var\/cache\/pacman\/pkg_host\//'"'"' /etc/pacman.conf - pacman -Syu --noconfirm linux python3 mkdir /var/cache/pacman/pkg_host/ + pacman -Syu --noconfirm linux python3 cd $(mktemp -d) tar xf /tmp/dotfiles.tar.gz -C . ANSIBLE_EXTRA_ARGS="-e manage_services=false" ./install.sh