From dd28e0d1370548d9fc0b50f6833cc0e3ff266e45 Mon Sep 17 00:00:00 2001 From: SahilSonar Date: Thu, 1 Feb 2024 17:38:58 +0530 Subject: [PATCH] build: Generate MD5SUM of otapackage --- build/tasks/bacon.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/tasks/bacon.mk b/build/tasks/bacon.mk index 08936eb88..45ba203a5 100644 --- a/build/tasks/bacon.mk +++ b/build/tasks/bacon.mk @@ -18,10 +18,12 @@ LINEAGE_TARGET_PACKAGE := $(PRODUCT_OUT)/e-$(LINEAGE_VERSION).zip +MD5 := prebuilts/build-tools/path/$(HOST_PREBUILT_TAG)/md5sum SHA256 := prebuilts/build-tools/path/$(HOST_PREBUILT_TAG)/sha256sum .PHONY: bacon bacon: $(INTERNAL_OTA_PACKAGE_TARGET) $(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(LINEAGE_TARGET_PACKAGE) $(hide) $(SHA256) $(LINEAGE_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(LINEAGE_TARGET_PACKAGE).sha256sum + $(hide) $(MD5) $(LINEAGE_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(LINEAGE_TARGET_PACKAGE).md5sum @echo "Package Complete: $(LINEAGE_TARGET_PACKAGE)" >&2 -- GitLab