MKARCHROOT(1)   MKARCHROOT(1)

mkarchroot - Creates an arch chroot in a specified location with a specified set of packages

mkarchroot [options] [location] [packages]

mkarchroot is a script to create an Arch Linux chroot at a specified location with specified packages. Typically used by makechrootpkg to create build chroots. Apart from installing specified packages the chroot is created with an en_US.UTF-8 and de_DE.UTF-8 locale and a generated machine-id.

-U

Use pacman -U to install packages.

-C <file>

Location of a pacman config file.

-M <file>

Location of a makepkg config file.

-c <dir>

Set pacman cache.

-f <src>[:<dst>]

Copy file from the host to the chroot. If dst is not provided, it defaults to src inside of the chroot.

-s

Do not run setarch.

-h

Output command line options.

pacman(1)

https://gitlab.archlinux.org/archlinux/devtools

Please report bugs and feature requests in the issue tracker. Please do your best to provide a reproducible test case for bugs.

2024-06-18