-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
refactoring --vmefi
--arch arm64
#258
Comments
Also the grub installation need refactoring. Not sure I should discuss this here or in a separate issue.
These inconsistencies should be fixed. What should it be? Options:
A) has the advantage that it simplifies grml-debootstrap's code but more messy with lots of files, one per architecture. Then we should think about a shared packages file supplemented by architecture specific packages files. After #255 was merged, I'll attempt to send a PR but I need your on guidance on how a PR would need to look like. |
...runs before any package installation. That code only comes later below in the same function.
High mental load. I would like to simplify that.
|
@adrelanos I fully agree that we should refactor this, to unify and simplify behavior as much as possible while keeping code minimal and simple as well. I'll try to take care of #255 so you're not blocked by that :) |
The following code should be refactored, simplified.
Maybe the VMEFI and ARM64 code paths could be merged.
EFI
andESP
are currently labels.1MiB 101MiB
(or the larger sizes discussed in--vmefi
too small size of ESP partition / grub partition? / make size of ESP configurable (EFI) #221)'mkpart bios_grub 101MiB 102MiB'
and'set 2 bios_grub on'
also for--arm64
if that works. Not sure if there are any ARM64 legacy BIOS booting systems,but all of these changes are for code simplification purposes so this code and related code that comes later can be simplified.
Also maybe the grub installation code can be refactored but perhaps that can be discussed separately.
Why? This would fix or simplify the following issues:
--vmefi
with--arch arm64
#257--vmefi
too small size of ESP partition / grub partition? / make size of ESP configurable (EFI) #221The text was updated successfully, but these errors were encountered: