[OE-core] [PATCH v2] systemd-boot:grub-efi:wic: add variable APPENDS for multiple boot configuration

Lee, Chee Yang chee.yang.lee at intel.com
Mon Aug 5 08:40:40 UTC 2019


Hi Richard,

would KERNEL_CMD_LINES a better variable name for this case?


On 8/2/19, 11:46 PM, "Richard Purdie" <richard.purdie at linuxfoundation.org> wrote:

    On Fri, 2019-08-02 at 20:33 +0800, chee.yang.lee at intel.com wrote:
    > From: Chee Yang Lee <chee.yang.lee at intel.com>
    > 
    > introduce new variable APPENDS to define multiple
    > boot configuration for systemd-boot and grub-efi.
    > 
    > APPENDS set the different in kernel option for each .conf
    > file(for systemd-boot) or menuentry(for grub-efi).
    > Include the differences in the title.
    > Separate each configuration with ";".
    > 
    > e.g.:
    > APPEND = "console=tty0 rootwait"
    > APPENDS = " i915.enable_guc=0; i915.enable_guc=2"
    > 
    > for systemd-boot, above setting will produce 2 .conf,
    > boot-1.conf and boot-2.conf which set with below title and option:
    > 
    > boot-1.conf -
    > 	title boot-1 i915.enable_guc=0
    > 	option console=tty0 rootwait i915.enable_guc=0
    > 
    > boot-2.conf -
    > 	title boot-2 i915.enable_guc=2
    > 	option console=tty0 rootwait i915.enable_guc=2
    > 
    > 
    > also update oeqa/selftest/wic testcase to fit the new variable.
    
    APPEND was a horrible choice of variable name. Lets not compound the
    problem by adding new versions of it!
    
    Cheers,
    
    Richard
    
    



More information about the Openembedded-core mailing list