summaryrefslogtreecommitdiffstats
path: root/builder
diff options
context:
space:
mode:
Diffstat (limited to 'builder')
-rwxr-xr-xbuilder/build-initramfs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh
index c60586c8..720e9ce9 100755
--- a/builder/build-initramfs.sh
+++ b/builder/build-initramfs.sh
@@ -36,6 +36,9 @@ if ! [[ -d "$_needed_location" ]]; then
git clone --recursive --depth 1 \
git://git.openslx.org/openslx-ng/systemd-init.git \
"$_temporary_repository_location"
+ pushd "$_temporary_repository_location"
+ git submodule update --init --depth 1
+ popd
cp --recursive \
"${_temporary_repository_location}/builder/dnbd3-rootfs" \
"$_needed_location"