Feature #25215
Support for Debian on aarch64 aka arm64
Description
Version 8 of Arm architecture defined 64-bit execution state called AArch64. RedHat-based distributions (and GNU tools) use "aarch64" name for it, but Debian went (as Linux kernel) with "arm64" string. This introduced the same "schism" as happened with "x86_64" and "arm64" and has to be handled by Debian-related routines.
I propose the simplest solution for the problem, adding string substitution similar to what happens for x86_64 in relevant places. I've grepped the whole core for amd64, but if I missed anything or used wrong coding practice, I'll be more than happy to address any feedback.
Associated revisions
Fixes #25215 - Support for Debian on aarch64 aka arm64
Version 8 of Arm architecture defined 64-bit execution state called
AArch64. RedHat-based distributions (and GNU tools) use "aarch64" name
for it, but Debian went (as Linux kernel) with "arm64" string. This
introduced the same "schism" as happened with "x86_64" and "arm64"
and has to be handled by Debian-related routines.
This change adds handling of the arm64 case in media URL generation
patch, transforming the "arch" variable strings from "aarch64" to
"arm64" and reverses the operation for facts parsing.
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
History
#1
Updated by The Foreman Bot 4 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6146 added
#2
Updated by Lukas Zapletal 4 months ago
- Triaged changed from No to Yes
- Category set to Inventory
#3
Updated by Tomer Brisker 4 months ago
- Fixed in Releases 1.20.0 added
#4
Updated by Pawel Moll 4 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset 05e500589396a049c44dbe79d249f7620dff585c.
Fixes #25215 - Use normal string substitution for arch strings
There's no need to use global substitution for variables transformation
when preparing media (boot file) URLs. Therefore replace all gsub-s
(leftovers from old approaches to the problem) with normal subs.
Requested-by: Lukas Zapletal
Signed-off-by: Pawel Moll <pawel.moll@arm.com>