Skip to content
Snippets Groups Projects
Commit 07eefc8c authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Emanuele Aina
Browse files

image-builder: Fix the fakemachine setup


The binfmt_misc module loading depends on kmod-static-nodes.service
running which depends on kmod, so install that.

On top of that, to mount the uml kernel modules on /lib/modules that
directory actually needs to exist so create it.

Signed-off-by: default avatarSjoerd Simons <sjoerd@collabora.com>
parent 79dd6682
No related branches found
No related tags found
2 merge requests!107Use the UML fakemachine/Debos backend in the image builder,!93WIP: documentation-builder: Rebase on Apertis instead of Debian Buster
Pipeline #133852 passed
......@@ -65,6 +65,7 @@ RUN apt-get update && \
git \
imx-code-signing-tool \
jq \
kmod \
libnss-wrapper \
lqa \
mtd-utils \
......@@ -82,6 +83,10 @@ RUN apt-get update && \
u-boot-tools \
udev
# Create /lib/modules as fakemachine will try to mount the uml modules at that
# location
RUN mkdir -p /lib/modules
# FIXME: move to a packaged version
RUN apt-get update && \
apt-get install --no-install-recommends -y busybox systemd-container debootstrap
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment