[PATCH v2] blspec: add checking of optional key machine-id

Sascha Hauer s.hauer at pengutronix.de
Mon May 7 23:13:49 PDT 2018


On Wed, May 02, 2018 at 03:23:56PM +0200, Andreas Schmidt wrote:
> For filtering of Bootloader Spec entries, Bootloader Spec
> specify an optional key machine-id. By set the
> global.boot.machine-id variable the checking of machine-id
> key in Bootloader Spec entries will be activate. If the
> variable and key match, appropriate boot entry will be
> booting. If it not match boot entry will be ignore and
> barebox check the next boot entry.
> 
> Signed-off-by: Andreas Schmidt <mail at schmidt-andreas.de>
> ---

As mentioned, machine-id is not for filtering out different bootloader
spec entries for the same OS, but for selecting a particular OS if
different ones are installed. So this patch has a valid usecase, it's
just not the one Andreas made this patch for.

Because it's a valid patch: Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list