summaryrefslogtreecommitdiffstats
path: root/builder
diff options
context:
space:
mode:
authortorben2016-02-08 13:53:25 +0100
committertorben2016-02-08 13:53:25 +0100
commit7aa33e8b18a63f5c17063c9682dfb1f534472d5d (patch)
tree928333ffd35ba6daec12336db2d112510bcae3f1 /builder
parentImprove initial repo retrieving. (diff)
downloadsystemd-init-7aa33e8b18a63f5c17063c9682dfb1f534472d5d.tar.gz
systemd-init-7aa33e8b18a63f5c17063c9682dfb1f534472d5d.tar.xz
systemd-init-7aa33e8b18a63f5c17063c9682dfb1f534472d5d.zip
More improvements.
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"