Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv14483/scripts
Added Files:
aoe6 vblade
Log Message:
- added AOE tools and vblade (storage target)
--- NEW FILE: aoe6 ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/aoe6,v $
# $Revision: 1.1 $
# $Date: 2007/09/03 10:45:13 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: aoe6
# Required-Start: $basebuildtools $libs linux
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: description
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
case $1 in
build )
if [ "$CONFIG_AOE6" = "y" ]; then
make || exit 1
strip_debug
fi
;;
install )
if [ "$CONFIG_AOE6" = "y" ]; then
cp linux/Documentation/aoe/udev.txt $ETCDIR/etc/udev/rules.d/60-aoe.rules || exit 1
cp -f linux/drivers/block/aoe/aoe.ko $CDDIR/lib/modules/${KERNELVERSION}/kernel/drivers/block/aoe/ || exit 1
cd aoetools-* && make install DESTDIR=$CDDIR || exit 1
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: vblade ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/vblade,v $
# $Revision: 1.1 $
# $Date: 2007/09/03 10:45:13 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: aoe6
# Required-Start: $basebuildtools $libs linux
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: description
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
case $1 in
build )
if [ "$CONFIG_VBLADE" = "y" ]; then
make || exit 1
strip_debug
fi
;;
install )
if [ "$CONFIG_VBLADE" = "y" ]; then
cp ./vblade ./vbladed -t $CDDIR/usr/ || exit 1
cp ./vblade.8 $CDDIR/usr/share/man/man8/ || exit 1
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|