mirror of
https://github.com/andreili/SBC_builder.git
synced 2025-08-23 11:04:04 +02:00
Fix cleanup
This commit is contained in:
parent
66365d91a8
commit
94ed8d5f0c
@ -272,7 +272,7 @@ class OS:
|
||||
# remove temp directory
|
||||
self.__tmp_clean(temp_dir)
|
||||
self.__extract_tar(arch_path, temp_dir)
|
||||
self.__sudo(f"rm {temp_dir}/usr/bin/qemu-{self.arch}")
|
||||
self.__sudo(f"rm {temp_dir}/usr/bin/qemu-{self.arch}", shell=True)
|
||||
sqh_fn = f"{ROOT_DIR}/out/root_{date}.sqh"
|
||||
self.__make_sqh(temp_dir, sqh_fn)
|
||||
os.symlink(sqh_fn, f"{ROOT_DIR}/out/root.sqh.tmp")
|
||||
|
Loading…
x
Reference in New Issue
Block a user