Skip to content

Disk builder support for arbitrary files #321

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

Closed
jasoncouture opened this issue Jan 9, 2023 · 0 comments · Fixed by #320
Closed

Disk builder support for arbitrary files #321

jasoncouture opened this issue Jan 9, 2023 · 0 comments · Fixed by #320

Comments

@jasoncouture
Copy link
Contributor

The disk builders should support the addition of arbitrary files

This is useful for a number of reasons:

  1. Smaller OSes may want a single disk, and may be ok with FAT
  2. Microkernels may want to load additional services at boot
  3. Bootloader file based configuration
  4. Ramdisk support
  5. Bootloader support for loading arbirary files

Adding all of these files to the same implementation will be cumbersome, due to duplicate of code, so I propose the following:

  1. Get rid of UefiBoot and BiosBoot, and replace them with a common builder that has functions for UEFI, BIOS, and TFTP
  2. Rather than treating the kernel as a special case, use a BTreeMap on the new implementation to track source/destination

The proposed changes can be found in #320

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