Skip to contentSkip to conversation

Add 'bc' in the mandatory dependencies

PATCH New Thomas Petazzoni 2 participants 2 messages Jul 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add 'bc' in the mandatory dependencies

Since a few kernel releases, having 'bc' installed is mandatory to build the kernel. See commit
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=70730bca1331fc50c3caacaea00439de1325bd6e
of the kernel.

Since this tool is generally available by default in distributions, and we're unlikely to see version-specific problems with it, we just check for it to be installed in support/dependencies/dependencies.sh.

---
 support/dependencies/dependencies.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/dependencies/dependencies.sh +1 -1
index 0b44c5a..61a4140 100755
@@ -132,7 +132,7 @@ fi;
 
 # Check that a few mandatory programs are installed
 missing_progs="no"
-for prog in patch perl tar wget cpio python unzip rsync ${DL_TOOLS} ; do
+for prog in patch perl tar wget cpio python unzip rsync bc ${DL_TOOLS} ; do
     if ! which $prog > /dev/null ; then
 	/bin/echo -e "You must install '$prog' on your build machine";
 	missing_progs="yes"
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 Add 'bc' in the mandatory dependencies

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> Since a few kernel releases, having 'bc' installed is mandatory to
Thomas> build the kernel. See commit
Thomas> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=70730bca1331fc50c3caacaea00439de1325bd6e
Thomas> of the kernel.

Thomas> Since this tool is generally available by default in distributions, Thomas> and we're unlikely to see version-specific problems with it, we Thomas> just check for it to be installed in
Thomas> support/dependencies/dependencies.sh.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard