Signed-off-by: debianpepper <peppermintosteam@proton.me>
This commit is contained in:
debianpepper 2023-08-05 17:51:10 +09:00
parent 23c721b5ad
commit 644370e6c1
1 changed files with 22 additions and 22 deletions

View File

@ -42,34 +42,34 @@ def copy_deb64_specific():
"""" Debian 64 copy jobs"""
source_q = queue.Queue()
destination_q = queue.Queue()
source_q.put("src_deb64_osrelease")
source_q.put("src_deb64_osrelease")
source_q.put("src_deb64_slpash")
source_q.put("src_deb64_isolinux")
source_q.put("src_deb64_multi")
source_q.put("src_deb_grub_theme")
source_q.put("src_deb64_modules")
source_q.put("src_deb_splash_image")
source_q.put("src_deb_splash_image")
source_q.put("src_deb_live_theme")
source_q.put("paths.src_deb64_osrelease")
source_q.put("paths.src_deb64_osrelease")
source_q.put("paths.src_deb64_slpash")
source_q.put("paths.src_deb64_isolinux")
source_q.put("paths.src_deb64_multi")
source_q.put("paths.src_deb_grub_theme")
source_q.put("paths.src_deb64_modules")
source_q.put("paths.src_deb_splash_image")
source_q.put("paths.src_deb_splash_image")
source_q.put("paths.src_deb_live_theme")
destination_q.put("des_osrelease")
destination_q.put("des_osrelease_opt")
destination_q.put("des_splash")
destination_q.put("des_isolinux")
destination_q.put("des_archives")
destination_q.put("des_grub_theme")
destination_q.put("des_modules")
destination_q.put("des_splash_image_isolinux")
destination_q.put("des_splash_image_grub")
destination_q.put("des_live_theme")
destination_q.put("paths.des_osrelease")
destination_q.put("paths.des_osrelease_opt")
destination_q.put("paths.des_splash")
destination_q.put("paths.des_isolinux")
destination_q.put("paths.des_archives")
destination_q.put("paths.des_grub_theme")
destination_q.put("paths.des_modules")
destination_q.put("paths.des_splash_image_isolinux")
destination_q.put("paths.des_splash_image_grub")
destination_q.put("paths.des_live_theme")
src_size = source_q.qsize()
for p in range(src_size):
x = source_q.get()
y = destination_q.get()
shutil.copytree(cur_dir + paths.x,
WP_CHROOT + paths.y,
shutil.copytree(cur_dir + x,
WP_CHROOT + y,
dirs_exist_ok=True
)