ARCH-NSPAWN(1)

NAME
arch-nspawn - Run a command or OS in a light-weight namespace container

SYNOPSIS

arch-nspawn [options] working-dir [systemd-nspawn arguments]

DESCRIPTION

arch-nspawn is a wrapper around systemd-nspawn to run command or OS in a namespace container such as a directory including base utilities of a OS. It is used to build package(s) in given clean and defined environment.

OPTIONS

-C <file>
    Location of a pacman config file

-M <file>
    Location of a makepkg config file

-c <dir>
    Set pacman cache, if no directory is specified the passed pacman.conf’s cachedir is used with a fallback to /etc/pacman.conf

-f <file>
    Copy file from the host to the chroot

-s
    Do not run setarch

-h
    Show this usage message

BUGS

Bugs can be reported on the project’s GitLab bug tracker https://gitlab.archlinux.org/archlinux/devtools

AUTHORS

Maintainers:

    • Aaron Griffin <aaronmgriffin@gmail.com>

    • Allan McRae <allan@archlinux.org>

    • Bartłomiej Piotrowski <bpiotrowski@archlinux.org>

    • Dan McGee <dan@archlinux.org>

    • Dave Reisner <dreisner@archlinux.org>

    • Evangelos Foutras <evangelos@foutrelis.com>

    • Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

    • Jelle van der Waa <jelle@archlinux.org>

    • Levente Polyak <anthraxx@archlinux.org>

    • Pierre Schmitz <pierre@archlinux.de>

    • Sébastien Luttringer <seblu@seblu.net>

    • Sven-Hendrik Haase <svenstaro@gmail.com>

    • Thomas Bächler <thomas@archlinux.org>

For additional contributors, use git shortlog -s on the devtools.git repository.