scripts: Remove autobuilder scripts
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
44a88198c1
commit
62d3720668
|
@ -1,97 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Poky Automated Build Server Enviroment Setup Script
|
||||
#
|
||||
# Copyright (C) 2006-2007 OpenedHand Ltd.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
TARGETDIR=/srv/poky/autobuild-output
|
||||
CURRDIR=`pwd`
|
||||
if [ "$CURRDIR" = "/srv/poky/autobuild/full-shihtzu/build" ]; then
|
||||
ABTARGET="poky"
|
||||
elif [ "$CURRDIR" = "/srv/poky/autobuild/full-bleeding-shihtzu/build" ]; then
|
||||
ABTARGET="poky-bleeding"
|
||||
elif [ "$CURRDIR" = "/srv/poky/autobuild/toolchain-shihtzu/build" ]; then
|
||||
ABTARGET="toolchain"
|
||||
elif [ "$CURRDIR" = "/srv/poky/autobuild/incremental-shihtzu/build" ]; then
|
||||
ABTARGET="incremental"
|
||||
elif [ "$CURRDIR" = "/srv/poky/autobuild/full-darwin-shihtzu/build" ]; then
|
||||
ABTARGET="darwin"
|
||||
if [ ! -d "$CURRDIR/meta-darwin" ]; then
|
||||
svn co http://svn.o-hand.com/repos/poky/branches/experimental/meta-darwin $CURRDIR/meta-darwin
|
||||
else
|
||||
cd $CURRDIR/meta-darwin
|
||||
svn up
|
||||
cd $CURRDIR
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "xpreamble" = "x$1" ]; then
|
||||
mkdir -p ./build/tmp/deploy/images
|
||||
rm -f ./build/tmp/deploy/images/images-complete
|
||||
svn info > ./build/tmp/deploy/images/svninfo
|
||||
exit 0
|
||||
fi
|
||||
|
||||
BDIR="build"
|
||||
. ./scripts/poky-env-internal
|
||||
POSTPROCESS=`which poky-autobuild-postprocess`
|
||||
|
||||
if [ "xcomplete" = "x$1" ]; then
|
||||
touch ./tmp/deploy/images/images-complete
|
||||
chmod a+w ./tmp/deploy/images/images-complete
|
||||
if [ "x$POSTPROCESS" != "x" ]; then
|
||||
cd ..
|
||||
$POSTPROCESS $ABTARGET $TARGETDIR
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
CONFFILE="./conf/auto.conf"
|
||||
|
||||
if [ ! -e "$CONFFILE" ]; then
|
||||
if [ ! -d "./conf" ]; then
|
||||
mkdir -p "./conf"
|
||||
fi
|
||||
echo 'PACKAGE_CLASSES = "package_ipk package_deb"' > "$CONFFILE"
|
||||
echo 'BB_NUMBER_THREADS = "6"' >> "$CONFFILE"
|
||||
echo 'PARALLEL_MAKE = "-j 6"' >> "$CONFFILE"
|
||||
echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
|
||||
echo 'INHERIT += "poky-autobuild-notifier"' >> "$CONFFILE"
|
||||
if [ "$ABTARGET" = "darwin" ]; then
|
||||
echo 'PACKAGE_CLASSES += "package_tar"' >> "$CONFFILE"
|
||||
echo "BBFILES += \"$CURRDIR/meta-darwin/packages/*/*.bb\"" >> "./conf/local.conf"
|
||||
echo 'POKYMODE = "darwin"' >> "$CONFFILE"
|
||||
echo 'DARWINFILES = "file:///srv/poky/sources/"' >> "$CONFFILE"
|
||||
echo 'INHERIT_INSANE = ""' >> "$CONFFILE"
|
||||
echo "FILESPATH_append = \":$CURRDIR/meta-darwin/files\"" >> "$CONFFILE"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$ABTARGET" = "darwin" ]; then
|
||||
BBPATH=$CURRDIR/meta-darwin:$BBPATH
|
||||
fi
|
||||
|
||||
bitbake $@
|
||||
|
||||
retval=$?
|
||||
|
||||
if [ "x$POSTPROCESS" != "x" ]; then
|
||||
cd ..
|
||||
$POSTPROCESS $ABTARGET $TARGETDIR
|
||||
fi
|
||||
|
||||
exit $retval
|
|
@ -1,109 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Poky Automated Build Server Enviroment Setup Script
|
||||
#
|
||||
# Copyright (C) 2008 Intel
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
SRVWORKDIR=/home/rpurdie
|
||||
TARGETDIR=$SRVWORKDIR/httpd/autobuild-output
|
||||
CURRDIR=`pwd`
|
||||
if [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/full-shihtzu/build" ]; then
|
||||
ABTARGET="poky"
|
||||
elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/full-bleeding-shihtzu/build" ]; then
|
||||
ABTARGET="poky-bleeding"
|
||||
elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/toolchain-shihtzu/build" ]; then
|
||||
ABTARGET="toolchain"
|
||||
elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/incremental-shihtzu/build" ]; then
|
||||
ABTARGET="incremental"
|
||||
elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/moblin-incremental/build" ]; then
|
||||
ABTARGET="moblin-incremental"
|
||||
elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/moblin-full/build" ]; then
|
||||
ABTARGET="moblin-full"
|
||||
elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/moblin-uricheck/build" ]; then
|
||||
ABTARGET="moblin-uricheck"
|
||||
elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/full-darwin-shihtzu/build" ]; then
|
||||
ABTARGET="darwin"
|
||||
if [ ! -d "$CURRDIR/meta-darwin" ]; then
|
||||
svn co http://svn.o-hand.com/repos/poky/branches/experimental/meta-darwin $CURRDIR/meta-darwin
|
||||
else
|
||||
cd $CURRDIR/meta-darwin
|
||||
svn up
|
||||
cd $CURRDIR
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "xpreamble" = "x$1" ]; then
|
||||
mkdir -p ./build/tmp/deploy/images
|
||||
rm -f ./build/tmp/deploy/images/images-complete
|
||||
git log -1 > ./build/tmp/deploy/images/svninfo
|
||||
exit 0
|
||||
fi
|
||||
|
||||
BDIR="build"
|
||||
. ./scripts/poky-env-internal
|
||||
BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE"
|
||||
POSTPROCESS=`which poky-autobuild-postprocess-moblin`
|
||||
|
||||
if [ "xcomplete" = "x$1" ]; then
|
||||
touch ./tmp/deploy/images/images-complete
|
||||
chmod a+w ./tmp/deploy/images/images-complete
|
||||
if [ "x$POSTPROCESS" != "x" -a -x "$POSTPROCESS" ]; then
|
||||
cd ..
|
||||
$POSTPROCESS $ABTARGET $TARGETDIR $BASEDIR
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
CONFFILE="./conf/auto.conf"
|
||||
|
||||
if [ ! -e "$CONFFILE" ]; then
|
||||
if [ ! -d "./conf" ]; then
|
||||
mkdir -p "./conf"
|
||||
fi
|
||||
echo 'PACKAGE_CLASSES = "package_ipk package_deb package_rpm"' > "$CONFFILE"
|
||||
echo 'BB_NUMBER_THREADS = "6"' >> "$CONFFILE"
|
||||
echo 'PARALLEL_MAKE = "-j 6"' >> "$CONFFILE"
|
||||
echo "DL_DIR = \"$SRVWORKDIR/httpd/sources\"" >> "$CONFFILE"
|
||||
echo 'INHERIT += "rm_work"' >> "$CONFFILE"
|
||||
#echo 'INHERIT += "poky-autobuild-notifier"' >> "$CONFFILE"
|
||||
#echo 'INHERIT += "poky-moblin-autobuilder-proxy-config"' >> "$CONFFILE"
|
||||
if [ "$ABTARGET" = "darwin" ]; then
|
||||
echo 'PACKAGE_CLASSES += "package_tar"' >> "$CONFFILE"
|
||||
echo "BBFILES += \"$CURRDIR/meta-darwin/packages/*/*.bb\"" >> "./conf/local.conf"
|
||||
echo 'POKYMODE = "darwin"' >> "$CONFFILE"
|
||||
echo 'DARWINFILES = "file:///srv/poky/sources/"' >> "$CONFFILE"
|
||||
echo 'INHERIT_INSANE = ""' >> "$CONFFILE"
|
||||
echo "FILESPATH_append = \":$CURRDIR/meta-darwin/files\"" >> "$CONFFILE"
|
||||
fi
|
||||
fi
|
||||
|
||||
BBPATH=$SRVWORKDIR/localmeta:$BBPATH
|
||||
|
||||
if [ "$ABTARGET" = "darwin" ]; then
|
||||
BBPATH=$CURRDIR/meta-darwin:$BBPATH
|
||||
fi
|
||||
|
||||
bitbake $@
|
||||
|
||||
retval=$?
|
||||
|
||||
#if [ "x$POSTPROCESS" != "x" ]; then
|
||||
# cd ..
|
||||
# $POSTPROCESS $ABTARGET $TARGETDIR
|
||||
#fi
|
||||
|
||||
exit $retval
|
|
@ -1,135 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Poky Automated Build Server Post Processing Script
|
||||
#
|
||||
# Copyright (C) 2006-2007 OpenedHand Ltd.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
ABTARGET=$1
|
||||
TARGETDIR=$2
|
||||
|
||||
cd ./build/tmp/deploy/
|
||||
|
||||
LASTREV=`tail images/svninfo | grep Revision | cut -f 2 -d ' '`
|
||||
DEST=$TARGETDIR/$ABTARGET/$LASTREV/
|
||||
|
||||
mkdir -p $DEST
|
||||
|
||||
COMPRESS_FILES=()
|
||||
FILES=()
|
||||
|
||||
if [ "x$ABTARGET" = "xpoky-bleeding" ]; then
|
||||
COMPRESS_FILES=(
|
||||
poky-image-sato-qemuarm-*.rootfs.ext2
|
||||
)
|
||||
|
||||
FILES=(
|
||||
svninfo
|
||||
`readlink images/zImage-akita.bin`
|
||||
`readlink images/zImage-qemuarm.bin`
|
||||
updater.sh.akita
|
||||
poky-image-sato-akita-*.rootfs.summary.jffs2
|
||||
poky-image-sato-qemuarm-*.rootfs.tar.bz2
|
||||
)
|
||||
fi
|
||||
|
||||
if [ "x$ABTARGET" = "xtoolchain" ]; then
|
||||
FILES=(
|
||||
svninfo
|
||||
poky-*-toolchain-*.tar.bz2
|
||||
)
|
||||
fi
|
||||
|
||||
if [ "x$ABTARGET" = "xpoky" ]; then
|
||||
COMPRESS_FILES=(
|
||||
poky-image-sdk-qemuarm-*.rootfs.ext2
|
||||
poky-image-sdk-qemux86-*.rootfs.ext2
|
||||
poky-image-minimal-qemuarm-*.rootfs.ext2
|
||||
poky-image-minimal-qemux86-*.rootfs.ext2
|
||||
poky-image-sato-cd-*.iso
|
||||
)
|
||||
|
||||
FILES=(
|
||||
svninfo
|
||||
`readlink images/zImage-akita.bin`
|
||||
`readlink images/zImage-c7x0.bin`
|
||||
`readlink images/zImage-qemuarm.bin`
|
||||
`readlink images/zImage-spitz.bin`
|
||||
`readlink images/zImage-nokia800.bin`
|
||||
`readlink images/bzImage-qemux86.bin`
|
||||
`readlink images/bzImage-netbook.bin`
|
||||
`readlink images/zImage-htcuniversal.bin`
|
||||
`readlink images/zImage-mx31litekit.bin`
|
||||
`readlink images/zImage-mx31ads.bin`
|
||||
`readlink images/zImage-nokia770.bin`
|
||||
`readlink images/zImage-zylonite.bin`
|
||||
`readlink images/zImage-cm-x270.bin`
|
||||
`readlink images/uImage-em-x270.bin`
|
||||
`readlink images/uImage-mx31phy.bin`
|
||||
`readlink images/uImage-neo1973-latest.bin`
|
||||
`readlink images/uImage-om-gta01.bin`
|
||||
`readlink images/uImage-om-gta02.bin`
|
||||
updater.sh.akita
|
||||
updater.sh.c7x0
|
||||
updater.sh.spitz
|
||||
gnu-tar
|
||||
poky-image-live-netbook-*.hddimg
|
||||
poky-image-minimal-live-netbook-*.hddimg
|
||||
poky-image-sato-akita-*.rootfs.summary.jffs2
|
||||
poky-image-sato-c7x0-*.rootfs.jffs2
|
||||
poky-image-sato-spitz-*.rootfs.tar.gz
|
||||
poky-image-sdk-qemuarm-*.rootfs.tar.bz2
|
||||
poky-image-sdk-qemux86-*.rootfs.tar.bz2
|
||||
poky-image-minimal-qemuarm-*.rootfs.tar.bz2
|
||||
poky-image-minimal-qemux86-*.rootfs.tar.bz2
|
||||
poky-image-sdk-spitz-*.rootfs.tar.gz
|
||||
poky-image-sdk-nokia800-*.rootfs.jffs2
|
||||
poky-image-sato-nokia770-*.rootfs.jffs2
|
||||
poky-image-sato-zylonite-*.rootfs.jffs2
|
||||
poky-image-sato-cm-x270-*.rootfs.jffs2
|
||||
poky-image-sato-em-x270-*.rootfs.jffs2
|
||||
poky-image-sato-mx31litekit-*.rootfs.tar.gz
|
||||
poky-image-sato-htcuniversal-*.rootfs.tar.gz
|
||||
poky-image-sato-om-gta01-*.rootfs.jffs2
|
||||
poky-image-sato-om-gta02-*.rootfs.jffs2
|
||||
poky-image-sato-mx31phy-*.jffs2
|
||||
poky-image-sato-mx31ads-*.jffs2
|
||||
`readlink images/updater-em-x270.ext2`
|
||||
)
|
||||
fi
|
||||
|
||||
for FILE in ${FILES[@]}; do
|
||||
for FILE2 in `find -name $FILE`; do
|
||||
if [ ! -e "$DEST/$FILE2" ]; then
|
||||
cp $FILE2 $DEST
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
for FILE in ${COMPRESS_FILES[@]}; do
|
||||
for FILE2 in `find -name $FILE`; do
|
||||
if [ ! -e "$DEST/$FILE2.bz2" ]; then
|
||||
bzip2 $FILE2
|
||||
cp $FILE2.bz2 $DEST
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
if [ -e ./images/images-complete ]; then
|
||||
touch $DEST/complete
|
||||
fi
|
||||
chmod a+w -R $DEST 2> /dev/null || true
|
||||
|
|
@ -1,164 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Poky Automated Build Server Post Processing Script
|
||||
#
|
||||
# Copyright (C) 2006-2007 OpenedHand Ltd.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
ABTARGET=$1
|
||||
TARGETDIR=$2
|
||||
|
||||
cd ./build/tmp/deploy/
|
||||
|
||||
DEST=$TARGETDIR/$ABTARGET/
|
||||
BASE=`date +%Y%m%d`
|
||||
REV=1
|
||||
|
||||
while [ -d "$DEST$FOO$BASE-$REV" ]
|
||||
do
|
||||
REV=`expr $REV + 1`
|
||||
done
|
||||
|
||||
DEST="$DEST$FOO$BASE-$REV"
|
||||
mkdir -p $DEST
|
||||
|
||||
COMPRESS_FILES=()
|
||||
FILES=()
|
||||
|
||||
if [ "x$ABTARGET" = "xpoky-bleeding" ]; then
|
||||
COMPRESS_FILES=(
|
||||
poky-image-sato-qemuarm-*.rootfs.ext2
|
||||
)
|
||||
|
||||
FILES=(
|
||||
gitinfo
|
||||
`readlink images/zImage-akita.bin`
|
||||
`readlink images/zImage-qemuarm.bin`
|
||||
updater.sh.akita
|
||||
poky-image-sato-akita-*.rootfs.summary.jffs2
|
||||
poky-image-sato-qemuarm-*.rootfs.tar.bz2
|
||||
)
|
||||
fi
|
||||
|
||||
if [ "x$ABTARGET" = "xtoolchain" ]; then
|
||||
FILES=(
|
||||
gitinfo
|
||||
poky-*-toolchain-*.tar.bz2
|
||||
)
|
||||
fi
|
||||
|
||||
if [ "x$ABTARGET" = "xpoky" ]; then
|
||||
COMPRESS_FILES=(
|
||||
poky-image-sdk-qemuarm-*.rootfs.ext2
|
||||
poky-image-sdk-qemux86-*.rootfs.ext2
|
||||
poky-image-minimal-qemuarm-*.rootfs.ext2
|
||||
poky-image-minimal-qemux86-*.rootfs.ext2
|
||||
poky-image-sato-cd-*.iso
|
||||
)
|
||||
|
||||
FILES=(
|
||||
gitinfo
|
||||
`readlink images/zImage-akita.bin`
|
||||
`readlink images/zImage-c7x0.bin`
|
||||
`readlink images/zImage-qemuarm.bin`
|
||||
`readlink images/zImage-spitz.bin`
|
||||
`readlink images/zImage-nokia800.bin`
|
||||
`readlink images/bzImage-qemux86.bin`
|
||||
`readlink images/bzImage-netbook.bin`
|
||||
`readlink images/zImage-htcuniversal.bin`
|
||||
`readlink images/zImage-mx31litekit.bin`
|
||||
`readlink images/zImage-mx31ads.bin`
|
||||
`readlink images/zImage-nokia770.bin`
|
||||
`readlink images/zImage-zylonite.bin`
|
||||
`readlink images/zImage-cm-x270.bin`
|
||||
`readlink images/uImage-em-x270.bin`
|
||||
`readlink images/uImage-mx31phy.bin`
|
||||
`readlink images/uImage-neo1973-latest.bin`
|
||||
`readlink images/uImage-om-gta01.bin`
|
||||
`readlink images/uImage-om-gta02.bin`
|
||||
updater.sh.akita
|
||||
updater.sh.c7x0
|
||||
updater.sh.spitz
|
||||
gnu-tar
|
||||
poky-image-live-netbook-*.hddimg
|
||||
poky-image-minimal-live-netbook-*.hddimg
|
||||
poky-image-sato-akita-*.rootfs.summary.jffs2
|
||||
poky-image-sato-c7x0-*.rootfs.jffs2
|
||||
poky-image-sato-spitz-*.rootfs.tar.gz
|
||||
poky-image-sdk-qemuarm-*.rootfs.tar.bz2
|
||||
poky-image-sdk-qemux86-*.rootfs.tar.bz2
|
||||
poky-image-minimal-qemuarm-*.rootfs.tar.bz2
|
||||
poky-image-minimal-qemux86-*.rootfs.tar.bz2
|
||||
poky-image-sdk-spitz-*.rootfs.tar.gz
|
||||
poky-image-sdk-nokia800-*.rootfs.jffs2
|
||||
poky-image-sato-nokia770-*.rootfs.jffs2
|
||||
poky-image-sato-zylonite-*.rootfs.jffs2
|
||||
poky-image-sato-cm-x270-*.rootfs.jffs2
|
||||
poky-image-sato-em-x270-*.rootfs.jffs2
|
||||
poky-image-sato-mx31litekit-*.rootfs.tar.gz
|
||||
poky-image-sato-htcuniversal-*.rootfs.tar.gz
|
||||
poky-image-sato-om-gta01-*.rootfs.jffs2
|
||||
poky-image-sato-om-gta02-*.rootfs.jffs2
|
||||
poky-image-sato-mx31phy-*.jffs2
|
||||
poky-image-sato-mx31ads-*.jffs2
|
||||
`readlink images/updater-em-x270.ext2`
|
||||
)
|
||||
fi
|
||||
|
||||
if [ "x$ABTARGET" = "xmoblin-incremental" -o "x$ABTARGET" = "xmoblin-full" ]; then
|
||||
COMPRESS_FILES=(
|
||||
moblin-image-live-netbook-*.hddimg
|
||||
moblin-image-live-netbook-*.iso
|
||||
moblin-image-netbook-netbook-*.ext3
|
||||
moblin-image-sdk-live-netbook-*.hddimg
|
||||
moblin-image-sdk-live-netbook-*.iso
|
||||
moblin-image-sdk-netbook-*.ext3
|
||||
)
|
||||
|
||||
FILES=(
|
||||
gitinfo
|
||||
`readlink images/bzImage-netbook.bin`
|
||||
moblin-image-netbook-netbook-*.cpio.gz
|
||||
moblin-image-netbook-netbook-*.jffs2
|
||||
moblin-image-sdk-netbook-*.cpio.gz
|
||||
moblin-image-sdk-netbook-*.jffs2
|
||||
moblin-*toolchain*tar.bz2
|
||||
)
|
||||
fi
|
||||
|
||||
|
||||
for FILE in ${FILES[@]}; do
|
||||
for FILE2 in `find -name $FILE`; do
|
||||
if [ ! -e "$DEST/$FILE2" ]; then
|
||||
cp $FILE2 $DEST
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
for FILE in ${COMPRESS_FILES[@]}; do
|
||||
for FILE2 in `find -name $FILE`; do
|
||||
if [ ! -e "$DEST/$FILE2.bz2" ]; then
|
||||
bzip2 $FILE2
|
||||
cp $FILE2.bz2 $DEST
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
if [ -e ./images/images-complete ]; then
|
||||
touch $DEST/complete
|
||||
fi
|
||||
chmod a+w -R $DEST 2> /dev/null || true
|
||||
|
|
@ -1,172 +0,0 @@
|
|||
|
||||
import copy
|
||||
|
||||
builders = []
|
||||
|
||||
defaultenv = {}
|
||||
defaultenv['POKYLIBC'] = 'glibc'
|
||||
#defaultenv['PACKAGE_CLASSES'] = 'package_ipk package_deb'
|
||||
#defaultenv['BB_NUMBER_THREADS'] = '4'
|
||||
#defaultenv['DL_DIR'] = '/srv/poky/sources'
|
||||
|
||||
def runImage(factory, machine, image):
|
||||
defaultenv['MACHINE'] = machine
|
||||
factory.addStep(step.ShellCommand, description=["Building", machine, image], command=["./scripts/poky-autobuild", image], env=copy.copy(defaultenv), timeout=10000)
|
||||
|
||||
def runComplete(factory):
|
||||
factory.addStep(step.ShellCommand, description=["Mark", "complete"], command=["./scripts/poky-autobuild", "complete"], timeout=600)
|
||||
|
||||
def runPreamble(factory):
|
||||
factory.addStep(step.ShellCommand, description=["Run", "preamble"], command=["./scripts/poky-autobuild", "preamble"], timeout=30)
|
||||
|
||||
|
||||
from buildbot.process import step, factory
|
||||
f3 = factory.BuildFactory()
|
||||
f3.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000)
|
||||
runPreamble(f3)
|
||||
runImage(f3, 'qemuarm', 'poky-image-minimal')
|
||||
runImage(f3, 'qemuarm', 'poky-image-sato')
|
||||
runImage(f3, 'qemuarm', 'poky-image-sdk')
|
||||
runImage(f3, 'spitz', 'poky-image-minimal')
|
||||
runImage(f3, 'spitz', 'poky-image-sato')
|
||||
runImage(f3, 'spitz', 'poky-image-sdk')
|
||||
runImage(f3, 'akita', 'poky-image-minimal')
|
||||
runImage(f3, 'akita', 'poky-image-sato')
|
||||
runImage(f3, 'c7x0', 'poky-image-minimal')
|
||||
runImage(f3, 'c7x0', 'poky-image-sato')
|
||||
runImage(f3, 'cm-x270', 'poky-image-minimal')
|
||||
runImage(f3, 'cm-x270', 'poky-image-sato')
|
||||
runImage(f3, 'em-x270', 'poky-image-minimal')
|
||||
runImage(f3, 'em-x270', 'poky-image-sato')
|
||||
runImage(f3, 'htcuniversal', 'poky-image-minimal')
|
||||
runImage(f3, 'htcuniversal', 'poky-image-sato')
|
||||
runImage(f3, 'mx31litekit', 'poky-image-minimal')
|
||||
runImage(f3, 'mx31litekit', 'poky-image-sato')
|
||||
runImage(f3, 'mx31phy', 'poky-image-minimal')
|
||||
runImage(f3, 'mx31phy', 'poky-image-sato')
|
||||
runImage(f3, 'mx31ads', 'poky-image-minimal')
|
||||
runImage(f3, 'mx31ads', 'poky-image-sato')
|
||||
runImage(f3, 'zylonite', 'poky-image-minimal')
|
||||
runImage(f3, 'zylonite', 'poky-image-sato')
|
||||
runImage(f3, 'nokia770', 'poky-image-minimal')
|
||||
runImage(f3, 'nokia770', 'poky-image-sato')
|
||||
runImage(f3, 'nokia800', 'poky-image-minimal')
|
||||
runImage(f3, 'nokia800', 'poky-image-sato')
|
||||
runImage(f3, 'nokia800', 'poky-image-sdk')
|
||||
runImage(f3, 'om-gta01', 'poky-image-minimal')
|
||||
runImage(f3, 'om-gta01', 'poky-image-sato')
|
||||
runImage(f3, 'om-gta02', 'poky-image-minimal')
|
||||
runImage(f3, 'om-gta02', 'poky-image-sato')
|
||||
runImage(f3, 'omap-3430ldp', 'poky-image-minimal')
|
||||
runImage(f3, 'omap-3430ldp', 'poky-image-sato')
|
||||
runImage(f3, 'beagleboard', 'poky-image-minimal')
|
||||
runImage(f3, 'beagleboard', 'poky-image-sato')
|
||||
runImage(f3, 'qemux86', 'poky-image-minimal')
|
||||
runImage(f3, 'qemux86', 'poky-image-sato')
|
||||
runImage(f3, 'qemux86', 'poky-image-sdk')
|
||||
runImage(f3, 'netbook', 'poky-image-minimal')
|
||||
runImage(f3, 'netbook', 'poky-image-minimal-live')
|
||||
runImage(f3, 'netbook', 'poky-image-sato')
|
||||
runImage(f3, 'netbook', 'poky-image-sato-live')
|
||||
runImage(f3, 'netbook', 'poky-image-live')
|
||||
runImage(f3, 'netbook', 'poky-image-sdk')
|
||||
runImage(f3, 'bootcdx86', 'poky-image-sato-cd')
|
||||
defaultenv['POKYLIBC'] = 'uclibc'
|
||||
runImage(f3, 'cm-x270', 'poky-image-minimal-mtdutils')
|
||||
defaultenv['POKYLIBC'] = 'glibc'
|
||||
runComplete(f3)
|
||||
|
||||
from buildbot.process import step, factory
|
||||
f4 = factory.BuildFactory()
|
||||
f4.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", timeout=10000)
|
||||
runPreamble(f4)
|
||||
f4.addStep(step.ShellCommand, description=["Cleaning", "previous", "images"], command="/bin/rm build/tmp/deploy/images/poky-image* || /bin/true", timeout=600)
|
||||
f4.addStep(step.ShellCommand, description=["Cleaning", "previous", "images", "step 2"], command="/bin/rm build/tmp/deploy/images/rootfs* || /bin/true", timeout=600)
|
||||
runImage(f4, 'qemuarm', 'poky-image-sdk')
|
||||
runImage(f4, 'qemuarm', 'world')
|
||||
runImage(f4, 'qemux86', 'poky-image-sdk')
|
||||
runImage(f4, 'qemux86', 'world')
|
||||
runImage(f4, 'omap-3430ldp', 'poky-image-sato')
|
||||
runImage(f4, 'netbook', 'poky-image-sato-live')
|
||||
runComplete(f4)
|
||||
|
||||
from buildbot.process import step, factory
|
||||
f5 = factory.BuildFactory()
|
||||
f5.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000)
|
||||
runPreamble(f5)
|
||||
defaultenv['DISTRO'] = 'poky-bleeding'
|
||||
runImage(f5, 'akita', 'poky-image-sato')
|
||||
runImage(f5, 'qemuarm', 'poky-image-sato')
|
||||
runComplete(f5)
|
||||
|
||||
from buildbot.process import step, factory
|
||||
f6 = factory.BuildFactory()
|
||||
f6.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000)
|
||||
runPreamble(f6)
|
||||
defaultenv['DISTRO'] = 'poky'
|
||||
runImage(f6, 'qemuarm', 'meta-toolchain')
|
||||
runImage(f6, 'qemuarm', 'meta-toolchain-sdk')
|
||||
runImage(f6, 'qemux86', 'meta-toolchain')
|
||||
runImage(f6, 'qemux86', 'meta-toolchain-sdk')
|
||||
runImage(f6, 'qemuarm', 'world -c checkuriall')
|
||||
runComplete(f6)
|
||||
|
||||
from buildbot.process import step, factory
|
||||
f7 = factory.BuildFactory()
|
||||
f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000)
|
||||
runPreamble(f7)
|
||||
defaultenv['DISTRO'] = 'poky'
|
||||
defaultenv['POKYLIBC'] = 'dummy'
|
||||
runImage(f7, 'ipodtouch', 'meta-clutter')
|
||||
runImage(f7, 'ipodtouch', 'meta-toolchain')
|
||||
runImage(f7, 'ipodtouch', 'meta-toolchain-sdk')
|
||||
defaultenv['POKYLIBC'] = 'glibc'
|
||||
runComplete(f7)
|
||||
|
||||
#from buildbot.process import step, factory
|
||||
#f7 = factory.BuildFactory()
|
||||
#f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", timeout=10000)
|
||||
#runPreamble(f7)
|
||||
#defaultenv['DISTRO'] = 'poky'
|
||||
#runImage(f7, 'qemuarm', 'world')
|
||||
#runImage(f7, 'qemux86', 'world')
|
||||
#runComplete(f7)
|
||||
|
||||
b3 = {'name': "poky-full-shihtzu",
|
||||
'slavename': "shihtzu-autobuild",
|
||||
'builddir': "full-shihtzu",
|
||||
'factory': f3,
|
||||
}
|
||||
|
||||
b4 = {'name': "poky-incremental-shihtzu",
|
||||
'slavename': "shihtzu-autobuild",
|
||||
'builddir': "incremental-shihtzu",
|
||||
'factory': f4
|
||||
}
|
||||
|
||||
b5 = {'name': "poky-full-bleeding-shihtzu",
|
||||
'slavename': "shihtzu-autobuild",
|
||||
'builddir': "full-bleeding-shihtzu",
|
||||
'factory': f5
|
||||
}
|
||||
|
||||
b6 = {'name': "poky-toolchain-shihtzu",
|
||||
'slavename': "shihtzu-autobuild",
|
||||
'builddir': "toolchain-shihtzu",
|
||||
'factory': f6
|
||||
}
|
||||
|
||||
b7 = {'name': "poky-full-darwin-shihtzu",
|
||||
'slavename': "shihtzu-autobuild",
|
||||
'builddir': "full-darwin-shihtzu",
|
||||
'factory': f7
|
||||
}
|
||||
|
||||
#b7 = {'name': "poky-incremental-world-shihtzu",
|
||||
# 'slavename': "shihtzu-autobuild",
|
||||
# 'builddir': "incremental-world-shihtzu",
|
||||
# 'factory': f7
|
||||
# }
|
||||
|
||||
poky_builders = [b3, b4, b5, b6, b7]
|
||||
|
Loading…
Reference in New Issue