summaryrefslogtreecommitdiff
path: root/scripts/image-build
AgeCommit message (Collapse)Author
2024-06-05build: T6446: include support URL in the version dataDaniil Baturin
(cherry picked from commit 4112d47e33d7ae87e21a47d33a4e2e6112ccfd8f)
2024-05-24T6386: remove unused importkumvijaya
2024-05-17build-script: T3664: Allowed all options in both config file and command argszsdc
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)
2024-05-15build-script: T3664: Add flavor and architecture to image name (rework)zsdc
The previous version did not work for all flavor types. This one should be universal. (cherry picked from commit 31b720b8f100670f0e933dfbf9993a5315f5a904)
2024-05-14build-script: T3664: Added flavor name to a target file namezsdc
Mark artifacts with a flavor name for better clarity. (cherry picked from commit 5cbd14cc0f9a55e427d4bc13f036ea32da9a06aa)
2024-05-12build: T6330: fix indention of autogenerated release.pref.chrootChristian Breunig
(cherry picked from commit 81be4c7f617f2ae450397495e46a91ed15cd7d2b)
2024-05-10build: T3664: include the architecture field in version dataDaniil Baturin
(cherry picked from commit e832811c7978dffe7b40955778caa44e960f3a74)
2024-05-09Merge pull request #607 from vyos/mergify/bp/sagitta/pr-606Daniil Baturin
build: T3664: use explicit defaults argument in the dict merging function (backport #606)
2024-05-09build: T3664: include build flavor name in the version fileDaniil Baturin
(cherry picked from commit e215fad2739a38560726bdf72f6aaaa132854a38)
2024-05-09build: T3664: use explicit defaults argument in the dict merging functionDaniil Baturin
to make it clear what is merged into what (cherry picked from commit 7656acd57de16c5bd8319c52c933383ca6a5d7a6)
2024-05-08build-script: T3664: Added more options to the image formatzsdc
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)
2024-05-08build: T3664: fix architecture mix-in loadingDaniil Baturin
(cherry picked from commit e68e7fb9f59a58f8dbf5be48fd3f94260ea57ba7)
2024-05-07build: T3664: modify the module-level template pathDaniil Baturin
instead of setting an environment variable (cherry picked from commit 58fbf3a226f05d4a5673dff92875e2490fdb1d10)
2024-05-05build: T3664: fix regression and bug in clone vyos-1x repoJohn Estabrook
(cherry picked from commit 02c340d9d76ee89f47d7d6d245c5dea955a5f683)
2024-05-05build: T3664: clone vyos-1x under build dir instead of as submoduleJohn Estabrook
(cherry picked from commit a90809e213bb10aa17223687fe8a965050959869)
2024-05-05build: T3664: fail the build on external command errorsDaniil Baturin
(cherry picked from commit 7dfd9232da787a7befbc4338d4eb21fee4325174)
2024-05-05build: T3664: typo fixes and small refactoringDaniil Baturin
(cherry picked from commit f6b0809f47691a8c21718c4256d99b40c73c1564)
2024-05-05build: T3664: adjust the vyos-1x submodule path in scriptsDaniil Baturin
(cherry picked from commit ec42af75e0ab468e062add3852c80254d153c021)
2024-05-05fix path to versions fileJohn Estabrook
Signed-off-by: Daniil Baturin <daniil@vyos.io> (cherry picked from commit ed7bcbd0dbe496cee725136a86ac19f4370d482f)
2024-05-05build: T3664: add a sanity check for image_formatDaniil Baturin
and normalize it to a list if only one format is specified (cherry picked from commit 72c7c7ff99b86bb3c65b44f69e05cf40cb8367c0)
2024-05-05build: T3664: filter out non-TOML files from the build flavor dirDaniil Baturin
to avoid mistakenly listing auixilliary files like README as flavors (cherry picked from commit c07268987cb4f55a35240972e672e7d809f7ef4a)
2024-05-05Account for the working dir below the root in git invocationJohn Estabrook
Signed-off-by: Daniil Baturin <daniil@vyos.io> (cherry picked from commit 7fa66c77f19694e2cfd275785344f53518b7fb2f)
2024-05-05build: T3664: add support for building non-ISO flavorsDaniil Baturin
(cherry picked from commit a896176ad8a1e1c7ef440a31c5afcfad358ed309)
2024-05-05build scripts: T3664: move image build scripts to a dedicated directoryDaniil Baturin
to avoid a mix of image build scripts and ancilliary scripts in the same directory (cherry picked from commit 750819bfec5335566dfc48de1ab6dbbc869068a3)