index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-08-08 09:13:01 +0200 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2014-08-08 13:37:30 -0300 |
commit | 5a8a8c7b104ee4acf0533bda469c56b45db2afc3 (patch) | |
tree | e754486a0ade29d779ed1dc54cfd1813c457d0cd | |
parent | 01773d2b86d9c6cb10d642c854143ef2dcc70bfc (diff) |
-rw-r--r-- | archiso/initcpio/hooks/archiso | 2 | ||||
-rw-r--r-- | docs/README.bootparams | 3 |
diff --git a/archiso/initcpio/hooks/archiso b/archiso/initcpio/hooks/archiso index 26bdedc..4c50566 100644 --- a/archiso/initcpio/hooks/archiso +++ b/archiso/initcpio/hooks/archiso @@ -101,7 +101,7 @@ _verify_checksum() { } run_hook() { - arch="$(uname -m)" + [[ -z "${arch}" ]] && arch="$(uname -m)" [[ -z "${cowspace_size}" ]] && cowspace_size="75%" [[ -z "${copytoram_size}" ]] && copytoram_size="75%" [[ -z "${archisobasedir}" ]] && archisobasedir="arch" diff --git a/docs/README.bootparams b/docs/README.bootparams index caee0c2..08198cb 100644 --- a/docs/README.bootparams +++ b/docs/README.bootparams @@ -57,6 +57,9 @@ INDEX Default: "75%" * dm_snap_prefix= Set a prefix for device-mapper snapshot node names. Default: "arch" +* arch= Force an architecture type (i686 | x86_64). + Do not set it for normal operations. + Default: (architecture of running kernel) ** hooks/archiso_pxe_common |