Ensure /boot directory exists

Ensure that the /boot directory is passed with
bubblewrap so kernel installs do not fail.

Story: 2010867
Task: 48556

Test Plan

PASSED compose install kernel.

Change-Id: I8122c16547b674bb621d79a22f9fb886c7a6c269
Signed-off-by: Charles Short <charles.short@windriver.com>
This commit is contained in:
Charles Short
2023-12-11 09:18:40 -05:00
committed by Chuck Short
parent 7923a8750d
commit dd24168756

View File

@@ -63,6 +63,7 @@ def run_sandbox_command(
"--dev", "/dev",
"--dir", "/run",
"--bind", "/tmp", "/tmp",
"--bind", f"{rootfs}/boot", "/boot",
"--bind", f"{rootfs}/usr", "/usr",
"--bind", f"{rootfs}/etc", "/etc",
"--bind", f"{rootfs}/var", "/var",