From 0d953db70b41ec0835ad2bd30b3749c1933bd9c2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 23 Mar 2014 11:27:09 +0100 Subject: [PATCH] xbps-src: 'pkg' target replaces 'build-pkg' but the latter is kept for compat. --- common/xbps-src/shutils/chroot.sh | 2 +- common/xbps-src/xbps-src.sh | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 324a3cb7c7d..db100632076 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 9e5966e4809..576a88e69e3 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