xbps-src: tar and xz are required in host system.
This commit is contained in:
parent
f7823f199b
commit
dd0579d967
1 changed files with 4 additions and 1 deletions
|
@ -34,11 +34,14 @@
|
|||
: ${xbps_machine:=$(uname -m)}
|
||||
: ${XBPS_UTILS_REQVER:=20100511}
|
||||
|
||||
# Required utilities in host system.
|
||||
REQHOST_UTILS="gawk bash sed gcc msgfmt patch makeinfo perl fakeroot tar xz"
|
||||
|
||||
check_reqhost_utils()
|
||||
{
|
||||
[ -n "$in_chroot" ] && return 0
|
||||
|
||||
for f in gawk bash sed gcc msgfmt patch makeinfo perl fakeroot; do
|
||||
for f in ${REQHOST_UTILS}; do
|
||||
if ! command -v ${f} 2>&1 >/dev/null; then
|
||||
echo "${f} is missing in your system, can't continue! exiting..."
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue