From 53cbdea37885222fe218a6f4fa61b67de6a094de Mon Sep 17 00:00:00 2001 From: Andrei Leonchikov Date: Sat, 20 Sep 2025 21:23:56 +0000 Subject: [PATCH] Make symlink to relative path. --- scripts/os.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)