mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
ci/archlinux: initialize machine ID
When installing packages within Archlinux container, pacman fails with the following errors: (3/7) Creating temporary files... /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to replace specifiers in '/var/log/journal/%m': No such file or directory /usr/lib/tmpfiles.d/systemd.conf:23: Failed to replace specifiers in '/run/log/journal/%m': No such file or directory /usr/lib/tmpfiles.d/systemd.conf:25: Failed to replace specifiers in '/run/log/journal/%m': No such file or directory /usr/lib/tmpfiles.d/systemd.conf:26: Failed to replace specifiers in '/run/log/journal/%m/*.journal*': No such file or directory /usr/lib/tmpfiles.d/systemd.conf:29: Failed to replace specifiers in '/var/log/journal/%m': No such file or directory /usr/lib/tmpfiles.d/systemd.conf:30: Failed to replace specifiers in '/var/log/journal/%m/system.journal': No such file or directory /usr/lib/tmpfiles.d/systemd.conf:32: Failed to replace specifiers in '/var/log/journal/%m': No such file or directory /usr/lib/tmpfiles.d/systemd.conf:33: Failed to replace specifiers in '/var/log/journal/%m/system.journal': No such file or directory To solve this problem we need to initialize the machine ID. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
34e2b02219
commit
65407616e0
1 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,9 @@ FROM docker.io/library/archlinux:latest
|
|||
|
||||
ARG CC=gcc
|
||||
|
||||
# Initialize machine ID
|
||||
RUN systemd-machine-id-setup
|
||||
|
||||
RUN pacman -Syu --noconfirm \
|
||||
$CC \
|
||||
bash \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue