From: Martin Pitt Date: Fri, 12 Apr 2019 06:24:53 +0000 (+0200) Subject: debian/extra/checkout-upstream: Support submodules X-Git-Tag: debian/247.3-7+deb11u1~312^2~19 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=3b8093812487236908d9032b4fffeb2b45788526;p=systemd.git debian/extra/checkout-upstream: Support submodules See https://github.com/systemd/systemd/pull/12151 --- 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