We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 131d715 commit 30da214Copy full SHA for 30da214
1 file changed
eclipse-installer/src/install.rs
@@ -642,7 +642,9 @@ menuentry "Eclipse Linux (recovery)" {{
642
fn build_initramfs(kver: &str) -> Result<(), String> {
643
log::log("Building installed initramfs...");
644
645
- let output = run_cmd("mktemp", &["-d"])?;
+ // Create staging dir on the target disk, not /tmp (which is a tiny
646
+ // tmpfs on the live ISO and cannot hold the kernel modules tree).
647
+ let output = run_cmd("mktemp", &["-d", "-p", TARGET_MNT])?;
648
let staging = String::from_utf8_lossy(&output.stdout).trim().to_string();
649
log::log(&format!("Initramfs staging dir: {}", staging));
650
0 commit comments