We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca96777 + 9d71a2f commit 2aa33d2Copy full SHA for 2aa33d2
src/efi.rs
@@ -22,7 +22,7 @@ use widestring::U16CString;
22
use crate::filetree;
23
use crate::model::*;
24
use crate::ostreeutil;
25
-use crate::util::CommandRunExt;
+use crate::util::{self, CommandRunExt};
26
use crate::{component::*, packagesystem};
27
28
/// Well-known paths to the ESP that may have been mounted external to us.
@@ -108,6 +108,7 @@ impl Efi {
108
if st.f_type != libc::MSDOS_SUPER_MAGIC {
109
continue;
110
}
111
+ util::ensure_writable_mount(&mnt)?;
112
log::debug!("Reusing existing {mnt:?}");
113
return Ok(mnt);
114
0 commit comments