diff mbox series

[1/1] support/dependencies: check for find and xargs

Message ID 20220815205011.13423-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] support/dependencies: check for find and xargs | expand

Commit Message

Fabrice Fontaine Aug. 15, 2022, 8:50 p.m. UTC
Commit 7652817c93a02715e0d334d70118a0d8b6917ca6 updated the
documentation but forgot to update support/dependencies

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 support/dependencies/dependencies.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Yann E. MORIN Aug. 21, 2022, 1:51 p.m. UTC | #1
Fabrice, All,

On 2022-08-15 22:50 +0200, Fabrice Fontaine spake thusly:
> Commit 7652817c93a02715e0d334d70118a0d8b6917ca6 updated the
> documentation but forgot to update support/dependencies
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  support/dependencies/dependencies.sh | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
> index d69d97afaa..2b678ae8c4 100755
> --- a/support/dependencies/dependencies.sh
> +++ b/support/dependencies/dependencies.sh
> @@ -163,7 +163,7 @@ fi
>  
>  # Check that a few mandatory programs are installed
>  missing_progs="no"
> -for prog in perl tar wget cpio unzip rsync bc cmp ${DL_TOOLS} ; do
> +for prog in perl tar wget cpio unzip rsync bc cmp find xargs ${DL_TOOLS} ; do
>  	if ! which $prog > /dev/null ; then
>  		echo "You must install '$prog' on your build machine";
>  		missing_progs="yes"
> @@ -177,6 +177,10 @@ for prog in perl tar wget cpio unzip rsync bc cmp ${DL_TOOLS} ; do
>  			echo "  bzcat is usually part of the bzip2 package in your distribution"
>  		elif test $prog = "cmp" ; then
>  			echo "  cmp is usually part of the diffutils package in your distribution"
> +		elif test $prog = "find" ; then
> +			echo "  find is usually part of the findutils package in your distribution"
> +		elif test $prog = "xargs" ; then
> +			echo "  xargs is usually part of the findutils package in your distribution"
>  		fi
>  	fi
>  done
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
Peter Korsgaard Sept. 17, 2022, 8:50 a.m. UTC | #2
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Commit 7652817c93a02715e0d334d70118a0d8b6917ca6 updated the
 > documentation but forgot to update support/dependencies

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.05.x and 2022.02.x, thanks.
diff mbox series

Patch

diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
index d69d97afaa..2b678ae8c4 100755
--- a/support/dependencies/dependencies.sh
+++ b/support/dependencies/dependencies.sh
@@ -163,7 +163,7 @@  fi
 
 # Check that a few mandatory programs are installed
 missing_progs="no"
-for prog in perl tar wget cpio unzip rsync bc cmp ${DL_TOOLS} ; do
+for prog in perl tar wget cpio unzip rsync bc cmp find xargs ${DL_TOOLS} ; do
 	if ! which $prog > /dev/null ; then
 		echo "You must install '$prog' on your build machine";
 		missing_progs="yes"
@@ -177,6 +177,10 @@  for prog in perl tar wget cpio unzip rsync bc cmp ${DL_TOOLS} ; do
 			echo "  bzcat is usually part of the bzip2 package in your distribution"
 		elif test $prog = "cmp" ; then
 			echo "  cmp is usually part of the diffutils package in your distribution"
+		elif test $prog = "find" ; then
+			echo "  find is usually part of the findutils package in your distribution"
+		elif test $prog = "xargs" ; then
+			echo "  xargs is usually part of the findutils package in your distribution"
 		fi
 	fi
 done