From 3744e909df78cefebb083e401f6f6378f27d1b1a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 19 Dec 2019 16:57:02 -0600 Subject: devel: Add specification for 'arch' key --- devel/script/2_keys.xml | 56 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'devel/script') diff --git a/devel/script/2_keys.xml b/devel/script/2_keys.xml index 8d103d4..7336aa9 100644 --- a/devel/script/2_keys.xml +++ b/devel/script/2_keys.xml @@ -141,6 +141,62 @@ rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59
Optional Keys Each key specified in this section may be present in a HorizonScript. This section additionally defines the default value or action taken if the specified key is not present. +
+ <literal>arch</literal> + + Name + arch + + + Purpose + The arch key determines the CPU architecture of the target computer. The value of this key will be written to the /etc/apk/arch file in the target computer, which influences what packages are installed. + + + Format + + The arch key is a single string value that specifies a valid, APK-recognised CPU architecture. Currently recongised architectures for the Horizon 1.0 release include: + + aarch64 (64-bit little-endian ARMv8) + aarch64_be (64-bit big-endian ARMv8) + alpha (64-bit DEC Alpha) + armel (32-bit ARMv5 or newer) + armhf (32-bit ARM with hardware VFP) + armv7 (32-bit ARMv7) + m68k (32-bit Motorola 68020 or newer) + mips (32-bit big-endian MIPS, MIPS III or newer) + mips64 (64-bit big-endian MIPS, MIPS III or newer) + mipsel (32-bit little-endian MIPS, MIPS III or newer) + mips64el (64-bit little-endian MIPS, MIPS III or newer) + pmmx (32-bit x86 with MMX extensions) + ppc (32-bit PowerPC) + ppc64 (64-bit big-endian POWER/PowerPC with AltiVec/VMX Extensions) + riscv (32-bit RISC-V) + riscv64 (64-bit RISC-V) + s390x (64-bit IBM System/390) + sparc (32-bit SPARC) + sparc64 (64-bit SPARCv9 or newer) + x86 (32-bit x86, 486-class or newer) + x86_64 (64-bit x86) + + WarningNot all of the architectures listed here are supported by Adélie Linux at this time. + + + + Default + If the arch key is not present, the packages installed to the target will be the same CPU architecture as the system that executes the HorizonScript. Typically, this is the intended behaviour and the arch key will not need to be specified. However, if the HorizonScript will be executed on a different computer than the target — for example, if the target is an embedded system or single-board computer that is not capable of running the Horizon system — this key can be used to install packages compatible with the target. + + + Example + + + The <literal>arch</literal> Key + +arch ppc + + This sets the CPU architecture of the target computer to 32-bit PowerPC. + + +
<literal>language</literal> -- cgit v1.2.3-70-g09d2