Merge pull request #9015 from cladmi/pr/pkg/do_not_sign_patches

pkg/pkg.mk: do not sign when applying patches
This commit is contained in:
Kaspar Schleiser 2018-04-25 09:40:10 +02:00 committed by GitHub
commit 8d6f5ddfcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,10 +19,12 @@ else
git-download: $(PKG_BUILDDIR)/.git-downloaded
endif
GITAMFLAGS = --no-gpg-sign --ignore-whitespace
ifneq (,$(wildcard $(PKG_DIR)/patches))
$(PKG_BUILDDIR)/.git-patched: $(PKG_BUILDDIR)/.git-downloaded $(PKG_DIR)/Makefile $(PKG_DIR)/patches/*.patch
git -C $(PKG_BUILDDIR) checkout -f $(PKG_VERSION)
git -C $(PKG_BUILDDIR) am --ignore-whitespace "$(PKG_DIR)"/patches/*.patch
git -C $(PKG_BUILDDIR) am $(GITAMFLAGS) "$(PKG_DIR)"/patches/*.patch
touch $@
endif