From 892de65e7d71c5f12d84fe8bf3ee296c75210d81 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Wed, 5 Jun 2024 19:53:16 +0200 Subject: [PATCH] package/flutter-engine: use appropriate TAR Signed-off-by: Yann E. MORIN Cc: Adam Duskett [Arnout: quote TAR="..."] Signed-off-by: Arnout Vandecappelle (cherry picked from commit 68fd0009e377181ade06cce3bff1a89d548542e5) Signed-off-by: Peter Korsgaard --- package/flutter-engine/flutter-engine.mk | 1 + package/flutter-engine/gen-tarball | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/flutter-engine/flutter-engine.mk b/package/flutter-engine/flutter-engine.mk index d08274f546..876718eb12 100644 --- a/package/flutter-engine/flutter-engine.mk +++ b/package/flutter-engine/flutter-engine.mk @@ -170,6 +170,7 @@ endif # Generate a tarball if one does not already exist. define FLUTTER_ENGINE_GENERATE_TARBALL + TAR="$(TAR)" \ PATH=$(HOST_DIR)/share/depot_tools:$(BR_PATH) \ PYTHONPATH=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR) \ PUB_CACHE=$(FLUTTER_SDK_BIN_PUB_CACHE) \ diff --git a/package/flutter-engine/gen-tarball b/package/flutter-engine/gen-tarball index 2d2117b9be..23b121d1f9 100755 --- a/package/flutter-engine/gen-tarball +++ b/package/flutter-engine/gen-tarball @@ -70,7 +70,7 @@ gen_tarball() { # - it insists on having a full git repositoy, with .git et al., which means # we can't generate a reproducible archive anyway. # So we jsut create a plain tarball. - tar -C "${SCRATCH_DIR}"/src -czf "${TARBALL_NAME}" . + ${TAR} -C "${SCRATCH_DIR}"/src -czf "${TARBALL_NAME}" . mv "${TARBALL_NAME}" "${TARBALL_DL_PATH}" }