From 3b8093812487236908d9032b4fffeb2b45788526 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 12 Apr 2019 08:24:53 +0200 Subject: [PATCH] debian/extra/checkout-upstream: Support submodules See https://github.com/systemd/systemd/pull/12151 --- debian/extra/checkout-upstream | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/extra/checkout-upstream b/debian/extra/checkout-upstream index 561082ea5..90f507de8 100755 --- a/debian/extra/checkout-upstream +++ b/debian/extra/checkout-upstream @@ -34,7 +34,8 @@ mkdir -p debian/tmp $CO git config user.email "invalid@example.com" git config user.name "Merge dummy user" - git rebase master) + git rebase master + git submodule update --init --recursive) UPSTREAM_VER=$(cd debian/tmp/upstream; git describe | sed 's/^v//') # clean out original upstream sources and patches -- 2.39.5