Skip to content

Commit 6ba94f7

Browse files
committed
install: Mirror /run/udev into the install container
Without access to udev state, lsblk may fail during install-to-disk operations. See #688 Assisted-by: Claude Code (claude-opus-4-5-20251101)
1 parent 2dbadd2 commit 6ba94f7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

crates/lib/src/install.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1598,6 +1598,9 @@ async fn prepare_install(
15981598
// In some cases we may create large files, and it's better not to have those
15991599
// in our overlayfs.
16001600
bootc_mount::ensure_mirrored_host_mount("/var/tmp")?;
1601+
// udev state is required for running lsblk during install to-disk
1602+
// see https://github.com/bootc-dev/bootc/pull/688
1603+
bootc_mount::ensure_mirrored_host_mount("/run/udev")?;
16011604
// We also always want /tmp to be a proper tmpfs on general principle.
16021605
setup_tmp_mount()?;
16031606
// Allocate a temporary directory we can use in various places to avoid

0 commit comments

Comments
 (0)