diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 324a3cb7c7..db10063207 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -175,7 +175,7 @@ chroot_handler() { [ -z "$action" -a -z "$pkg" ] && return 1 case "$action" in - fetch|extract|build|configure|install|install-destdir|build-pkg|bootstrap-update|chroot) + fetch|extract|build|configure|install|install-destdir|pkg|build-pkg|bootstrap-update|chroot) chroot_prepare || return $? chroot_init || return $? chroot_sync_repos || return $? diff --git a/common/xbps-src/xbps-src.sh b/common/xbps-src/xbps-src.sh index 9e5966e480..576a88e69e 100644 --- a/common/xbps-src/xbps-src.sh +++ b/common/xbps-src/xbps-src.sh @@ -23,18 +23,12 @@ Targets: (only one may be specified) build Build package source (fetch + extract + configure + build). - build-pkg - Build binary package for and all required dependencies. - chroot Enter to the chroot in . clean Remove build directory. - remove-autodeps - Removes all package dependencies installed automatically. - configure Configure a package (fetch + extract + configure). @@ -49,10 +43,16 @@ Targets: (only one may be specified) Install target package into but not building the binary package and not removing build directory for inspection purposes. + pkg + Build binary package for and all required dependencies. + remove Remove target package from . If - is not matched from build template nothing is removed. + remove-autodeps + Removes all package dependencies that were installed automatically. + show Show information for the specified package. @@ -528,7 +528,7 @@ remove-autodeps) remove_pkg_autodeps fi ;; -fetch|extract|build|configure|install|install-destdir|build-pkg) +fetch|extract|build|configure|install|install-destdir|pkg|build-pkg) BEGIN_INSTALL=1 read_pkg if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then