fwup icon indicating copy to clipboard operation
fwup copied to clipboard

Adding single files is too tedious

Open ConnorRigby opened this issue 8 years ago • 2 comments

too add files to a partition you need to have steps like:

file-resource bootcode.bin {
    host-path = "${NERVES_SYSTEM}/images/rpi-firmware/bootcode.bin"
}

then in the each task you must:

on-resource bootcode.bin { fat_write(${BOOT_PART_OFFSET}, "bootcode.bin") }

This leads to a ton of duplicated lines. (especially when you have a part_a/part_b system)

It would be nice to just be able to specify a list of files you are concerned with

ConnorRigby avatar Jun 15 '17 19:06 ConnorRigby

Agreed

fhunleth avatar Jun 17 '17 23:06 fhunleth

so true, after looking at the duplication, i was pretty sure someone had already reported this (adding the overlay dir for rpi is a lot of work :) )

deblauwetom avatar May 10 '18 17:05 deblauwetom