ca script fix hopefully please
This commit is contained in:
parent
22b941800c
commit
f18a71aa9d
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
@ -199,7 +199,8 @@ def apt_rootfs_prepare(
|
|||
|
||||
for preinstall_script in preinstall_scripts:
|
||||
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:
|
||||
command(f"sudo cp {chroot}/etc/ssl/certs/ca.crt {output}")
|
||||
|
|
Loading…
Reference in a new issue