[CRIU] [PATCH 3/5] CI: fix Fedora rawhide
Kir Kolyshkin
kolyshkin at gmail.com
Fri Mar 16 00:09:39 MSK 2018
Fix Fedora rawhide CI failure caused by coreutils-single and our
way of running under QEMU.
Signed-off-by: Kir Kolyshkin <kolyshkin at gmail.com>
---
scripts/build/Dockerfile.fedora.tmpl | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/scripts/build/Dockerfile.fedora.tmpl b/scripts/build/Dockerfile.fedora.tmpl
index 618efddf..85ff5966 100644
--- a/scripts/build/Dockerfile.fedora.tmpl
+++ b/scripts/build/Dockerfile.fedora.tmpl
@@ -23,6 +23,12 @@ RUN dnf install -y \
python-yaml \
tar
+# Replace coreutils-single with "traditional" coreutils
+# to fix the following error on Fedora 28/rawhide while
+# running under QEMU:
+# > sh: /usr/bin/sort: /usr/bin/coreutils: bad interpreter: No such file or directory
+RUN dnf install -y --allowerasing coreutils
+
COPY . /criu
WORKDIR /criu
--
2.14.1
More information about the CRIU
mailing list