From 0bd166bdde85cfb868b20d0381f19932e978de2c Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Feb 21 2020 00:07:58 +0000 Subject: etc/README: updates build-time dependencies. subr/build_init.subr:buildp_init_prereqs(): redirect which(1) stderr to /dev/null. --- diff --git a/etc/README b/etc/README index a7fabe9..80c4b3c 100644 --- a/etc/README +++ b/etc/README @@ -13,8 +13,9 @@ A Midipix distribution consists of the following: libraries such as ncurses, libressl, as well as Perl and Python. ## Build-time dependencies -* **Alpine Linux**: binutils bzip2 cmake coreutils findutils g++ gawk gcc git grep gzip libc-dev linux-headers lzip make musl-dev net-tools patch perl perl-xml-parser procps sed tar util-linux wget xz zip +* **Alpine Linux**: binutils bzip2 cmake coreutils curl findutils g++ gawk gcc git grep gzip libc-dev linux-headers lzip make musl-dev net-tools patch perl perl-xml-parser procps sed tar util-linux wget xz zip * **Debian/-derived Linux**: binutils bzip2 clzip cmake coreutils curl findutils g++ gawk gcc git grep gzip hostname libc6-dev libxml-parser-perl lzma make patch perl procps sed tar util-linux wget xz-utils zip +* **OpenSUSE Linux**: binutils bzip2 cmake coreutils curl findutils gawk gcc gcc-c++ git grep gzip hostname linux-glibc-devel lzip make patch perl perl-XML-Parser procps sed tar util-linux wget xz zip > N.B. Some packages (*coreutils*, *grep*, and *tar*, among others) override Alpine's BusyBox utilities of the same name, as the latter are either non- diff --git a/subr/build_init.subr b/subr/build_init.subr index 955ae16..78b2982 100644 --- a/subr/build_init.subr +++ b/subr/build_init.subr @@ -167,7 +167,7 @@ buildp_init_prereqs() { ln lzip make mkdir mkfifo mv paste patch perl \ pgrep pkill printf readlink rm sed seq sha256sum \ sort stat tail tar test touch tr wget xz zip; do - if ! which "${_cmd}" >/dev/null; then + if ! which "${_cmd}" >/dev/null 2>&1; then _cmds_missing="${_cmds_missing:+${_cmds_missing} }${_cmd}"; fi; done;