Update of /cvsroot/leaf/src/bering-uclibc/buildtool/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26757

Added Files:
        prepareimagefiles.sh 
Log Message:
initial import


--- NEW FILE: prepareimagefiles.sh ---
#!/bin/sh

# small script to get the files for an image

# please change this script to reflect your
# sourceforge username

#################################################################################

MYNAME=CHANGEME

#################################################################################


if [ "$MYNAME" = "CHANGEME" ] ; then
        echo "please edit this script and change the username inside"
        echo "to your username at sf.net, this script also REQUIRES"
        echo "that you have an ssh key already installed on sf.net"
        exit 1
fi

if [ "$1" = "" -o "$2" = "" ] ; then
        echo "usage: $0 <kernel version> <path to destination package dir>"
        exit 1
fi

# create path if not exist

KVERSION=$1
DIR=$2

# exit on error!
set -e

mkdir -p $DIR 

cd $DIR

echo
echo "Beginning cvs checkout, please wait"
echo 

# now start real work:
#################################################################################

# webconf
mkdir -p $DIR/webconf
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co leaf/devel/nangel/webconf/lrp
find  leaf/devel/nangel/webconf/lrp/ -type f -maxdepth 1  -exec mv {} webconf \;

# modules
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co -l 
leaf/bin/bering-uclibc/packages/Bering-uClibc_modules_$KVERSION.tar.gz
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co -l 
leaf/bin/bering-uclibc/packages/log.lrp
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co -l 
leaf/bin/bering-uclibc/packages/keyboard.lrp
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co -l 
leaf/bin/bering-uclibc/packages/local.lrp
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co -l 
leaf/bin/bering-uclibc/packages/config.lrp
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co -l 
leaf/bin/bering-uclibc/packages/libc207.lrp
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co -l 
leaf/bin/bering-uclibc/packages/libc225.lrp
find leaf/bin/bering-uclibc/packages/ -type f -maxdepth 1 -exec mv {} . \;

# packages
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co -l leaf/bin/packages/uclibc-0.9/20/
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co -l 
leaf/bin/packages/uclibc-0.9/20/testing
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co -l 
leaf/bin/packages/uclibc-0.9/20/contrib
cvs -d :ext:[EMAIL PROTECTED]:/cvsroot co -l 
leaf/bin/packages/uclibc-0.9/20/$KVERSION

find leaf/bin/packages/uclibc-0.9/20/ -type f -maxdepth 1 -exec mv {} . \;
mkdir -p testing
mkdir -p contrib
find leaf/bin/packages/uclibc-0.9/20/testing -type f -maxdepth 1 -exec mv {} 
testing \;
find leaf/bin/packages/uclibc-0.9/20/contrib -type f -maxdepth 1 -exec mv {} 
contrib \;
if [ ! -d leaf/bin/packages/uclibc-0.9/20/$KVERSION ] ; then
        echo "leaf/bin/packages/uclibc-0.9/20/$KVERSION does not exist!"
        exit 1
fi
find leaf/bin/packages/uclibc-0.9/20/$KVERSION -type f -maxdepth 1 -exec mv {} 
. \;
# rename linux file
mv linux-$KVERSION.upx linux

# remove all tmp
rm -rf leaf






-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to