MAKECHROOTPKG(1) | MAKECHROOTPKG(1) |
NAME
makechrootpkg - Build a PKGBUILD in a given chroot environment
SYNOPSIS
makechrootpkg [OPTIONS] -r <chrootdir> [--] [makepkg args]
DESCRIPTION
Run this script in a directory containing a PKGBUILD to build a package inside a clean chroot. Arguments passed to this script after the end-of-options marker (--) will be passed to makepkg.
The chroot dir consists of the following directories: <chrootdir>/{root, copy} but only "root" is required by default. The working copy will be created as needed
The chroot "root" directory must be created via the following command: mkarchroot <chrootdir>/root base-devel
This script reads {SRC,SRCPKG,PKG,LOG}DEST, MAKEFLAGS and PACKAGER from makepkg.conf(5), if those variables are not part of the environment.
Default makepkg args: --syncdeps --noconfirm --log --holdver --skipinteg
OPTIONS
-h
-c
-d <dir>
-D <dir>
-t <dir>[:opts]
-u
-r <dir>
-I <pkg>
-l <copy>
-n
-C
-T
-U
-x <when>
SEE ALSO
systemd-nspawn(1)
HOMEPAGE
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 |