summaryrefslogtreecommitdiff
path: root/scripts/image-build/build-vyos-image
AgeCommit message (Collapse)Author
2025-01-05T7019: use VyOS release train in /etc/os-release codename over Debian releaseChristian Breunig
VyOS is based on Debian * VyOS 1.3 -> Debian Buster (VyOS equuleus) * VyOS 1.4 -> Debian Bookworm (VyOS sagitta) * VyOS 1.5 -> Debian Bookworm (and then trixie) (VyOS circinus) * VyOS rolling -> Debian Bookworm (and then trixie) (VyOS t.b.d.) When running vyos@vyos:~$ lsb_release -a Distributor ID: VyOS Description: VyOS 1.5-rolling-202501031241 (current) Release: 1.5-rolling-202501031241 Codename: bookworm The codename in use is the Debian base distribution. This should be changed to the VyOS release name.
2024-11-30Merge pull request #849 from dmbaturin/T6923-deb-security-urlsChristian Breunig
build: T6923: use the Debian mirror for security updates if it's specified explicitly
2024-11-29build: T6922: add an option to specify bootloaders for the imageDaniil Baturin
2024-11-29build: T6923: use the Debian mirror for security updates if it's specified ↵Daniil Baturin
explicitly but the security mirror is not
2024-11-21Merge pull request #842 from dmbaturin/T6904-dev-build-versionsJohn Estabrook
build: T6904: allow development builds to have version strings
2024-11-20build: T6904: allow development builds to have version stringsDaniil Baturin
2024-11-20build: T6903: allow passing vyos-1x repo path in an environment variableDaniil Baturin
2024-11-06build: T6855: make the custom APT entry and key syntax more flexibleDaniil Baturin
2024-10-07T3303: fix location of os-release fileChristian Breunig
2024-09-30Merge pull request #773 from dmbaturin/T6738-build-type-fieldChristian Breunig
build: T6738: add build_type field to version data instead of the very limited and unused lts_build
2024-09-25build: T6738: add build_type field to version dataDaniil Baturin
instead of the very limited and unused lts_build
2024-09-22T861: VyOS image build should use UTC timestampsChristian Breunig
2024-09-20build: T3664: add an option to specify artifact extensionsDaniil Baturin
so that the manifest only contains files considered build artifacts, and those artifacts can be automatically picked up by CI jobs and the like
2024-09-18build: T3664: improve support for custom build hooksDaniil Baturin
2024-09-17build: T6653: fix a manifest generation error when using --reuse-isoDaniil Baturin
2024-09-14T861: add UEFI Secure Boot supportChristian Breunig
This adds support for UEFI Secure Boot. It adds the missing pieces to the Linux Kernel and enforces module signing. This results in an additional security layer where untrusted (unsigned) Kernel modules can no longer be loaded into the live system. NOTE: This commit will not work unless signing keys are present. Arbitrary keys can be generated using instructions found in: data/live-build-config/includes.chroot/var/lib/shim-signed/mok/README.md
2024-09-05build: T3664: remove unused psutil dependencyChristian Breunig
2024-08-19build: T6653: add build/manifest.json fileChristian Breunig
2024-06-05build: T6446: include support URL in the version dataDaniil Baturin
2024-05-15build-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>`
2024-05-14build-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.
2024-05-14build-script: T3664: Added flavor name to a target file namezsdc
Mark artifacts with a flavor name for better clarity.
2024-05-12build: T6330: fix indention of autogenerated release.pref.chrootChristian Breunig
2024-05-10Merge pull request #609 from dmbaturin/T3664-architectureChristian Breunig
build: T3664: include the architecture field in version data
2024-05-09build: T3664: include the architecture field in version dataDaniil Baturin
2024-05-09Merge pull request #605 from dmbaturin/T3664-flavor-fieldChristian Breunig
build: T3664: include build flavor name in the version file
2024-05-09build: T3664: use explicit defaults argument in the dict merging functionDaniil Baturin
to make it clear what is merged into what
2024-05-08build: T3664: include build flavor name in the version fileDaniil Baturin
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.
2024-05-08build: T3664: fix architecture mix-in loadingT3664-mixin-pathDaniil Baturin
2024-05-03build: T3664: fix regression and bug in clone vyos-1x repoJohn Estabrook
2024-05-02build: T3664: clone vyos-1x under build dir instead of as submoduleJohn Estabrook
2024-04-29build: T3664: fail the build on external command errorsDaniil Baturin
2024-04-25build: T3664: typo fixes and small refactoringDaniil Baturin
2024-04-22build: T3664: adjust the vyos-1x submodule path in scriptsDaniil Baturin
2024-04-20Merge pull request #550 from dmbaturin/T3664-raw-flavorsChristian Breunig
build: T3664: add support for building non-ISO flavors
2024-04-15build: T3664: initialize git vyos-1x submodule before importsJohn Estabrook
Signed-off-by: Daniil Baturin <daniil@vyos.io>
2024-04-14fix path to versions fileJohn Estabrook
Signed-off-by: Daniil Baturin <daniil@vyos.io>
2024-04-13build: T3664: add a sanity check for image_formatDaniil Baturin
and normalize it to a list if only one format is specified
2024-04-13build: T3664: filter out non-TOML files from the build flavor dirDaniil Baturin
to avoid mistakenly listing auixilliary files like README as flavors
2024-04-13Account for the working dir below the root in git invocationJohn Estabrook
Signed-off-by: Daniil Baturin <daniil@vyos.io>
2024-04-13T6173: fix TypeError: 'NoneType' object is not iterableChristian Breunig
Commit 611cfc85c531 ("T6173: validate allowed characters in ISO image name") missed the probability that version is a dict member bot empty.
2024-04-10build: T3664: add support for building non-ISO flavorsDaniil Baturin
2024-04-08T6173: validate allowed characters in ISO image nameChristian Breunig
Building custom VyOS version: 1.5-asdf%-202404081841 I: Checking if packages required for VyOS image build are installed Version contained illegal character(s), allowed: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+
2024-03-23build 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