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

Makefile: Add targets to create and validate Boot Configuration #2189

Merged
merged 1 commit into from
Jun 22, 2022

Commits on Jun 7, 2022

  1. Makefile: Add targets to create and validate Boot Configuration

    This change adds two new targets to the Makefile.  Both make use of the
    `bootconfig` tool in the latest version of the SDK.  The first new
    target, `boot-config`, gives users the ability to create a properly
    formatted Boot Configuration initrd given a valid config file.  The
    second new target `validate-boot-config`, validates the Boot
    Configuration initrd, listing its contents.  If the initrd is somehow in
    a bad format, the tool will fail and print an error.
    
    The Makefile targets expect a valid configuration file in the root of
    the Bottlerocket repo named "bootconfig-input".  The Boot Configuration
    initrd will be created in the root of the repo with the name
    "bootconfig.data", which is what Bottlerocket expects the file to be
    named when using it.
    zmrow committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    02cf4e1 View commit details
    Browse the repository at this point in the history