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

[sonic_installer] Refactor sonic_installer code #953

Merged

Commits on Jun 24, 2020

  1. [sonic_installer] Refactor sonic_installer code

    Add a new Bootloader abstraction.
    This makes it easier to add bootloader specific behavior while keeping
    the main logic identical.
    It is also a step that will ease the introduction of secureboot which
    relies on bootloader specific behaviors.
    
    Shuffle code around to get rid of the hacky if/else all over the place.
    There are now 3 bootloader classes
     - AbootBootloader
     - GrubBootloader
     - UbootBootloader
    
    There was almost no logic change in any of the implementations.
    Only the AbootBootloader saw some small improvements.
    More will follow in subsequent changes.
    Staphylo committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    16b5195 View commit details
    Browse the repository at this point in the history