fix making of local package in OTA for Kobo

by excluding kobo launching files that may be removed after installation
pull/816/head
chrox 10 years ago
parent d0f61a9364
commit f89dfe0b06

@ -144,8 +144,7 @@ koboupdate: all
cd $(INSTALL_DIR) && \ cd $(INSTALL_DIR) && \
zip -9 -r \ zip -9 -r \
../koreader-kobo-$(MACHINE)-$(VERSION).zip \ ../koreader-kobo-$(MACHINE)-$(VERSION).zip \
KoboRoot.tgz koreader koreader.png README_kobo.txt \ koreader -x "koreader/resources/fonts/*" \
-x "koreader/resources/fonts/*" \
"koreader/resources/icons/src/*" "koreader/spec/*" "koreader/resources/icons/src/*" "koreader/spec/*"
# generate koboupdate package index file # generate koboupdate package index file
zipinfo -1 koreader-kobo-$(MACHINE)-$(VERSION).zip > \ zipinfo -1 koreader-kobo-$(MACHINE)-$(VERSION).zip > \
@ -153,7 +152,7 @@ koboupdate: all
echo "koreader/ota/package.index" >> $(INSTALL_DIR)/koreader/ota/package.index echo "koreader/ota/package.index" >> $(INSTALL_DIR)/koreader/ota/package.index
# update index file in zip package # update index file in zip package
cd $(INSTALL_DIR) && zip -u ../koreader-kobo-$(MACHINE)-$(VERSION).zip \ 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 # make gzip koboupdate for zsync OTA update
cd $(INSTALL_DIR) && \ cd $(INSTALL_DIR) && \
tar czafh ../koreader-kobo-$(MACHINE)-$(VERSION).tar.gz \ tar czafh ../koreader-kobo-$(MACHINE)-$(VERSION).tar.gz \

Loading…
Cancel
Save