ca script fix hopefully please

This commit is contained in:
Patrick 2024-11-14 15:54:21 +01:00
parent 22b941800c
commit f18a71aa9d

View file

@ -199,7 +199,8 @@ def apt_rootfs_prepare(
for preinstall_script in preinstall_scripts: for preinstall_script in preinstall_scripts:
command(f"sudo mv {preinstall_script} {chroot}/root") command(f"sudo mv {preinstall_script} {chroot}/root")
do_chroot_command(f"cd root && ./{preinstall_script}") file_name = preinstall_script.split("/")[-1]
do_chroot_command(f"cd root && ./{file_name}")
if create_ca: if create_ca:
command(f"sudo cp {chroot}/etc/ssl/certs/ca.crt {output}") command(f"sudo cp {chroot}/etc/ssl/certs/ca.crt {output}")