diff --git a/scripts/os.py b/scripts/os.py index ce87416..260dfea 100644 --- a/scripts/os.py +++ b/scripts/os.py @@ -279,7 +279,7 @@ class OS: 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") + os.symlink(f"root_{date}.sqh", f"{ROOT_DIR}/out/root.sqh.tmp") os.rename(f"{ROOT_DIR}/out/root.sqh.tmp", f"{ROOT_DIR}/out/root.sqh") self.__tmp_clean(temp_dir)