Project

General

Profile

Feature #25215

Support for Debian on aarch64 aka arm64

Added by Pawel Moll 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inventory
Target version:
-
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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

Revision 05e50058 (diff)
Added by Pawel Moll about 2 months ago

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 <>

Revision 0f31f354 (diff)
Added by Pawel Moll about 2 months ago

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 <>

History

#1 Updated by The Foreman Bot 2 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 2 months ago

  • Triaged changed from No to Yes
  • Category set to Inventory

#3 Updated by Tomer Brisker about 2 months ago

  • Fixed in Releases 1.20.0 added

#4 Updated by Pawel Moll about 2 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF