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

Boot manager/loader #237

Closed
jhuntwork opened this issue Aug 25, 2021 · 1 comment · Fixed by #334
Closed

Boot manager/loader #237

jhuntwork opened this issue Aug 25, 2021 · 1 comment · Fixed by #334
Assignees

Comments

@jhuntwork
Copy link
Owner

jhuntwork commented Aug 25, 2021

Up to now, mere has used syslinux which worked great. I chose that because it was simple, relatively straightforward, while still supporting a lot of options and configurations.

But syslinux seems to be no longer maintained, the last release was in 2014. That alone might be fine if the software just works, but it also seems its compilation has some pretty tight dependencies on gcc, which we dropped in favor of llvm/clang.

So there's a few choices here:

  1. Punt this decision and use the previously compiled version of syslinux already in the repo, not worrying for now about re-compiling it. Re-visit this issue at a later date.

  2. Add gcc back to the repo to stand alongside llvm as an optional compiler to support syslinux and any other programs like it with a gcc dependency.

  3. Choose and add a new boot loader/manager, probably either grub2 or refind

@jhuntwork jhuntwork self-assigned this Sep 11, 2021
jhuntwork added a commit that referenced this issue Sep 11, 2021
Gmp is needed for gcc, which is needed to build syslinux.

Related to #237
jhuntwork added a commit that referenced this issue Sep 11, 2021
Gmp is needed for gcc, which is needed to build syslinux.

Related to #237
jhuntwork added a commit that referenced this issue Sep 11, 2021
Gmp is needed for gcc, which is needed to build syslinux.

Related to #237
jhuntwork added a commit that referenced this issue Sep 11, 2021
mpfr is needed by gcc, which is needed to build syslinux

Related to #237
@jhuntwork
Copy link
Owner Author

Choosing option #2 at the moment. I prefer syslinux as it is lightweight, simple to use, and affords a lot of flexibility. Adding what is necessary to make it build.

jhuntwork added a commit that referenced this issue Sep 11, 2021
mpc is needed for gcc, which is needed to build syslinux

Related to #237
jhuntwork added a commit that referenced this issue Sep 11, 2021
binutils is needed by gcc, which is needed to build syslinux

Related to #237
jhuntwork added a commit that referenced this issue Sep 11, 2021
gcc is needed to build syslinux. 9.4.0 appears to be the latest version
that is able to successfully compile syslinux

Related to #237
jhuntwork added a commit that referenced this issue Sep 11, 2021
Also:

- Remove some unused headers/libs
- Remove from base group
- Remove dependency on perl, while keeping some rarely used perl scripts
  shipped with the package

Fixes #237
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant