From 723ec600b01e90b1bf73fe47ffe02b8ecc9cf748 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Sun, 15 Mar 2026 22:53:16 +0100 Subject: [PATCH] kobo: split update rule --- make/kobo.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/make/kobo.mk b/make/kobo.mk index 4fe40a882..d71ae880f 100644 --- a/make/kobo.mk +++ b/make/kobo.mk @@ -6,13 +6,18 @@ define UPDATE_PATH_EXCLUDES += $(filter-out tools/kobo%,$(wildcard tools/*)) endef -update: all +update-prepare: all # ensure that the binaries were built for ARM file --dereference $(INSTALL_DIR)/koreader/luajit | grep ARM # Kobo launching scripts $(SYMLINK) $(KOBO_DIR)/koreader.png $(INSTALL_DIR)/ $(SYMLINK) $(KOBO_DIR)/*.sh $(INSTALL_DIR)/koreader/ $(SYMLINK) $(COMMON_DIR)/spinning_zsync $(INSTALL_DIR)/koreader/ - # Create packages. + +update-zip: update-prepare $(strip $(call mkupdate,--manifest-transform=/^koreader\.png$$/d $(KOBO_PACKAGE))) koreader.png + +update-tgz: update-prepare $(strip $(call mkupdate,$(KOBO_PACKAGE_OTA))) + +update: update-zip update-tgz