Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2023-03-23 23:38:29 +0100
committerLevente Polyak <anthraxx@archlinux.org>2023-11-26 01:28:20 +0100
commitcc369e86d2e060d8b65c7dbbb0c933d18f8aa6b0 (patch)
treea0ac6d2621eed26122bbead3c38da84e9484d95e /doc
parentc9de6a18b9fffa8904e191cb184c2b4d083d8dc3 (diff)
feat(makechrootpkg): add option to interactively inspect the chroot
Implement the -x option for makechrootpkg which allows to get an interactive shell in the chroot after building the package. Useful to ease the debugging of a package build. Depending on the argument, the interactive shell is either always spawned or only when an error occurred during build. This option is also forwarded from `pkgctl build` via the `--inspect` flag. Component: pkgctl build Component: makechrootpkg Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/man/makechrootpkg.1.asciidoc4
-rw-r--r--doc/man/pkgctl-build.1.asciidoc4
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/man/makechrootpkg.1.asciidoc b/doc/man/makechrootpkg.1.asciidoc
index 12d32f1..3aa1be5 100644
--- a/doc/man/makechrootpkg.1.asciidoc
+++ b/doc/man/makechrootpkg.1.asciidoc
@@ -73,4 +73,8 @@ Options
*-U*::
Run makepkg as a specified user
+*-x* <when>::
+ Inspect chroot after build, possible modes are 'never' (default), 'always' or 'failure'
+
+
include::include/footer.asciidoc[]
diff --git a/doc/man/pkgctl-build.1.asciidoc b/doc/man/pkgctl-build.1.asciidoc
index 2637ebc..3f2d44e 100644
--- a/doc/man/pkgctl-build.1.asciidoc
+++ b/doc/man/pkgctl-build.1.asciidoc
@@ -38,6 +38,10 @@ Build Options
*-I, --install* 'FILE'::
Install a package into the working copy of the chroot
+*--inspect* 'WHEN'::
+ Spawn an interactive shell to inspect the chroot after building. Useful to ease the debugging of a package build. +
+ Possible values for 'WHEN' are `'never'`, `'always'` or `'failure'`
+
*-w, --worker* 'SLOT'::
Name of the worker slot, useful for concurrent builds. By default the slot
is automatically assigned to the current tty pts number. In case the caller