]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
wic: allow imager-specific filename extensions
authorTrevor Woerner <twoerner@gmail.com>
Fri, 23 Feb 2024 00:55:27 +0000 (19:55 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Feb 2024 16:10:19 +0000 (16:10 +0000)
commitdc5a7c76761ed47e0456228956de900d806063bb
tree415a4d9d330def572081442884f6fde02f9fc7bc
parent405c5b6f04b531c968d0f8348c2dafe363011898
wic: allow imager-specific filename extensions

Currently there is only one defined imager as part of oe-core's wic
implementation: 'direct'. However, having a highly plugin-based design,
wic allows users to define their own imagers (and sources).

Therefore don't hard-code the filename extension of the imager output to
be 'direct' (i.e. the default imager). Allow the extension to follow the
name of the imager being used.

A user can specify a custom imager via the WIC_CREATE_EXTRA_ARGS variable.
If the user does not specify an imager, then 'direct' is assumed.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/image_types_wic.bbclass