-
Notifications
You must be signed in to change notification settings - Fork 6
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
1633 use enki as lib for build iso #68
Conversation
Signed-off-by: Dimitris Karakasilis <[email protected]>
until I figure out where they are set in enki any how Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
244299b
to
82817b4
Compare
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
because it's already handled here: https://github.com/kairos-io/enki/blob/6b92cbae96e92a1e36dfae2d5fdb5f3fb79bf99d/pkg/action/build-iso.go#L256 https://github.com/kairos-io/enki/blob/6b92cbae96e92a1e36dfae2d5fdb5f3fb79bf99d/pkg/action/build-iso.go#L325 Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
I had a quick look, the /grub2 location provides grub BIOS files for arm and x86 hybrid boot. hybrid boot means we build isos that can boot both on BIOS and EFI. for this we need syslinux and grub2 files for x86_64, arm64 AND i386 arm64 does not have BIOS boot but enki iso builder does not do any distinction and when building isos it tries to build hybrid issues no matter the arch. i386 files are needed to build the eltorito.img which is used for the hybrid boot Things that we can do down the road
The only problem with this is that we still need the eltorito.img and the boot_hybrid.img files in order to build hybrid isos. Not all distros provide those, nor all distros allows you to install grub2-i386 and generate one yourself! to build a eltorito.img:
the when building the iso you pass the following to xorisso for the BIOS part:
So maybe there is an alternative approach to this with xorriso as well? Maybe we only need the eltorito.img and we can ship a prebuilt one with auroraboot already bundled with the binary? Maybe xorriso already has some built in stuff? Maybe we should deprecate BIOS booting already (it been 20 years of EFI come on) |
No description provided.