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

[merged] Introducing ostree-grub-generator #228

Closed

Commits on Apr 4, 2016

  1. Introducing ostree-grub-generator

    ostree-grub-generator can be used to customize
    the generated grub.cfg file. Compile time
    decision ostree-grub-generator vs grub2-mkconfig
    can be overwritten with the OSTREE_GRUB2_EXEC
    envvar - useful for auto tests and OS installers.
    
    Why this alternative approach:
    
    1) The current approach is less flexible than using a
       custom 'ostree-grub-generator' script. Each system can
       adjust this script for its needs, instead of using the
       hardcoded values from ostree-bootloader-grub2.c.
    
    2) Too much overhead on embedded to generate grub.cfg
       via /etc/grub.d/ configuration files. It is still
       possible to do so, even with this patch applied.
       No need to install grub2 package on a target device.
    
    3) The grub2-mkconfig code path has other issues:
       https://bugzilla.gnome.org/show_bug.cgi?id=761180
    
    Task: https://bugzilla.gnome.org/show_bug.cgi?id=762220
    Gatis Paeglis committed Apr 4, 2016
    Configuration menu
    Copy the full SHA
    29c088e View commit details
    Browse the repository at this point in the history