Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: yaboot-1.3.17 #15772

Merged
merged 1 commit into from Oct 25, 2019
Merged

New package: yaboot-1.3.17 #15772

merged 1 commit into from Oct 25, 2019

Conversation

q66
Copy link
Contributor

@q66 q66 commented Oct 24, 2019

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.

This should not replace GRUB on ppc machines where possible, as GRUB is the better and actually maintained option, but it's problematic on certain machines (some powerbooks report problems, it probably won't work on Cell either etc.) so it's good to have it as an alternative.

Need testing from @pullmoll and/or @stenstorp

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.
@xtraeme xtraeme merged commit 90f5f8f into void-linux:master Oct 25, 2019
@q66
Copy link
Contributor Author

q66 commented Oct 26, 2019

I wanted to get this tested first, but guess we can always fix it later if there are issues...

@q66 q66 deleted the yaboot branch December 2, 2019 20:46
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant