Files
pmaports-rtwo/temp/powervm-boot/0001-Fix-compilation.patch
Aelin 06bdbdba69 temp/powervm-boot: new aport
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>
2026-08-03 19:24:11 +00:00

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,
};