heads icon indicating copy to clipboard operation
heads copied to clipboard

module/u-root: added build parameter for uroot template

Open flammit opened this issue 6 years ago • 5 comments
trafficstars

Instead of using UROOT_CMDS too specify the packages to include use UROOT_TEMPLATE=minimal or all, etc.

flammit avatar Feb 11 '19 20:02 flammit

Templates = cmds in u-root. Templates are just textual expansion, so UROOT_CMDS=minimal should work without this patch

hugelgupf avatar Feb 11 '19 20:02 hugelgupf

As per slack, right now the Heads u-root module makefile appends the full package path to each command in UROOT_CMDS:

u-root_src_cmds := $(foreach cmd,$(UROOT_CMDS),github.com/u-root/u-root/cmds/$(cmd))

so we need another option to deliver unmodified arguments to the u-root build.

flammit avatar Feb 12 '19 18:02 flammit

@hugelgupf : mergeable?

tlaurion avatar Mar 25 '19 02:03 tlaurion

@flammit ?

tlaurion avatar May 22 '20 19:05 tlaurion

@hugelgupf really unaware at this point if linuxboot can be even built on top of coreboot inside of Heads. Is it supposed to?

tlaurion avatar Jan 28 '22 01:01 tlaurion