Commit 51dff31d authored by Josua Mayer's avatar Josua Mayer

fix kernel module auto-loading

make modules_install will not generate the module dependencies file if
the depmod command is missing from the running system.
Add it as a requirement to runme.sh and include in Dockerfile.
Signed-off-by: default avatarJosua Mayer <josua@solid-run.com>
parent f8766fc7
......@@ -15,7 +15,7 @@ RUN apt-get update ; apt-get -y install build-essential wget make p7zip p7zip-fu
device-tree-compiler acpica-tools xz-utils sudo gcc libssl-dev python2 \
bison flex u-boot-tools git bc fuseext2 e2tools multistrap \
qemu-system-arm g++ cpio python unzip rsync dosfstools tar pandoc \
python3 meson ninja-build squashfs-tools parted mtools
python3 meson ninja-build squashfs-tools parted mtools kmod
# build environment
WORKDIR /work
......
......@@ -38,7 +38,7 @@ mkdir -p build images
ROOTDIR=`pwd`
PARALLEL=$(getconf _NPROCESSORS_ONLN) # Amount of parallel jobs for the builds
SPEED=2000_700_${DDR_SPEED}
TOOLS="tar git make 7z dd mkfs.ext4 parted mkdosfs mcopy dtc iasl mkimage e2cp truncate qemu-system-aarch64 cpio rsync bc bison flex python unzip pandoc meson ninja"
TOOLS="tar git make 7z dd mkfs.ext4 parted mkdosfs mcopy dtc iasl mkimage e2cp truncate qemu-system-aarch64 cpio rsync bc bison flex python unzip pandoc meson ninja depmod"
BL2=bl2_auto
export PATH=$ROOTDIR/build/toolchain/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin:$PATH
......@@ -139,7 +139,7 @@ for i in $TOOLS; do
if [ "x$TOOL_PATH" == "x" ]; then
echo "Tool $i is not installed"
echo "If running under apt based package management you can run -"
echo "sudo apt install build-essential git dosfstools e2fsprogs parted sudo mtools p7zip p7zip-full device-tree-compiler acpica-tools u-boot-tools e2tools qemu-system-arm libssl-dev cpio rsync bc bison flex python unzip pandoc meson ninja-build"
echo "sudo apt install build-essential git dosfstools e2fsprogs parted sudo mtools p7zip p7zip-full device-tree-compiler acpica-tools u-boot-tools e2tools qemu-system-arm libssl-dev cpio rsync bc bison flex python unzip pandoc meson ninja-build kmod"
exit -1
fi
done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment