From f89dfe0b0618d023e75a3d6e5cec5134ec70297e Mon Sep 17 00:00:00 2001 From: chrox Date: Tue, 19 Aug 2014 15:55:17 +0800 Subject: [PATCH] fix making of local package in OTA for Kobo by excluding kobo launching files that may be removed after installation --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8cf5323bf..19b55f760 100644 --- a/Makefile +++ b/Makefile @@ -144,8 +144,7 @@ koboupdate: all cd $(INSTALL_DIR) && \ zip -9 -r \ ../koreader-kobo-$(MACHINE)-$(VERSION).zip \ - KoboRoot.tgz koreader koreader.png README_kobo.txt \ - -x "koreader/resources/fonts/*" \ + koreader -x "koreader/resources/fonts/*" \ "koreader/resources/icons/src/*" "koreader/spec/*" # generate koboupdate package index file zipinfo -1 koreader-kobo-$(MACHINE)-$(VERSION).zip > \ @@ -153,7 +152,7 @@ koboupdate: all echo "koreader/ota/package.index" >> $(INSTALL_DIR)/koreader/ota/package.index # update index file in zip package cd $(INSTALL_DIR) && zip -u ../koreader-kobo-$(MACHINE)-$(VERSION).zip \ - koreader/ota/package.index + koreader/ota/package.index KoboRoot.tgz koreader.png README_kobo.txt # make gzip koboupdate for zsync OTA update cd $(INSTALL_DIR) && \ tar czafh ../koreader-kobo-$(MACHINE)-$(VERSION).tar.gz \