Reapply "Don't remove .git"

This reverts commit d05e2d96fc.
The revert of d05e2d96fc (Revert "Don't remove .git", 2024-08-20)
created unexpected problems with the fake kernel build used on the
Broadcom platform. For the time-being keep the .git directory until a
solution is found (i.e reapply i.e. revert the revert).

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
This commit is contained in:
Andreas Gnau
2025-10-13 14:39:46 +02:00
parent 7cad9fa8c9
commit bf0092e7c2

View File

@@ -224,7 +224,6 @@ define DownloadMethod/rawgit
(cd $(SUBDIR) && git checkout $(VERSION) && git submodule update --init --recursive) && \
echo "Packing checkout..." && \
export TAR_TIMESTAMP=`cd $(SUBDIR) && git log -1 --format='@%ct'` && \
rm -rf $(SUBDIR)/.git && \
$(call dl_tar_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \
mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/ && \
rm -rf $(SUBDIR);