Trouble Shooting: Arch Variables

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-09-24 00:14:55 +09:00
parent df8c5d66b5
commit d76789bfa9
2 changed files with 20 additions and 6 deletions

View File

@ -148,7 +148,6 @@ class BuildXfce:
logger.info(BUILD_COMPLETED)
def build_deb_arm(self):
""" Builds the arm ISO XFCE"""
current_working_directory = os.getcwd()
@ -338,11 +337,11 @@ class BuildXfce:
"""
Used to build the devuan base XFCE ISO
"""
if self.sarch == arch_64:
if self.sarch == "_64":
self.build_dev_64()
elif self.sarch == arch_32:
elif self.sarch == "_32":
self.build_dev_32()
elif self.sarch == arch_arm:
elif self.sarch == "_arm":
self.build_dev_arm()
else:
print("WARNING: No active build specified")

View File

@ -29,7 +29,6 @@ MSG_COPY = "Copying - "
MSG_FIN = "Finished - "
class Archive:
"""
Copy the multimedia to the ARCHIVES folder Depending on
@ -93,7 +92,6 @@ class ChrootFolders:
logger.info(MSG_FIN + HOME_FOLDER + WPCHROOT + des)
class BinaryFolders:
"""
Copy all the needed folders to BINARY Depending on
@ -459,3 +457,20 @@ def gnome_flahsbak_configs():
logger.info(MSG_FIN + HOME_FOLDER + WPCHROOT + des_gnomef)
def open_box_configs():
"""
Copy the openbox files
"""
logger.info("Copy openbox configs")
src_ob = '/opebbox'
des_ob = '/etc/skel/.config'
logger.info("INFO: Copying - " + HOME_FOLDER + src_ob)
shutil.copytree(HOME_FOLDER + src_ob,
HOME_FOLDER + WPCHROOT + des_ob,
dirs_exist_ok = True
)
logger.info(MSG_FIN + HOME_FOLDER + WPCHROOT + des_ob)