global DIFF_UTIL
global ZIPUTIL
global NEW_FILES_PATH
- global NEW_FILES_FOLDER
global NEW_FILES_ZIP_NAME
global SYMLINK_TYPE
global ATTR_DOC_EXT
DIFFPATCH_UTIL = "/usr/local/bin/ss_bspatch"
#ZIPUTIL = "p7zip "
ZIPUTIL = "7z -mf=off a system.7z "
-NEW_FILES_PATH = "system"
-NEW_FILES_FOLDER = "system"
+NEW_FILES_PATH = "run/upgrade-sysroot"
NEW_FILES_ZIP_NAME = "system.7z"
SYMLINK_TYPE = "SYM"
ATTR_DOC_EXT = "_attr.txt"
for elt in files_new:
dst_file = BASE_NEW+'/'+elt
- newfiles_dest_path = 'system/'
+ newfiles_dest_path = 'run/upgrade-sysroot/'
ensure_dir_exists(newfiles_dest_path)
if os.path.islink(dst_file):
patch = os.readlink(dst_file)
New_Cnt = New_Cnt + 1
else:
New_Cnt = New_Cnt + 1
- #newfiles_dest_path = OUT_DIR + '/system/'
destpath = newfiles_dest_path + elt
destdir = os.path.dirname(destpath)
logging.debug('New files - %s ==> %s' % (dst_file, destdir))
raise
for elt in Dir_Added:
- newfiles_dest_path = 'system/'
+ newfiles_dest_path = 'run/upgrade-sysroot/'
ensure_dir_exists(newfiles_dest_path)
destpath = newfiles_dest_path + elt
if not os.path.exists(destpath):