index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | 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 | 314a74f4c6c50b2f1c26a35fffed7738d3245da5 (patch) | |
tree | 6d7a0ab66670236f7d33756b36c178fe95594112 | |
parent | cff5402061c0a012a997898286e811ea187a9d0c (diff) |
-rw-r--r-- | docs/README.bootparams | 3 | ||||
-rw-r--r-- | hooks/archiso | 2 |
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 diff --git a/hooks/archiso b/hooks/archiso index 26bdedc..4c50566 100644 --- a/hooks/archiso +++ b/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" |