Skip to content

image: Pass the image's architecture to repart - #302

Merged
martinpitt merged 1 commit into
amutable-systems:mainfrom
daandemeyer:push-urtrpsuvkpzp
Oct 12, 2026
Merged

martinpitt merged 1 commit into
amutable-systems:mainfrom
daandemeyer:push-urtrpsuvkpzp

Conversation

@daandemeyer

Copy link
Copy Markdown
Member

repart picks the partition types of root and usr partitions for the
architecture it runs on, so an arm64 disk built on an x86_64 host gets x86-64
partition types. Pass the image's architecture to repart's --architecture.
An extension for any architecture keeps the build host's types, because
repart has no partition type for any architecture.

Signed-off-by: Daan De Meyer daan@amutable.com

repart picks the partition types of root and usr partitions for the
architecture it runs on, so an arm64 disk built on an x86_64 host gets x86-64
partition types. Pass the image's architecture to repart's --architecture.
An extension for any architecture keeps the build host's types, because
repart has no partition type for any architecture.

Signed-off-by: Daan De Meyer <daan@amutable.com>
@martinpitt
martinpitt merged commit 809edd4 into amutable-systems:main Oct 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants