Fix kernel installation

This commit is contained in:
Andrey Leonchikov 2025-09-14 23:48:07 +02:00
parent a0c70f6f7a
commit 87fee3d242

View File

@ -440,6 +440,9 @@ class OS:
cmd += f"' >> {extl_fn}" cmd += f"' >> {extl_fn}"
self.__sudo(["sh", "-c", f"{cmd}"], stdout=subprocess.DEVNULL) self.__sudo(["sh", "-c", f"{cmd}"], stdout=subprocess.DEVNULL)
for target in self.board.targets: for target in self.board.targets:
if (target.is_shared):
target.install_files(out_dir, self.board.out_sh, "boot", self.__copy_file, self.__dd_bin)
else:
target.install_files(out_dir, self.board.out_dir, "boot", self.__copy_file, self.__dd_bin) target.install_files(out_dir, self.board.out_dir, "boot", self.__copy_file, self.__dd_bin)
self.__copy_file(f"{self.board.out_sh}/uInitrd", f"{out_dir}/") self.__copy_file(f"{self.board.out_sh}/uInitrd", f"{out_dir}/")
Logger.install(f"\tCopy root.sqh") Logger.install(f"\tCopy root.sqh")