Skip to content

Commit e2e3098

Browse files
Johan-Liebert1allisonkarlitskaya
authored andcommitted
Allow passing absolute paths to initrd and vmlinuz
Grub needs absolute paths to initrd and vmlinuz if we do not have `/boot` in a boot partition, which we do not in bootc. Add param `boot_subdir` which acts like a subdirectory in the boot directory in case the boot partition is mounted in another directory. Signed-off-by: Pragyan Poudyal <[email protected]>
1 parent ee5d36f commit e2e3098

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ async fn main() -> Result<()> {
279279
entry,
280280
&id,
281281
bootdir,
282+
None,
282283
entry_id.as_deref(),
283284
&cmdline_refs,
284285
)?;

0 commit comments

Comments
 (0)