|
From: Heiko Z. <smi...@us...> - 2006-04-08 01:17:02
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2191/scripts Modified Files: build.sh settings Log Message: - added new build directory src-extra for custom source files (will automatically be unpacked during "make unpack" and not deleted by update_src) Index: build.sh =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/build.sh,v retrieving revision 1.95 retrieving revision 1.96 diff -u -d -r1.95 -r1.96 --- build.sh 7 Oct 2005 14:12:40 -0000 1.95 +++ build.sh 8 Apr 2006 01:16:54 -0000 1.96 @@ -242,30 +242,32 @@ mkdir -p $WORKDIR pushd $WORKDIR > /dev/null + for DIR in $SRCDIR $SRCEXTRADIR + do + for TAR in `ls $DIR/*.tar.bz2` + do + echo unpacking $TAR + ${NICE} tar -xjf $TAR || exit 1 + done - for TAR in `ls $SRCDIR/*.tar.bz2` - do - echo unpacking $TAR - ${NICE} tar -xjf $TAR || exit 1 - done - - for TAR in `ls $SRCDIR/*.tar.gz` - do - echo unpacking $TAR - ${NICE} tar -xzf $TAR || exit 1 - done + for TAR in `ls $DIR/*.tar.gz` + do + echo unpacking $TAR + ${NICE} tar -xzf $TAR || exit 1 + done - for TAR in `ls $SRCDIR/*.tgz` - do - echo unpacking $TAR - ${NICE} tar -xzf $TAR || exit 1 - done + for TAR in `ls $DIR/*.tgz` + do + echo unpacking $TAR + ${NICE} tar -xzf $TAR || exit 1 + done - for TAR in `ls $SRCDIR/*.tar.Z` - do - echo unpacking $TAR - ${NICE} tar -xzf $TAR || exit 1 - done + for TAR in `ls $DIR/*.tar.Z` + do + echo unpacking $TAR + ${NICE} tar -xzf $TAR || exit 1 + done + done popd > /dev/null ;; Index: settings =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/settings,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- settings 2 Jan 2005 21:49:00 -0000 1.48 +++ settings 8 Apr 2006 01:16:54 -0000 1.49 @@ -51,6 +51,7 @@ KERNELDIR=$(find_src_dir linux-$CONFIG_LINUX_VERSION) KERNELVERSION=$(grep UTS_RELEASE $KERNELDIR/include/linux/version.h 2> /dev/null | sed 's/\"//g' | cut -d " " -f 3) SRCDIR=$DL_DIR/src +SRCEXTRADIR=$DL_DIR/src-extra # get current version if [ "$DL_IS_OFFICIAL_RELEASE" = "y" ]; then |