delete dependance rpms for building to speed up git clone
Change-Id: I0e70a433021826335ead316ee299b03ab39685ad Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
This commit is contained in:
parent
6d25568a43
commit
c6dfde3b1a
Binary file not shown.
Binary file not shown.
@ -1,33 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
log_path=compile-logs
|
||||
mkdir -p $log_path
|
||||
|
||||
module=`ls | sed -n '/.rpm$/p'`
|
||||
for mod in $module
|
||||
do
|
||||
module_name=`basename $mod .rpm`
|
||||
already_install=`rpm -qi $module_name | grep "not installed" `
|
||||
|
||||
if [ "" == "$already_install" ] ; then
|
||||
echo "$module_name already install..."
|
||||
else
|
||||
echo "install $module_name..."
|
||||
rpm -ivh --nodeps $mod 1>$log_path/$mod.log 2>$log_path/$mod.err
|
||||
fi
|
||||
done
|
||||
|
||||
for module in $module
|
||||
do
|
||||
|
||||
if [ -s $log_path/$mod.err ]; then
|
||||
echo "compile environment installing has error..."
|
||||
cat $log_path/$mod.err
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
echo "compile environment is successfully installed..."
|
||||
exit 0
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user