This should replace the yaboot-bin package (which should be dropped assuming this is found to be working well). This, instead of taking the binary from Debian, compiles yaboot from source. The tricky part here is e2fsprogs, or rather, libext2fs. Yaboot requires a fairly old version of it, and being a strictly ppc32 program, needs that library compiled in a minimal form for ppc32. In order to achieve that, I abuse the cross-compiler, using the musl ppc32 cross-compiler as that's universally available on all crosshosts, as well as all ppc64 (and ppc32 doesn't need it). The main reason to do this over shipping the binary is that this will actually work properly on some ppc64 machines, which require the bundled addnote executable, which can now be compiled properly for the native architecture.
16 lines
453 B
Diff
16 lines
453 B
Diff
Description: correct spelling/typo
|
|
Author: Milan Kupcevic <milan@physics.harvard.edu>
|
|
Forwarded: no
|
|
---
|
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|
--- a/second/prom.c
|
|
+++ b/second/prom.c
|
|
@@ -216,7 +216,7 @@
|
|
else if (!strcmp(tmp, "network"))
|
|
return FILE_DEVICE_NET;
|
|
else {
|
|
- prom_printf("Unkown device type <%s>\n", tmp);
|
|
+ prom_printf("Unknown device type <%s>\n", tmp);
|
|
return FILE_ERR_BADDEV;
|
|
}
|
|
}
|