Test: testing Calamares

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2024-01-16 21:53:17 +09:00
parent 0ecef88f84
commit ab8f32f94f
1 changed files with 17 additions and 17 deletions

View File

@ -212,7 +212,7 @@ def shared_folders():
src_paths = ('/plymouth/lines',
'/application',
'/font',
#'/hooks/live',
'/hooks/live',
'/issue',
'/issue',
'/polkit',
@ -231,7 +231,7 @@ def shared_folders():
des_paths =('/usr/share/plymouth/themes/lines',
'/usr/share/applications',
'/usr/share/fonts/pepconf',
#'/usr/lib/live/config',
'/usr/lib/live/config',
'/etc',
'/opt/pepconf',
'/usr/share/polkit-1/actions',
@ -381,15 +381,15 @@ def fusato_configs():
src_paths = ('/hooks/normal',)
des_paths = ('/hooks/normal',)
src_paths_l = ('/hooks/live',)
des_paths_l = ('/hooks/live',)
#src_paths_l = ('/hooks/live',)
#des_paths_l = ('/hooks/live',)
src_q = collections.deque(src_paths)
des_q = collections.deque(des_paths)
src_q_l = collections.deque(src_paths_l)
des_q_l = collections.deque(des_paths_l)
size_q = len(src_q)
size_q_l = len(src_q_l)
#src_q_l = collections.deque(src_paths_l)
#des_q_l = collections.deque(des_paths_l)
#size_q = len(src_q)
#size_q_l = len(src_q_l)
for size_length in range(size_q):
source = src_q.popleft()
des = des_q.popleft()
@ -398,15 +398,15 @@ def fusato_configs():
HOME_FOLDER + FUSATOCONFIG + des,
dirs_exist_ok = True
)
for size_length in range(size_q_l):
source = src_q_l.popleft()
des = des_q_l.popleft()
logger.info(MSG_COPY+ HOME_FOLDER + source)
shutil.copytree(HOME_FOLDER + source,
HOME_FOLDER + FUSATOCONFIG + des,
dirs_exist_ok = True
)
logger.info(MSG_FIN + HOME_FOLDER + WPCHROOT + des)
# for size_length in range(size_q_l):
# source = src_q_l.popleft()
# des = des_q_l.popleft()
# logger.info(MSG_COPY+ HOME_FOLDER + source)
# shutil.copytree(HOME_FOLDER + source,
# HOME_FOLDER + FUSATOCONFIG + des,
# dirs_exist_ok = True
# )
# logger.info(MSG_FIN + HOME_FOLDER + WPCHROOT + des)
def boostrap_shared():