fwupd/data/tests/builder/meson.build
Richard Hughes 41cbe2aab3 Add a firmware builder
This runs a script inside the firmware archive to generate firmware specific to
the machine. This uses bubblewrap to protect the local machine.
2017-08-09 10:33:39 +01:00

15 lines
335 B
Meson

if get_option('enable-tests')
tar = find_program('tar')
builder_test_firmware = custom_target('builder-test-firmware',
input : [
'source.bin',
'startup.sh',
],
output : 'firmware.tar',
command : [
tar, '--xform', 's,.*/,,',
'--create', '--file', '@OUTPUT@', '@INPUT@',
],
)
endif