diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-02-15 16:02:41 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-02-15 16:02:41 +0000 |
commit | ef28bff69c8cac7cb7bee3431d6f9d7e8a952c36 (patch) | |
tree | 2a51daadc5f655fb5a916f64bd5730106b678735 | |
parent | 06576a0508f98993bfd2f4d6435f89e28bc892b4 (diff) | |
download | midipix_build-ef28bff69c8cac7cb7bee3431d6f9d7e8a952c36.tar.bz2 midipix_build-ef28bff69c8cac7cb7bee3431d6f9d7e8a952c36.tar.xz |
subr/build_init.subr:buildp_init_prereqs(): add flock to list of prerequisite commands.
etc/README: updated.
-rw-r--r-- | etc/README | 4 | ||||
-rw-r--r-- | subr/build_init.subr | 10 |
2 files changed, 7 insertions, 7 deletions
@@ -13,8 +13,8 @@ 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 procps sed tar wget xz zip -* **Debian/-derived Linux**: binutils bzip2 clzip cmake coreutils curl findutils g++ gawk gcc git grep gzip hostname libc6-dev lzma make patch procps sed tar wget xz-utils zip +* **Alpine Linux**: binutils bzip2 cmake coreutils findutils g++ gawk gcc git grep gzip libc-dev linux-headers lzip make musl-dev net-tools patch 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 lzma make patch procps sed tar util-linux wget xz-utils 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 ef0a2150..0fe59ba0 100644 --- a/subr/build_init.subr +++ b/subr/build_init.subr @@ -162,11 +162,11 @@ buildp_init_getopts() { buildp_init_prereqs() { local _rc=0; _status=""; if ! which \ - awk bunzip2 cat chmod cp date find git grep \ - gunzip gzip hostname install kill ln lzip make \ - mkdir mkfifo mv paste patch pgrep pkill printf \ - readlink rm sed seq sha256sum sort stat tail \ - tar test touch tr wget xz >/dev/null; then + awk bunzip2 cat chmod cp date find flock git \ + grep gunzip gzip hostname install kill ln lzip \ + make mkdir mkfifo mv paste patch pgrep pkill \ + printf readlink rm sed seq sha256sum sort stat \ + tail tar test touch tr wget xz >/dev/null; then _rc=4; _status="Error: missing prerequisite package(s)."; elif ! awk -V 2>/dev/null | grep -q "^GNU Awk "; then _rc=5; _status="Error: awk(1) in \$PATH must be GNU Awk."; |