This is a bootloader for Open Firmware PowerPC systems that we will use to replace grub-ieee1275 in device-generic-ppc64le. Due to its use of RUSTC_BOOTSTRAP, this APKBUILD cannot go to Alpine at the moment, but once the Rust targets are added upstream, this can be moved to aports. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9002>
14 lines
473 B
Diff
14 lines
473 B
Diff
diff --git a/src/fs.rs b/src/fs.rs
|
|
index 605327d..e5290ea 100644
|
|
--- a/src/fs.rs
|
|
+++ b/src/fs.rs
|
|
@@ -34,7 +34,7 @@ impl BootFilesystem for FatPartition {
|
|
continue;
|
|
}
|
|
let key = String::from(&name[..name.len() - 5]);
|
|
- let mut reader = match entries_dir.open_file(name) {
|
|
+ let mut reader = match entries_dir.open_file(&name) {
|
|
Ok(r) => r,
|
|
Err(_) => continue,
|
|
};
|