[coreboot] [PATCH]Sanitize cbfs-files-y

Patrick Georgi patrick at georgi-clan.de
Sun Jan 30 17:27:15 CET 2011


Am 28.01.2011 22:02, schrieb Stefan Reinauer:
> Stuff like cmos.layout could arguably go into fallback/ or normal/.
> What's the right way to solve this with cbfs-files-y?
Use CONFIG_CBFS_PREFIX? Like:
cbfs-files-y += $(CONFIG_CBFS_PREFIX)/cmos.layout
$(CONFIG_CBFS_PREFIX)/cmos.layout-file := #and so on

> If it stays in /, what happens if an image is updated with a newer
> version of cmos.layout (say, no old options move/remove so it's safe in
> that regard). Will the file be ignored? Or Overwritten? Do we produce a
> proper warning for that? 
good question, but probably not.
updating things is still a "you better know what you're doing" operation


Patrick




More information about the coreboot mailing list