summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2020-11-17 11:18:31 +0100
committerJonathan Bauer2020-11-17 11:18:31 +0100
commitf48272a48329a70f144233cdc460523520f96782 (patch)
treeec69478acfc2daba7ee0f4d452e0f1e4dfd7862d
parent[dnbd3-rootfs] remove deprecated code (diff)
downloadsystemd-init-f48272a48329a70f144233cdc460523520f96782.tar.gz
systemd-init-f48272a48329a70f144233cdc460523520f96782.tar.xz
systemd-init-f48272a48329a70f144233cdc460523520f96782.zip
[dnbd3-rootfs] fix path to xloop build
-rw-r--r--modules.d/dnbd3-rootfs/helper/build.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules.d/dnbd3-rootfs/helper/build.inc b/modules.d/dnbd3-rootfs/helper/build.inc
index 8abdb8e2..1237fe05 100644
--- a/modules.d/dnbd3-rootfs/helper/build.inc
+++ b/modules.d/dnbd3-rootfs/helper/build.inc
@@ -45,9 +45,7 @@ build_initialize_components() {
fi
fi
if [ "$qcow_handler" = "kernel" ]; then
- if [ ! -f "${_deps_base_dir}/xloop/xloop.ko" ] \
- || [ ! -f "${_deps_base_dir}/xloop/loop_file_fmt_qcow.ko" ] \
- || [ ! -f "${_deps_base_dir}/xloop/loop_file_fmt_raw.ko" ]; then
+ if [ ! -f "${_deps_base_dir}/xloop/build/src/kernel/xloop/xloop.ko" ]; then
echo "Could not find loop kernel modules, building them..."
if ! build_compile_xloop "${_deps_base_dir}/xloop"; then
echo "Failed to build qcow loop kernel modules."