Age | Commit message (Collapse) | Author |
|
(cherry picked from commit 4112d47e33d7ae87e21a47d33a4e2e6112ccfd8f)
|
|
|
|
Moved defaults away from argparser to `defaults.py`. This unlocks the ability to
pass values that can be defined as command line arguments via a config file.
With this change logic looks like this (in order of overrides).
Pre-build config:
`data/defaults.toml` -> `build-flavors/<flavor>.toml` ->
`--<command line argument>`
Build config:
`defaults.py` -> `data/defaults.toml` -> `build-types/<type>.toml` ->
`architectures/<architecture>.toml` -> `build-flavors/<flavor>.toml` ->
`--<command line argument>`
(cherry picked from commit 8186e82024cdeee9c6fd09bdd0603f4571842f42)
|
|
The previous version did not work for all flavor types. This one should be
universal.
(cherry picked from commit 31b720b8f100670f0e933dfbf9993a5315f5a904)
|
|
Mark artifacts with a flavor name for better clarity.
(cherry picked from commit 5cbd14cc0f9a55e427d4bc13f036ea32da9a06aa)
|
|
(cherry picked from commit 81be4c7f617f2ae450397495e46a91ed15cd7d2b)
|
|
(cherry picked from commit e832811c7978dffe7b40955778caa44e960f3a74)
|
|
build: T3664: use explicit defaults argument in the dict merging function (backport #606)
|
|
(cherry picked from commit e215fad2739a38560726bdf72f6aaaa132854a38)
|
|
to make it clear what is merged into what
(cherry picked from commit 7656acd57de16c5bd8319c52c933383ca6a5d7a6)
|
|
Added two new options:
- `image_ext`. Can be used if the file extension needs to be different than
the image format
- `image_opts`. Required if a target format needs extra options.
(cherry picked from commit d144519a53d0b9c696159a51906685db88d5d9ed)
|
|
(cherry picked from commit e68e7fb9f59a58f8dbf5be48fd3f94260ea57ba7)
|
|
instead of setting an environment variable
(cherry picked from commit 58fbf3a226f05d4a5673dff92875e2490fdb1d10)
|
|
(cherry picked from commit 02c340d9d76ee89f47d7d6d245c5dea955a5f683)
|
|
(cherry picked from commit a90809e213bb10aa17223687fe8a965050959869)
|
|
(cherry picked from commit 7dfd9232da787a7befbc4338d4eb21fee4325174)
|
|
(cherry picked from commit f6b0809f47691a8c21718c4256d99b40c73c1564)
|
|
(cherry picked from commit ec42af75e0ab468e062add3852c80254d153c021)
|
|
Signed-off-by: Daniil Baturin <daniil@vyos.io>
(cherry picked from commit ed7bcbd0dbe496cee725136a86ac19f4370d482f)
|
|
and normalize it to a list if only one format is specified
(cherry picked from commit 72c7c7ff99b86bb3c65b44f69e05cf40cb8367c0)
|
|
to avoid mistakenly listing auixilliary files like README
as flavors
(cherry picked from commit c07268987cb4f55a35240972e672e7d809f7ef4a)
|
|
Signed-off-by: Daniil Baturin <daniil@vyos.io>
(cherry picked from commit 7fa66c77f19694e2cfd275785344f53518b7fb2f)
|
|
(cherry picked from commit a896176ad8a1e1c7ef440a31c5afcfad358ed309)
|
|
to avoid a mix of image build scripts and ancilliary scripts in the same directory
(cherry picked from commit 750819bfec5335566dfc48de1ab6dbbc869068a3)
|