-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: aarch64-linux support for AutoFirma (#108)
- Add aarch64-linux AutoFirma package and checks to the flake. - Add support to AutoFirma to load NSS in aarch64-linux with a patch until ctt-gob-es/clienteafirma#435 gets merged upstream
- Loading branch information
1 parent
0017e7e
commit 9eae74b
Showing
3 changed files
with
47 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/afirma-keystores-mozilla/src/main/java/es/gob/afirma/keystores/mozilla/bintutil/ElfParser.java b/afirma-keystores-mozilla/src/main/java/es/gob/afirma/keystores/mozilla/bintutil/ElfParser.java | ||
index ae1f04d97..897b662d9 100644 | ||
--- a/afirma-keystores-mozilla/src/main/java/es/gob/afirma/keystores/mozilla/bintutil/ElfParser.java | ||
+++ b/afirma-keystores-mozilla/src/main/java/es/gob/afirma/keystores/mozilla/bintutil/ElfParser.java | ||
@@ -139,8 +139,10 @@ public final class ElfParser { | ||
return false; | ||
} | ||
return "64".equals(Platform.getJavaArch()) && //$NON-NLS-1$ | ||
- Platform.MACHINE.AMD64.equals(Platform.getMachineType()) && | ||
+ (Platform.MACHINE.AMD64.equals(Platform.getMachineType()) && | ||
ElfMachineType.AMD64.equals(a) || | ||
+ Platform.MACHINE.ARM64.equals(Platform.getMachineType()) && | ||
+ ElfMachineType.ARM64.equals(a)) || | ||
"32".equals(Platform.getJavaArch()) && //$NON-NLS-1$ | ||
(Platform.MACHINE.X86.equals(Platform.getMachineType()) || Platform.MACHINE.AMD64.equals(Platform.getMachineType())) && // 32 puede estar en maquina de 32 o de 64 bits | ||
ElfMachineType.X86.equals(a); |