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

[action] [PR:3433] sonic-installer: enhance next image detection for Aboot (#3433) #3541

Merged
merged 1 commit into from
Sep 11, 2024

Commits on Sep 11, 2024

  1. sonic-installer: enhance next image detection for Aboot (sonic-net#3433)

    The Aboot bootloader relies of the SWI= keyword argument in the
    boot-config file to know which image to boot.
    This value is also used by sonic-installer to figure to extract the next
    image that will be executed.
    The current code has an issue as it only expects the next image to match
    the installation path of a SONiC image but not anything else.
    
    This means that `SWI=flash:sonic-aboot-broadcom.swi` is not valid and
    can therefore be a problem when trying to install a new image via cold
    reboot.
    
    Additionally a missing or empty boot-config would generate a python
    backtrace instead of gracefully recovering from this state.
    Staphylo authored and mssonicbld committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    e9a6b96 View commit details
    Browse the repository at this point in the history