summaryrefslogtreecommitdiffstats
path: root/builder/build-initramfs.sh
diff options
context:
space:
mode:
authortorben2016-02-09 09:50:21 +0100
committertorben2016-02-09 09:50:21 +0100
commitf53d12a33cb781bfef9273edfd9fbe94abd0b862 (patch)
tree0995ffdc054eec994b456dc2f1162af766f96e25 /builder/build-initramfs.sh
parentbranch tracking submodules (diff)
downloadsystemd-init-f53d12a33cb781bfef9273edfd9fbe94abd0b862.tar.gz
systemd-init-f53d12a33cb781bfef9273edfd9fbe94abd0b862.tar.xz
systemd-init-f53d12a33cb781bfef9273edfd9fbe94abd0b862.zip
Improve git submodule checking.
Diffstat (limited to 'builder/build-initramfs.sh')
-rwxr-xr-xbuilder/build-initramfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh
index 59ab139d..9bd3cf94 100755
--- a/builder/build-initramfs.sh
+++ b/builder/build-initramfs.sh
@@ -36,7 +36,7 @@ if ! [[ -d "$_needed_location" ]]; then
git clone --depth 1 git://git.openslx.org/openslx-ng/systemd-init.git \
"$_temporary_repository_location"
pushd "$_temporary_repository_location"
- git submodule update --init --depth 1
+ git submodule update --init --remote --depth 1
popd
cp --recursive \
"${_temporary_repository_location}/builder/dnbd3-rootfs" \