On Sun, 2018-04-29 at 18:01 +0200, Andreas Schmidt wrote: > I guess, for such an use case Bootloader Spec specify "machine-id" > key. This patch implement the support for machine-id key.
The way I read https://www.freedesktop.org/wiki/Specifications/BootLoad erSpec/ is that the "machine-id" field should contain the ID from /etc/machine-id, which is basically a UUID: "machine-id shall contain the machine ID of the OS /etc/machine-id. This is useful for boot loaders and applications to filter out boot entries, for example to show only a single newest kernel per OS, or to group items by OS, or to maybe filter out the currently booted OS in UIs that want to show only other installed operating systems." Your use-case sound like you'd need a way to add a more specific DT board compatible at runtime. Then the existing selection logic would handle your case as well. Regards, Jan -- 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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox