debian-forge-cli/cmd/image-builder
Michael Vogt 2996bbc0d1 image-builder: fix cross-arch uploading
This commit fixes the cross-arch uploading in the most simple
case by reading the `--arch` when `image-builder build --upload`
is used. Note that this is not a complete fix as it will not
take boot mode into account nor will it (by default) DTRT when
`image-builder upload` is used on a previously build images
for a different architecture.

Thanks to `FrostyX` for reporting the issue.
2025-06-07 12:29:18 +00:00
..
build.go import: refer to pkg 2025-03-31 19:42:59 +00:00
describeimg.go main: add base partition table to describe-image 2025-04-03 17:25:16 +00: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 --registrations options 2025-04-17 13:17:24 +00:00
filters.go main: rename list-images to list 2025-04-08 07:34:20 +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 image-builder: fix cross-arch uploading 2025-06-07 12:29:18 +00:00
main_test.go test/main: update types used 2025-05-28 08:19:05 +00:00
manifest.go manifest: use Sync instead of Close 2025-04-24 06:18:10 +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 image-builder: fix cross-arch uploading 2025-06-07 12:29:18 +00:00
upload_test.go image-builder: fix cross-arch uploading 2025-06-07 12:29:18 +00:00