- p7zip compresses file with some kinds of methods
including Delta method
- However, extracting the file compressed by Delta method
is failed because the version of libtota's lzma-sdk is
too old(9.20)
- With "-mf=off" option, we can compress with only LZMA method
which old lzma-sdk supports
- NOTICE
- Compression ratio is slightly decreased
- If you want to use Delta method, please update lzma-sdk
to 15.05 or higher and port libtota
Change-Id: Ib33eec082b7b15c10f3127c8d0c4d558b8c5aa1d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
COMMON_BIN_PATH = "../../common/bin/"
DIFF_UTIL = "/usr/local/bin/ss_bsdiff"
DIFFPATCH_UTIL = "/usr/local/bin/ss_bspatch"
-ZIPUTIL = "p7zip "
-#ZIPUTIL = "7z a system.7z "
+#ZIPUTIL = "p7zip "
+ZIPUTIL = "7z -mf=off a system.7z "
NEW_FILES_PATH = "system"
NEW_FILES_FOLDER = "system"
NEW_FILES_ZIP_NAME = "system.7z"