File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,17 +107,20 @@ does not need to be the same. If your host is running an x86_64 operating
107107system, any of the three architectures can be installed (whether the host is
108108musl or glibc), but an i686 host can only install i686 distributions.
109109
110+ Copy the RSA keys from the installation medium to the target root directory:
111+
112+ ```
113+ # mkdir -p /mnt/var/db/xbps/keys
114+ # cp /var/db/xbps/keys/* /mnt/var/db/xbps/keys/
115+ ```
116+
110117Use [ xbps-install(1)] ( https://man.voidlinux.org/xbps-install.1 ) to bootstrap the
111118installation by installing the ` base-system ` metapackage:
112119
113120```
114121# XBPS_ARCH=$ARCH xbps-install -S -r /mnt -R "$REPO" base-system
115122```
116123
117- ` xbps-install ` might ask you to [ verify the RSA
118- keys] ( ../../xbps/troubleshooting/common-issues.md#verifying-rsa-keys ) for the
119- packages you are installing.
120-
121124### The ROOTFS Method
122125
123126[ Download a ROOTFS
Original file line number Diff line number Diff line change @@ -129,22 +129,22 @@ On a UEFI system, the EFI system partition also needs to be mounted.
129129# mount /dev/sda1 /mnt/boot/efi
130130```
131131
132+ Copy the RSA keys from the installation medium to the target root directory:
133+
134+ ```
135+ # mkdir -p /mnt/var/db/xbps/keys
136+ # cp /var/db/xbps/keys/* /mnt/var/db/xbps/keys/
137+ ```
138+
132139Before we enter the chroot to finish up configuration, we do the actual install.
133140Do not forget to use the [ appropriate repository
134141URL] ( ../../xbps/repositories/index.md#the-main-repository ) for the type of
135142system you wish to install.
136143
137- ` xbps-install ` might ask you to [ verify the RSA
138- keys] ( ../../xbps/troubleshooting/common-issues.md#verifying-rsa-keys ) for the
139- packages you are installing.
140-
141144```
142145# xbps-install -Sy -R https://alpha.de.repo.voidlinux.org/current -r /mnt base-system lvm2 cryptsetup grub
143146[*] Updating `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ...
144147x86_64-repodata: 1661KB [avg rate: 2257KB/s]
145- `https://alpha.de.repo.voidlinux.org/current' repository has been RSA signed by "Void Linux"
146- Fingerprint: 60:ae:0c:d6:f0:95:17:80:bc:93:46:7a:89:af:a3:2d
147- Do you want to import this public key? [Y/n] y
148148130 packages will be downloaded:
149149...
150150```
Original file line number Diff line number Diff line change 22
33## Verifying RSA keys
44
5- If you are installing Void for the first time or the Void RSA key has changed,
6- [ xbps-install(1)] ( https://man.voidlinux.org/xbps-install.1 ) might report:
5+ If the Void RSA key has changed,
6+ [ xbps-install(1)] ( https://man.voidlinux.org/xbps-install.1 ) will report the new
7+ key fingerprint and ask you to confirm it:
78
89```
9- <repository> repository has been RSA signed by <rsa_fingerprint>
10+ <repository> repository has been RSA signed by "Void Linux"
11+ Fingerprint: <rsa_fingerprint>
12+ Do you want to import this public key? [Y/n]
1013```
1114
12- To verify the signature , ensure the ` <rsa_fingerprint> ` matches one of the
15+ To verify the key , ensure the ` <rsa_fingerprint> ` matches one of the
1316fingerprints in both
1417[ void-packages] ( https://github.com/void-linux/void-packages/tree/master/common/repo-keys )
1518and [ void-mklive] ( https://github.com/void-linux/void-mklive/tree/master/keys ) .
You can’t perform that action at this time.
0 commit comments