mirror of
https://github.com/andreili/SBC_builder.git
synced 2025-09-25 22:04:40 +02:00
Fix kernel installation
This commit is contained in:
parent
a0c70f6f7a
commit
87fee3d242
@ -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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user