Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Debian's "i386" port #324

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Drop support for Debian's "i386" port #324

wants to merge 1 commit into from

Conversation

zeha
Copy link
Member

@zeha zeha commented Feb 25, 2025

Debian stops supporting the "i386" port with trixie, and we have not been testing it for a very long time. Also simplifies some code here.

Closes: #321

@zeha zeha self-assigned this Feb 25, 2025
@zeha
Copy link
Member Author

zeha commented Feb 25, 2025

Lets see what CI says, as I have a bit of a hard time testing it locally.

Debian stops supporting the "i386" port with trixie, and we have not
been testing it for a very long time. Also simplifies some code here.

Closes: #321
Copy link
Member

@mika mika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(FTR, not sure this should be merged before or after #299)

@@ -102,7 +102,7 @@ Bootstrap options:
--nodebootstrap Skip debootstrap, only do configuration to the target.
--grub <device> Target for grub installation. Usage example: /dev/sda
--efi <device> Target for EFI installation. Usage example: /dev/sda1
--arch <arch> Set target architecture, use for installing i386 on amd64.
--arch <arch> Set target architecture.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this useful at all anymore now that we're dropping i386 support? As in, can we deploy arm64 on amd64 or vice-versa? 🤔

Copy link

@ArrayBolt3 ArrayBolt3 Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arm64 can indeed be deployed on amd64 if you have the right qemu-user binaries installed (I think qemu-user-static is the right package for that). I've done so multiple times when testing #299. I wouldn't be surprised if amd64 could be deployed from arm64, though I haven't tested that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't want to drop it now, but I imagine it doesnt work very well at the moment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me it works transparently - building an arm64 image on my Intel-based system is exactly as easy as building an amd64 image, the only differences are you have to have the right qemu package installed, and of course it's quite a bit slower to build. Otherwise, it just works.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh very nice, then let's not restrict this further but keep it as is. Thanks for info, @ArrayBolt3 👍

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.

Drop i386 support
4 participants