debian-forge-cli/cmd/image-builder
Michael Vogt fe713a0995 main: tweak how ibcli determines if bootstraping is needed
This simplifies the way that ibcli determines if the manifest
needs a bootstrap stage or not. The logic is simple:
- when doing `image-builder manifest` we never include one
- when doing `image-builder build --arch` we add one if the
  target arch and host arch differ

Instead of passing a callback this is now just a simple bool
option. Thanks to Achilleas for suggesting this.

Co-Authored-by: Achilleas Koutsou <achilleas@koutsou.net>
2025-03-27 08:42:49 +00:00
..
build.go ibcli: add new --output-name flag 2025-03-14 14:47:36 +00:00
describeimg.go describeimg: typo in describe output 2025-02-06 20:00:49 +01:00
describeimg_test.go main: add new --extra-repo flag 2025-02-12 12:57:21 +01:00
distro.go image-builder: newline in error message 2025-01-20 06:55:24 +00:00
distro_test.go image-builder: newline in error message 2025-01-20 06:55:24 +00:00
export_test.go main: add new --extra-repo flag 2025-02-12 12:57:21 +01:00
filters.go main: add --force-repo flag 2025-02-13 11:31:06 +00:00
filters_test.go main: add new --extra-repo flag 2025-02-12 12:57:21 +01:00
list.go main: add new --extra-repo flag 2025-02-12 12:57:21 +01:00
main.go main: tweak how ibcli determines if bootstraping is needed 2025-03-27 08:42:49 +00:00
main_test.go main: auto-cross build for foreign architectures 2025-03-25 11:58:24 +00:00
manifest.go main: auto-cross build for foreign architectures 2025-03-25 11:58:24 +00:00
repos.go main: add --force-repo flag 2025-02-13 11:31:06 +00:00
repos_test.go main: add --force-repo flag 2025-02-13 11:31:06 +00:00
upload.go main: simplify upload error handling 2025-02-18 09:49:16 +00:00
upload_test.go ibcli: add new --output-name flag 2025-03-14 14:47:36 +00:00