xbps-src: remove getdeps-helper, unused; don't install chroot-helper in chroot.
This commit is contained in:
parent
8795076381
commit
005be53337
|
@ -1,6 +1,6 @@
|
|||
include ../vars.mk
|
||||
|
||||
SCRIPTS = chroot-helper doinst-helper getdeps-helper
|
||||
SCRIPTS = chroot-helper doinst-helper
|
||||
MOUNT_BIN = capmount
|
||||
UMOUNT_BIN = capumount
|
||||
CHROOT_BIN = capchroot
|
||||
|
@ -10,6 +10,7 @@ LDFLAGS = -lcap
|
|||
|
||||
ifdef IN_CHROOT
|
||||
BINS =
|
||||
SCRIPTS = doinst-helper
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
. @@XBPS_INSTALL_ETCDIR@@/xbps-src.conf
|
||||
. @@XBPS_INSTALL_SHAREDIR@@/shutils/init_funcs.sh
|
||||
|
||||
set_defvars
|
||||
|
||||
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
|
||||
. $XBPS_SHUTILSDIR/common_funcs.sh
|
||||
|
||||
[ $# -ne 2 ] && echo "usage: $(basename $0) <run|build> <pkgname>" && exit 1
|
||||
|
||||
setup_subpkg_tmpl $2
|
||||
if [ "$1" = "run" ]; then
|
||||
[ -n "$run_depends" ] && echo "$run_depends"
|
||||
elif [ "$1" = "build" ]; then
|
||||
[ -n "$build_depends" ] && echo "$build_depends"
|
||||
else
|
||||
usage
|
||||
fi
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user