Skip to content

Commit a800196

Browse files
ericonrflexibeast
authored andcommitted
arm-devices/index: tidy up, fix chroot section.
- The chroot section mentioned ROOTFS images, even though they aren't used for any part of a XBPS installation. For a chroot install with ROOTFS, following that page directly is the best course of action. - Mention the appropriate qemu-<>-static commands for each arch. - Clean up some style issues, use "Supported Platforms" instead of "Supported platforms".
1 parent 23dfe11 commit a800196

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

src/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- [Installation via chroot (x86/x86_64)](./installation/guides/chroot.md)
1414
- [Full Disk Encryption](./installation/guides/fde.md)
1515
- [ARM Devices](./installation/guides/arm-devices/index.md)
16-
- [Supported platforms](./installation/guides/arm-devices/platforms.md)
16+
- [Supported Platforms](./installation/guides/arm-devices/platforms.md)
1717
- [musl](./installation/musl.md)
1818
- [Configuration](./config/index.md)
1919
- [Manual Pages](./config/man.md)

src/installation/guides/arm-devices/index.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on such devices can be done in several ways:
88
partition layout, and require manual expansion if you wish to increase the
99
size of the partitions;
1010
- [Tarball installation](#tarball-installation): PLATFORMFS and ROOTFS tarballs
11-
that can be extracted to a previously prepared partition scheme;
11+
that can be extracted to a previously prepared partition scheme; and
1212
- [Chroot installation](#chroot-installation): follows most of the steps
1313
outlined in [the chroot guide](../chroot.md).
1414

@@ -88,25 +88,26 @@ using [tar(1)](https://man.voidlinux.org/tar.1):
8888

8989
#### Chroot installation
9090

91-
It is also possible to perform a chroot installation, which requires using the
91+
It is also possible to perform a chroot installation, which can require the
9292
`qemu-user-static` package together with either the `binfmt-support` or `proot`
93-
package. This guide explains how to use the `qemu-<platform>-static` program
94-
from `qemu-user-static` with [proot(1)](https://man.voidlinux.org/proot.1).
93+
package if a computer with an incompatible architecture (such as i686) is being
94+
used. This guide explains how to use the `qemu-<platform>-static` program from
95+
`qemu-user-static` with [proot(1)](https://man.voidlinux.org/proot.1).
9596

96-
First, [download and verify](../../index.md#downloading-installation-media) a
97-
PLATFORMFS or ROOTFS tarball for your desired platform and [prepare your storage
98-
medium](#preparing-your-storage). Then, follow the [XBPS chroot installation
99-
steps](../chroot.md#the-xbps-method) using the appropriate architecture and base
100-
packages, some of which are listed in the "[Supported
101-
platforms](./platforms.md)" section.
97+
First, [prepare your storage medium](#preparing-your-storage). Then, follow
98+
either the [XBPS chroot installation](../chroot.md#the-xbps-method) or the
99+
[ROOTFS chroot installation](../chroot.md#the-rootfs-method) steps, using the
100+
appropriate architecture and base packages, some of which are listed in the
101+
"[Supported Platforms](./platforms.md)" section.
102102

103103
Finally, follow the [chroot configuration steps](../chroot.md#configuration)
104104
steps, but instead of using the [chroot(1)](https://man.voidlinux.org/chroot.1)
105105
command to [enter the chroot](../chroot.md#entering-the-chroot), use the
106-
following command:
106+
following command, replacing `<platform>` with `arm` for armv6l and armv7l
107+
devices, and with `aarch64` for aarch64 devices:
107108

108109
```
109-
# proot -q qemu-arm-static -r /mnt -w /
110+
# proot -q qemu-<platform>-static -r /mnt -w /
110111
```
111112

112113
## Configuration

src/installation/guides/arm-devices/platforms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Supported platforms
1+
# Supported Platforms
22

33
## Raspberry Pi
44

0 commit comments

Comments
 (0)