summaryrefslogtreecommitdiffstats
path: root/molecule/archlinux
diff options
context:
space:
mode:
Diffstat (limited to 'molecule/archlinux')
-rw-r--r--molecule/archlinux/Dockerfile.j23
1 files changed, 1 insertions, 2 deletions
diff --git a/molecule/archlinux/Dockerfile.j2 b/molecule/archlinux/Dockerfile.j2
index 1d5a1cd5..3dc35f2d 100644
--- a/molecule/archlinux/Dockerfile.j2
+++ b/molecule/archlinux/Dockerfile.j2
@@ -2,7 +2,7 @@ FROM docker.io/library/archlinux
ENV container docker
-RUN pacman -Syu --noconfirm --needed python3 \
+RUN pacman -Syu --noconfirm --needed python3 systemd udev \
&& pacman -Scc --noconfirm
RUN (cd /lib/systemd/system/sysinit.target.wants/; \
@@ -10,7 +10,6 @@ RUN (cd /lib/systemd/system/sysinit.target.wants/; \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
- rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
rm -f /lib/systemd/system/basic.target.wants/*;\
rm -f /lib/systemd/system/anaconda.target.wants/*;