Create cache directory before first pacman operation

This commit is contained in:
2022-06-30 06:38:05 +02:00
parent a5c83fb4ac
commit c3c22c5944

View File

@@ -40,8 +40,8 @@ test_ares() {
# packages will stay in the container # packages will stay in the container
sed -i '"'"'s/^#\?\(CacheDir.*\)/\1\nCacheDir = \/var\/cache\/pacman\/pkg_host\//'"'"' /etc/pacman.conf 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/ mkdir /var/cache/pacman/pkg_host/
pacman -Syu --noconfirm linux python3
cd $(mktemp -d) cd $(mktemp -d)
tar xf /tmp/dotfiles.tar.gz -C . tar xf /tmp/dotfiles.tar.gz -C .
ANSIBLE_EXTRA_ARGS="-e manage_services=false" ./install.sh ANSIBLE_EXTRA_ARGS="-e manage_services=false" ./install.sh