Skip to content

Commit

Permalink
config/containers-and-vms/chroot: base-voidstrap -> base-container
Browse files Browse the repository at this point in the history
switch from recommending the larger to smaller base package because this
documentation is designed for chroots that are used as containers, not
as a stepping-off point for actual systems.
  • Loading branch information
classabbyamp committed Dec 2, 2023
1 parent 2397570 commit 40378a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config/containers-and-vms/chroot.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ used to create the chroot:

```
# mkdir <chroot_dir>
# XBPS_ARCH=<chroot_arch> xvoidstrap <chroot_dir> base-voidstrap <other_pkgs>
# XBPS_ARCH=<chroot_arch> xvoidstrap <chroot_dir> base-container <other_pkgs>
```

`<other_pkgs>` is only needed if you want to pre-install other packages in the
Expand All @@ -26,12 +26,12 @@ chroot.
Alternatively, this process can be done manually.

Create a directory that will contain the chroot, then install a base system in
it via the `base-voidstrap` package:
it via the `base-container` package:

```
# mkdir -p "<chroot_dir>/var/db/xbps/keys"
# cp -a /var/db/xbps/keys/* "<chroot_dir>/var/db/xbps/keys"
# XBPS_ARCH=<chroot_arch> xbps-install -S -r <chroot_dir> -R <repository> base-voidstrap <other_pkgs>
# XBPS_ARCH=<chroot_arch> xbps-install -S -r <chroot_dir> -R <repository> base-container <other_pkgs>
```

The `<repository>` may [vary depending on
Expand Down

0 comments on commit 40378a1

Please # to comment.