diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-09 15:27:25 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-09 15:28:17 +0100 |
commit | 62d37206681c3049c5ee7590cb9bce59e782ed15 (patch) | |
tree | 7b3b091e3c376b2350718c9f418020d1021a3acd /scripts | |
parent | 44a88198c129eff0aabd3fb20b999b4bef4aadde (diff) | |
download | poky-62d37206681c3049c5ee7590cb9bce59e782ed15.tar.gz |
scripts: Remove autobuilder scripts
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/poky-autobuild | 97 | ||||
-rwxr-xr-x | scripts/poky-autobuild-moblin | 109 | ||||
-rwxr-xr-x | scripts/poky-autobuild-postprocess | 135 | ||||
-rwxr-xr-x | scripts/poky-autobuild-postprocess-moblin | 164 | ||||
-rw-r--r-- | scripts/pokyABConfig.py | 172 |
5 files changed, 0 insertions, 677 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild deleted file mode 100755 index a259493440..0000000000 --- a/scripts/poky-autobuild +++ /dev/null | |||
@@ -1,97 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # Poky Automated Build Server Enviroment Setup Script | ||
4 | # | ||
5 | # Copyright (C) 2006-2007 OpenedHand Ltd. | ||
6 | # | ||
7 | # This program is free software; you can redistribute it and/or modify | ||
8 | # it under the terms of the GNU General Public License as published by | ||
9 | # the Free Software Foundation; either version 2 of the License, or | ||
10 | # (at your option) any later version. | ||
11 | # | ||
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License | ||
18 | # along with this program; if not, write to the Free Software | ||
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | |||
21 | TARGETDIR=/srv/poky/autobuild-output | ||
22 | CURRDIR=`pwd` | ||
23 | if [ "$CURRDIR" = "/srv/poky/autobuild/full-shihtzu/build" ]; then | ||
24 | ABTARGET="poky" | ||
25 | elif [ "$CURRDIR" = "/srv/poky/autobuild/full-bleeding-shihtzu/build" ]; then | ||
26 | ABTARGET="poky-bleeding" | ||
27 | elif [ "$CURRDIR" = "/srv/poky/autobuild/toolchain-shihtzu/build" ]; then | ||
28 | ABTARGET="toolchain" | ||
29 | elif [ "$CURRDIR" = "/srv/poky/autobuild/incremental-shihtzu/build" ]; then | ||
30 | ABTARGET="incremental" | ||
31 | elif [ "$CURRDIR" = "/srv/poky/autobuild/full-darwin-shihtzu/build" ]; then | ||
32 | ABTARGET="darwin" | ||
33 | if [ ! -d "$CURRDIR/meta-darwin" ]; then | ||
34 | svn co http://svn.o-hand.com/repos/poky/branches/experimental/meta-darwin $CURRDIR/meta-darwin | ||
35 | else | ||
36 | cd $CURRDIR/meta-darwin | ||
37 | svn up | ||
38 | cd $CURRDIR | ||
39 | fi | ||
40 | fi | ||
41 | |||
42 | if [ "xpreamble" = "x$1" ]; then | ||
43 | mkdir -p ./build/tmp/deploy/images | ||
44 | rm -f ./build/tmp/deploy/images/images-complete | ||
45 | svn info > ./build/tmp/deploy/images/svninfo | ||
46 | exit 0 | ||
47 | fi | ||
48 | |||
49 | BDIR="build" | ||
50 | . ./scripts/poky-env-internal | ||
51 | POSTPROCESS=`which poky-autobuild-postprocess` | ||
52 | |||
53 | if [ "xcomplete" = "x$1" ]; then | ||
54 | touch ./tmp/deploy/images/images-complete | ||
55 | chmod a+w ./tmp/deploy/images/images-complete | ||
56 | if [ "x$POSTPROCESS" != "x" ]; then | ||
57 | cd .. | ||
58 | $POSTPROCESS $ABTARGET $TARGETDIR | ||
59 | fi | ||
60 | exit 0 | ||
61 | fi | ||
62 | |||
63 | CONFFILE="./conf/auto.conf" | ||
64 | |||
65 | if [ ! -e "$CONFFILE" ]; then | ||
66 | if [ ! -d "./conf" ]; then | ||
67 | mkdir -p "./conf" | ||
68 | fi | ||
69 | echo 'PACKAGE_CLASSES = "package_ipk package_deb"' > "$CONFFILE" | ||
70 | echo 'BB_NUMBER_THREADS = "6"' >> "$CONFFILE" | ||
71 | echo 'PARALLEL_MAKE = "-j 6"' >> "$CONFFILE" | ||
72 | echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE" | ||
73 | echo 'INHERIT += "poky-autobuild-notifier"' >> "$CONFFILE" | ||
74 | if [ "$ABTARGET" = "darwin" ]; then | ||
75 | echo 'PACKAGE_CLASSES += "package_tar"' >> "$CONFFILE" | ||
76 | echo "BBFILES += \"$CURRDIR/meta-darwin/packages/*/*.bb\"" >> "./conf/local.conf" | ||
77 | echo 'POKYMODE = "darwin"' >> "$CONFFILE" | ||
78 | echo 'DARWINFILES = "file:///srv/poky/sources/"' >> "$CONFFILE" | ||
79 | echo 'INHERIT_INSANE = ""' >> "$CONFFILE" | ||
80 | echo "FILESPATH_append = \":$CURRDIR/meta-darwin/files\"" >> "$CONFFILE" | ||
81 | fi | ||
82 | fi | ||
83 | |||
84 | if [ "$ABTARGET" = "darwin" ]; then | ||
85 | BBPATH=$CURRDIR/meta-darwin:$BBPATH | ||
86 | fi | ||
87 | |||
88 | bitbake $@ | ||
89 | |||
90 | retval=$? | ||
91 | |||
92 | if [ "x$POSTPROCESS" != "x" ]; then | ||
93 | cd .. | ||
94 | $POSTPROCESS $ABTARGET $TARGETDIR | ||
95 | fi | ||
96 | |||
97 | exit $retval | ||
diff --git a/scripts/poky-autobuild-moblin b/scripts/poky-autobuild-moblin deleted file mode 100755 index 025b7678b8..0000000000 --- a/scripts/poky-autobuild-moblin +++ /dev/null | |||
@@ -1,109 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # Poky Automated Build Server Enviroment Setup Script | ||
4 | # | ||
5 | # Copyright (C) 2008 Intel | ||
6 | # | ||
7 | # This program is free software; you can redistribute it and/or modify | ||
8 | # it under the terms of the GNU General Public License as published by | ||
9 | # the Free Software Foundation; either version 2 of the License, or | ||
10 | # (at your option) any later version. | ||
11 | # | ||
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License | ||
18 | # along with this program; if not, write to the Free Software | ||
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | |||
21 | SRVWORKDIR=/home/rpurdie | ||
22 | TARGETDIR=$SRVWORKDIR/httpd/autobuild-output | ||
23 | CURRDIR=`pwd` | ||
24 | if [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/full-shihtzu/build" ]; then | ||
25 | ABTARGET="poky" | ||
26 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/full-bleeding-shihtzu/build" ]; then | ||
27 | ABTARGET="poky-bleeding" | ||
28 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/toolchain-shihtzu/build" ]; then | ||
29 | ABTARGET="toolchain" | ||
30 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/incremental-shihtzu/build" ]; then | ||
31 | ABTARGET="incremental" | ||
32 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/moblin-incremental/build" ]; then | ||
33 | ABTARGET="moblin-incremental" | ||
34 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/moblin-full/build" ]; then | ||
35 | ABTARGET="moblin-full" | ||
36 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/moblin-uricheck/build" ]; then | ||
37 | ABTARGET="moblin-uricheck" | ||
38 | elif [ "$CURRDIR" = "$SRVWORKDIR/poky-slave/full-darwin-shihtzu/build" ]; then | ||
39 | ABTARGET="darwin" | ||
40 | if [ ! -d "$CURRDIR/meta-darwin" ]; then | ||
41 | svn co http://svn.o-hand.com/repos/poky/branches/experimental/meta-darwin $CURRDIR/meta-darwin | ||
42 | else | ||
43 | cd $CURRDIR/meta-darwin | ||
44 | svn up | ||
45 | cd $CURRDIR | ||
46 | fi | ||
47 | fi | ||
48 | |||
49 | if [ "xpreamble" = "x$1" ]; then | ||
50 | mkdir -p ./build/tmp/deploy/images | ||
51 | rm -f ./build/tmp/deploy/images/images-complete | ||
52 | git log -1 > ./build/tmp/deploy/images/svninfo | ||
53 | exit 0 | ||
54 | fi | ||
55 | |||
56 | BDIR="build" | ||
57 | . ./scripts/poky-env-internal | ||
58 | BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE" | ||
59 | POSTPROCESS=`which poky-autobuild-postprocess-moblin` | ||
60 | |||
61 | if [ "xcomplete" = "x$1" ]; then | ||
62 | touch ./tmp/deploy/images/images-complete | ||
63 | chmod a+w ./tmp/deploy/images/images-complete | ||
64 | if [ "x$POSTPROCESS" != "x" -a -x "$POSTPROCESS" ]; then | ||
65 | cd .. | ||
66 | $POSTPROCESS $ABTARGET $TARGETDIR $BASEDIR | ||
67 | fi | ||
68 | exit 0 | ||
69 | fi | ||
70 | |||
71 | CONFFILE="./conf/auto.conf" | ||
72 | |||
73 | if [ ! -e "$CONFFILE" ]; then | ||
74 | if [ ! -d "./conf" ]; then | ||
75 | mkdir -p "./conf" | ||
76 | fi | ||
77 | echo 'PACKAGE_CLASSES = "package_ipk package_deb package_rpm"' > "$CONFFILE" | ||
78 | echo 'BB_NUMBER_THREADS = "6"' >> "$CONFFILE" | ||
79 | echo 'PARALLEL_MAKE = "-j 6"' >> "$CONFFILE" | ||
80 | echo "DL_DIR = \"$SRVWORKDIR/httpd/sources\"" >> "$CONFFILE" | ||
81 | echo 'INHERIT += "rm_work"' >> "$CONFFILE" | ||
82 | #echo 'INHERIT += "poky-autobuild-notifier"' >> "$CONFFILE" | ||
83 | #echo 'INHERIT += "poky-moblin-autobuilder-proxy-config"' >> "$CONFFILE" | ||
84 | if [ "$ABTARGET" = "darwin" ]; then | ||
85 | echo 'PACKAGE_CLASSES += "package_tar"' >> "$CONFFILE" | ||
86 | echo "BBFILES += \"$CURRDIR/meta-darwin/packages/*/*.bb\"" >> "./conf/local.conf" | ||
87 | echo 'POKYMODE = "darwin"' >> "$CONFFILE" | ||
88 | echo 'DARWINFILES = "file:///srv/poky/sources/"' >> "$CONFFILE" | ||
89 | echo 'INHERIT_INSANE = ""' >> "$CONFFILE" | ||
90 | echo "FILESPATH_append = \":$CURRDIR/meta-darwin/files\"" >> "$CONFFILE" | ||
91 | fi | ||
92 | fi | ||
93 | |||
94 | BBPATH=$SRVWORKDIR/localmeta:$BBPATH | ||
95 | |||
96 | if [ "$ABTARGET" = "darwin" ]; then | ||
97 | BBPATH=$CURRDIR/meta-darwin:$BBPATH | ||
98 | fi | ||
99 | |||
100 | bitbake $@ | ||
101 | |||
102 | retval=$? | ||
103 | |||
104 | #if [ "x$POSTPROCESS" != "x" ]; then | ||
105 | # cd .. | ||
106 | # $POSTPROCESS $ABTARGET $TARGETDIR | ||
107 | #fi | ||
108 | |||
109 | exit $retval | ||
diff --git a/scripts/poky-autobuild-postprocess b/scripts/poky-autobuild-postprocess deleted file mode 100755 index cbe5203fb5..0000000000 --- a/scripts/poky-autobuild-postprocess +++ /dev/null | |||
@@ -1,135 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # Poky Automated Build Server Post Processing Script | ||
4 | # | ||
5 | # Copyright (C) 2006-2007 OpenedHand Ltd. | ||
6 | # | ||
7 | # This program is free software; you can redistribute it and/or modify | ||
8 | # it under the terms of the GNU General Public License as published by | ||
9 | # the Free Software Foundation; either version 2 of the License, or | ||
10 | # (at your option) any later version. | ||
11 | # | ||
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License | ||
18 | # along with this program; if not, write to the Free Software | ||
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | |||
21 | ABTARGET=$1 | ||
22 | TARGETDIR=$2 | ||
23 | |||
24 | cd ./build/tmp/deploy/ | ||
25 | |||
26 | LASTREV=`tail images/svninfo | grep Revision | cut -f 2 -d ' '` | ||
27 | DEST=$TARGETDIR/$ABTARGET/$LASTREV/ | ||
28 | |||
29 | mkdir -p $DEST | ||
30 | |||
31 | COMPRESS_FILES=() | ||
32 | FILES=() | ||
33 | |||
34 | if [ "x$ABTARGET" = "xpoky-bleeding" ]; then | ||
35 | COMPRESS_FILES=( | ||
36 | poky-image-sato-qemuarm-*.rootfs.ext2 | ||
37 | ) | ||
38 | |||
39 | FILES=( | ||
40 | svninfo | ||
41 | `readlink images/zImage-akita.bin` | ||
42 | `readlink images/zImage-qemuarm.bin` | ||
43 | updater.sh.akita | ||
44 | poky-image-sato-akita-*.rootfs.summary.jffs2 | ||
45 | poky-image-sato-qemuarm-*.rootfs.tar.bz2 | ||
46 | ) | ||
47 | fi | ||
48 | |||
49 | if [ "x$ABTARGET" = "xtoolchain" ]; then | ||
50 | FILES=( | ||
51 | svninfo | ||
52 | poky-*-toolchain-*.tar.bz2 | ||
53 | ) | ||
54 | fi | ||
55 | |||
56 | if [ "x$ABTARGET" = "xpoky" ]; then | ||
57 | COMPRESS_FILES=( | ||
58 | poky-image-sdk-qemuarm-*.rootfs.ext2 | ||
59 | poky-image-sdk-qemux86-*.rootfs.ext2 | ||
60 | poky-image-minimal-qemuarm-*.rootfs.ext2 | ||
61 | poky-image-minimal-qemux86-*.rootfs.ext2 | ||
62 | poky-image-sato-cd-*.iso | ||
63 | ) | ||
64 | |||
65 | FILES=( | ||
66 | svninfo | ||
67 | `readlink images/zImage-akita.bin` | ||
68 | `readlink images/zImage-c7x0.bin` | ||
69 | `readlink images/zImage-qemuarm.bin` | ||
70 | `readlink images/zImage-spitz.bin` | ||
71 | `readlink images/zImage-nokia800.bin` | ||
72 | `readlink images/bzImage-qemux86.bin` | ||
73 | `readlink images/bzImage-netbook.bin` | ||
74 | `readlink images/zImage-htcuniversal.bin` | ||
75 | `readlink images/zImage-mx31litekit.bin` | ||
76 | `readlink images/zImage-mx31ads.bin` | ||
77 | `readlink images/zImage-nokia770.bin` | ||
78 | `readlink images/zImage-zylonite.bin` | ||
79 | `readlink images/zImage-cm-x270.bin` | ||
80 | `readlink images/uImage-em-x270.bin` | ||
81 | `readlink images/uImage-mx31phy.bin` | ||
82 | `readlink images/uImage-neo1973-latest.bin` | ||
83 | `readlink images/uImage-om-gta01.bin` | ||
84 | `readlink images/uImage-om-gta02.bin` | ||
85 | updater.sh.akita | ||
86 | updater.sh.c7x0 | ||
87 | updater.sh.spitz | ||
88 | gnu-tar | ||
89 | poky-image-live-netbook-*.hddimg | ||
90 | poky-image-minimal-live-netbook-*.hddimg | ||
91 | poky-image-sato-akita-*.rootfs.summary.jffs2 | ||
92 | poky-image-sato-c7x0-*.rootfs.jffs2 | ||
93 | poky-image-sato-spitz-*.rootfs.tar.gz | ||
94 | poky-image-sdk-qemuarm-*.rootfs.tar.bz2 | ||
95 | poky-image-sdk-qemux86-*.rootfs.tar.bz2 | ||
96 | poky-image-minimal-qemuarm-*.rootfs.tar.bz2 | ||
97 | poky-image-minimal-qemux86-*.rootfs.tar.bz2 | ||
98 | poky-image-sdk-spitz-*.rootfs.tar.gz | ||
99 | poky-image-sdk-nokia800-*.rootfs.jffs2 | ||
100 | poky-image-sato-nokia770-*.rootfs.jffs2 | ||
101 | poky-image-sato-zylonite-*.rootfs.jffs2 | ||
102 | poky-image-sato-cm-x270-*.rootfs.jffs2 | ||
103 | poky-image-sato-em-x270-*.rootfs.jffs2 | ||
104 | poky-image-sato-mx31litekit-*.rootfs.tar.gz | ||
105 | poky-image-sato-htcuniversal-*.rootfs.tar.gz | ||
106 | poky-image-sato-om-gta01-*.rootfs.jffs2 | ||
107 | poky-image-sato-om-gta02-*.rootfs.jffs2 | ||
108 | poky-image-sato-mx31phy-*.jffs2 | ||
109 | poky-image-sato-mx31ads-*.jffs2 | ||
110 | `readlink images/updater-em-x270.ext2` | ||
111 | ) | ||
112 | fi | ||
113 | |||
114 | for FILE in ${FILES[@]}; do | ||
115 | for FILE2 in `find -name $FILE`; do | ||
116 | if [ ! -e "$DEST/$FILE2" ]; then | ||
117 | cp $FILE2 $DEST | ||
118 | fi | ||
119 | done | ||
120 | done | ||
121 | |||
122 | for FILE in ${COMPRESS_FILES[@]}; do | ||
123 | for FILE2 in `find -name $FILE`; do | ||
124 | if [ ! -e "$DEST/$FILE2.bz2" ]; then | ||
125 | bzip2 $FILE2 | ||
126 | cp $FILE2.bz2 $DEST | ||
127 | fi | ||
128 | done | ||
129 | done | ||
130 | |||
131 | if [ -e ./images/images-complete ]; then | ||
132 | touch $DEST/complete | ||
133 | fi | ||
134 | chmod a+w -R $DEST 2> /dev/null || true | ||
135 | |||
diff --git a/scripts/poky-autobuild-postprocess-moblin b/scripts/poky-autobuild-postprocess-moblin deleted file mode 100755 index 4038055baf..0000000000 --- a/scripts/poky-autobuild-postprocess-moblin +++ /dev/null | |||
@@ -1,164 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # Poky Automated Build Server Post Processing Script | ||
4 | # | ||
5 | # Copyright (C) 2006-2007 OpenedHand Ltd. | ||
6 | # | ||
7 | # This program is free software; you can redistribute it and/or modify | ||
8 | # it under the terms of the GNU General Public License as published by | ||
9 | # the Free Software Foundation; either version 2 of the License, or | ||
10 | # (at your option) any later version. | ||
11 | # | ||
12 | # This program is distributed in the hope that it will be useful, | ||
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | # GNU General Public License for more details. | ||
16 | # | ||
17 | # You should have received a copy of the GNU General Public License | ||
18 | # along with this program; if not, write to the Free Software | ||
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | |||
21 | ABTARGET=$1 | ||
22 | TARGETDIR=$2 | ||
23 | |||
24 | cd ./build/tmp/deploy/ | ||
25 | |||
26 | DEST=$TARGETDIR/$ABTARGET/ | ||
27 | BASE=`date +%Y%m%d` | ||
28 | REV=1 | ||
29 | |||
30 | while [ -d "$DEST$FOO$BASE-$REV" ] | ||
31 | do | ||
32 | REV=`expr $REV + 1` | ||
33 | done | ||
34 | |||
35 | DEST="$DEST$FOO$BASE-$REV" | ||
36 | mkdir -p $DEST | ||
37 | |||
38 | COMPRESS_FILES=() | ||
39 | FILES=() | ||
40 | |||
41 | if [ "x$ABTARGET" = "xpoky-bleeding" ]; then | ||
42 | COMPRESS_FILES=( | ||
43 | poky-image-sato-qemuarm-*.rootfs.ext2 | ||
44 | ) | ||
45 | |||
46 | FILES=( | ||
47 | gitinfo | ||
48 | `readlink images/zImage-akita.bin` | ||
49 | `readlink images/zImage-qemuarm.bin` | ||
50 | updater.sh.akita | ||
51 | poky-image-sato-akita-*.rootfs.summary.jffs2 | ||
52 | poky-image-sato-qemuarm-*.rootfs.tar.bz2 | ||
53 | ) | ||
54 | fi | ||
55 | |||
56 | if [ "x$ABTARGET" = "xtoolchain" ]; then | ||
57 | FILES=( | ||
58 | gitinfo | ||
59 | poky-*-toolchain-*.tar.bz2 | ||
60 | ) | ||
61 | fi | ||
62 | |||
63 | if [ "x$ABTARGET" = "xpoky" ]; then | ||
64 | COMPRESS_FILES=( | ||
65 | poky-image-sdk-qemuarm-*.rootfs.ext2 | ||
66 | poky-image-sdk-qemux86-*.rootfs.ext2 | ||
67 | poky-image-minimal-qemuarm-*.rootfs.ext2 | ||
68 | poky-image-minimal-qemux86-*.rootfs.ext2 | ||
69 | poky-image-sato-cd-*.iso | ||
70 | ) | ||
71 | |||
72 | FILES=( | ||
73 | gitinfo | ||
74 | `readlink images/zImage-akita.bin` | ||
75 | `readlink images/zImage-c7x0.bin` | ||
76 | `readlink images/zImage-qemuarm.bin` | ||
77 | `readlink images/zImage-spitz.bin` | ||
78 | `readlink images/zImage-nokia800.bin` | ||
79 | `readlink images/bzImage-qemux86.bin` | ||
80 | `readlink images/bzImage-netbook.bin` | ||
81 | `readlink images/zImage-htcuniversal.bin` | ||
82 | `readlink images/zImage-mx31litekit.bin` | ||
83 | `readlink images/zImage-mx31ads.bin` | ||
84 | `readlink images/zImage-nokia770.bin` | ||
85 | `readlink images/zImage-zylonite.bin` | ||
86 | `readlink images/zImage-cm-x270.bin` | ||
87 | `readlink images/uImage-em-x270.bin` | ||
88 | `readlink images/uImage-mx31phy.bin` | ||
89 | `readlink images/uImage-neo1973-latest.bin` | ||
90 | `readlink images/uImage-om-gta01.bin` | ||
91 | `readlink images/uImage-om-gta02.bin` | ||
92 | updater.sh.akita | ||
93 | updater.sh.c7x0 | ||
94 | updater.sh.spitz | ||
95 | gnu-tar | ||
96 | poky-image-live-netbook-*.hddimg | ||
97 | poky-image-minimal-live-netbook-*.hddimg | ||
98 | poky-image-sato-akita-*.rootfs.summary.jffs2 | ||
99 | poky-image-sato-c7x0-*.rootfs.jffs2 | ||
100 | poky-image-sato-spitz-*.rootfs.tar.gz | ||
101 | poky-image-sdk-qemuarm-*.rootfs.tar.bz2 | ||
102 | poky-image-sdk-qemux86-*.rootfs.tar.bz2 | ||
103 | poky-image-minimal-qemuarm-*.rootfs.tar.bz2 | ||
104 | poky-image-minimal-qemux86-*.rootfs.tar.bz2 | ||
105 | poky-image-sdk-spitz-*.rootfs.tar.gz | ||
106 | poky-image-sdk-nokia800-*.rootfs.jffs2 | ||
107 | poky-image-sato-nokia770-*.rootfs.jffs2 | ||
108 | poky-image-sato-zylonite-*.rootfs.jffs2 | ||
109 | poky-image-sato-cm-x270-*.rootfs.jffs2 | ||
110 | poky-image-sato-em-x270-*.rootfs.jffs2 | ||
111 | poky-image-sato-mx31litekit-*.rootfs.tar.gz | ||
112 | poky-image-sato-htcuniversal-*.rootfs.tar.gz | ||
113 | poky-image-sato-om-gta01-*.rootfs.jffs2 | ||
114 | poky-image-sato-om-gta02-*.rootfs.jffs2 | ||
115 | poky-image-sato-mx31phy-*.jffs2 | ||
116 | poky-image-sato-mx31ads-*.jffs2 | ||
117 | `readlink images/updater-em-x270.ext2` | ||
118 | ) | ||
119 | fi | ||
120 | |||
121 | if [ "x$ABTARGET" = "xmoblin-incremental" -o "x$ABTARGET" = "xmoblin-full" ]; then | ||
122 | COMPRESS_FILES=( | ||
123 | moblin-image-live-netbook-*.hddimg | ||
124 | moblin-image-live-netbook-*.iso | ||
125 | moblin-image-netbook-netbook-*.ext3 | ||
126 | moblin-image-sdk-live-netbook-*.hddimg | ||
127 | moblin-image-sdk-live-netbook-*.iso | ||
128 | moblin-image-sdk-netbook-*.ext3 | ||
129 | ) | ||
130 | |||
131 | FILES=( | ||
132 | gitinfo | ||
133 | `readlink images/bzImage-netbook.bin` | ||
134 | moblin-image-netbook-netbook-*.cpio.gz | ||
135 | moblin-image-netbook-netbook-*.jffs2 | ||
136 | moblin-image-sdk-netbook-*.cpio.gz | ||
137 | moblin-image-sdk-netbook-*.jffs2 | ||
138 | moblin-*toolchain*tar.bz2 | ||
139 | ) | ||
140 | fi | ||
141 | |||
142 | |||
143 | for FILE in ${FILES[@]}; do | ||
144 | for FILE2 in `find -name $FILE`; do | ||
145 | if [ ! -e "$DEST/$FILE2" ]; then | ||
146 | cp $FILE2 $DEST | ||
147 | fi | ||
148 | done | ||
149 | done | ||
150 | |||
151 | for FILE in ${COMPRESS_FILES[@]}; do | ||
152 | for FILE2 in `find -name $FILE`; do | ||
153 | if [ ! -e "$DEST/$FILE2.bz2" ]; then | ||
154 | bzip2 $FILE2 | ||
155 | cp $FILE2.bz2 $DEST | ||
156 | fi | ||
157 | done | ||
158 | done | ||
159 | |||
160 | if [ -e ./images/images-complete ]; then | ||
161 | touch $DEST/complete | ||
162 | fi | ||
163 | chmod a+w -R $DEST 2> /dev/null || true | ||
164 | |||
diff --git a/scripts/pokyABConfig.py b/scripts/pokyABConfig.py deleted file mode 100644 index 27fe5e6354..0000000000 --- a/scripts/pokyABConfig.py +++ /dev/null | |||
@@ -1,172 +0,0 @@ | |||
1 | |||
2 | import copy | ||
3 | |||
4 | builders = [] | ||
5 | |||
6 | defaultenv = {} | ||
7 | defaultenv['POKYLIBC'] = 'glibc' | ||
8 | #defaultenv['PACKAGE_CLASSES'] = 'package_ipk package_deb' | ||
9 | #defaultenv['BB_NUMBER_THREADS'] = '4' | ||
10 | #defaultenv['DL_DIR'] = '/srv/poky/sources' | ||
11 | |||
12 | def runImage(factory, machine, image): | ||
13 | defaultenv['MACHINE'] = machine | ||
14 | factory.addStep(step.ShellCommand, description=["Building", machine, image], command=["./scripts/poky-autobuild", image], env=copy.copy(defaultenv), timeout=10000) | ||
15 | |||
16 | def runComplete(factory): | ||
17 | factory.addStep(step.ShellCommand, description=["Mark", "complete"], command=["./scripts/poky-autobuild", "complete"], timeout=600) | ||
18 | |||
19 | def runPreamble(factory): | ||
20 | factory.addStep(step.ShellCommand, description=["Run", "preamble"], command=["./scripts/poky-autobuild", "preamble"], timeout=30) | ||
21 | |||
22 | |||
23 | from buildbot.process import step, factory | ||
24 | f3 = factory.BuildFactory() | ||
25 | f3.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000) | ||
26 | runPreamble(f3) | ||
27 | runImage(f3, 'qemuarm', 'poky-image-minimal') | ||
28 | runImage(f3, 'qemuarm', 'poky-image-sato') | ||
29 | runImage(f3, 'qemuarm', 'poky-image-sdk') | ||
30 | runImage(f3, 'spitz', 'poky-image-minimal') | ||
31 | runImage(f3, 'spitz', 'poky-image-sato') | ||
32 | runImage(f3, 'spitz', 'poky-image-sdk') | ||
33 | runImage(f3, 'akita', 'poky-image-minimal') | ||
34 | runImage(f3, 'akita', 'poky-image-sato') | ||
35 | runImage(f3, 'c7x0', 'poky-image-minimal') | ||
36 | runImage(f3, 'c7x0', 'poky-image-sato') | ||
37 | runImage(f3, 'cm-x270', 'poky-image-minimal') | ||
38 | runImage(f3, 'cm-x270', 'poky-image-sato') | ||
39 | runImage(f3, 'em-x270', 'poky-image-minimal') | ||
40 | runImage(f3, 'em-x270', 'poky-image-sato') | ||
41 | runImage(f3, 'htcuniversal', 'poky-image-minimal') | ||
42 | runImage(f3, 'htcuniversal', 'poky-image-sato') | ||
43 | runImage(f3, 'mx31litekit', 'poky-image-minimal') | ||
44 | runImage(f3, 'mx31litekit', 'poky-image-sato') | ||
45 | runImage(f3, 'mx31phy', 'poky-image-minimal') | ||
46 | runImage(f3, 'mx31phy', 'poky-image-sato') | ||
47 | runImage(f3, 'mx31ads', 'poky-image-minimal') | ||
48 | runImage(f3, 'mx31ads', 'poky-image-sato') | ||
49 | runImage(f3, 'zylonite', 'poky-image-minimal') | ||
50 | runImage(f3, 'zylonite', 'poky-image-sato') | ||
51 | runImage(f3, 'nokia770', 'poky-image-minimal') | ||
52 | runImage(f3, 'nokia770', 'poky-image-sato') | ||
53 | runImage(f3, 'nokia800', 'poky-image-minimal') | ||
54 | runImage(f3, 'nokia800', 'poky-image-sato') | ||
55 | runImage(f3, 'nokia800', 'poky-image-sdk') | ||
56 | runImage(f3, 'om-gta01', 'poky-image-minimal') | ||
57 | runImage(f3, 'om-gta01', 'poky-image-sato') | ||
58 | runImage(f3, 'om-gta02', 'poky-image-minimal') | ||
59 | runImage(f3, 'om-gta02', 'poky-image-sato') | ||
60 | runImage(f3, 'omap-3430ldp', 'poky-image-minimal') | ||
61 | runImage(f3, 'omap-3430ldp', 'poky-image-sato') | ||
62 | runImage(f3, 'beagleboard', 'poky-image-minimal') | ||
63 | runImage(f3, 'beagleboard', 'poky-image-sato') | ||
64 | runImage(f3, 'qemux86', 'poky-image-minimal') | ||
65 | runImage(f3, 'qemux86', 'poky-image-sato') | ||
66 | runImage(f3, 'qemux86', 'poky-image-sdk') | ||
67 | runImage(f3, 'netbook', 'poky-image-minimal') | ||
68 | runImage(f3, 'netbook', 'poky-image-minimal-live') | ||
69 | runImage(f3, 'netbook', 'poky-image-sato') | ||
70 | runImage(f3, 'netbook', 'poky-image-sato-live') | ||
71 | runImage(f3, 'netbook', 'poky-image-live') | ||
72 | runImage(f3, 'netbook', 'poky-image-sdk') | ||
73 | runImage(f3, 'bootcdx86', 'poky-image-sato-cd') | ||
74 | defaultenv['POKYLIBC'] = 'uclibc' | ||
75 | runImage(f3, 'cm-x270', 'poky-image-minimal-mtdutils') | ||
76 | defaultenv['POKYLIBC'] = 'glibc' | ||
77 | runComplete(f3) | ||
78 | |||
79 | from buildbot.process import step, factory | ||
80 | f4 = factory.BuildFactory() | ||
81 | f4.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", timeout=10000) | ||
82 | runPreamble(f4) | ||
83 | f4.addStep(step.ShellCommand, description=["Cleaning", "previous", "images"], command="/bin/rm build/tmp/deploy/images/poky-image* || /bin/true", timeout=600) | ||
84 | f4.addStep(step.ShellCommand, description=["Cleaning", "previous", "images", "step 2"], command="/bin/rm build/tmp/deploy/images/rootfs* || /bin/true", timeout=600) | ||
85 | runImage(f4, 'qemuarm', 'poky-image-sdk') | ||
86 | runImage(f4, 'qemuarm', 'world') | ||
87 | runImage(f4, 'qemux86', 'poky-image-sdk') | ||
88 | runImage(f4, 'qemux86', 'world') | ||
89 | runImage(f4, 'omap-3430ldp', 'poky-image-sato') | ||
90 | runImage(f4, 'netbook', 'poky-image-sato-live') | ||
91 | runComplete(f4) | ||
92 | |||
93 | from buildbot.process import step, factory | ||
94 | f5 = factory.BuildFactory() | ||
95 | f5.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000) | ||
96 | runPreamble(f5) | ||
97 | defaultenv['DISTRO'] = 'poky-bleeding' | ||
98 | runImage(f5, 'akita', 'poky-image-sato') | ||
99 | runImage(f5, 'qemuarm', 'poky-image-sato') | ||
100 | runComplete(f5) | ||
101 | |||
102 | from buildbot.process import step, factory | ||
103 | f6 = factory.BuildFactory() | ||
104 | f6.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000) | ||
105 | runPreamble(f6) | ||
106 | defaultenv['DISTRO'] = 'poky' | ||
107 | runImage(f6, 'qemuarm', 'meta-toolchain') | ||
108 | runImage(f6, 'qemuarm', 'meta-toolchain-sdk') | ||
109 | runImage(f6, 'qemux86', 'meta-toolchain') | ||
110 | runImage(f6, 'qemux86', 'meta-toolchain-sdk') | ||
111 | runImage(f6, 'qemuarm', 'world -c checkuriall') | ||
112 | runComplete(f6) | ||
113 | |||
114 | from buildbot.process import step, factory | ||
115 | f7 = factory.BuildFactory() | ||
116 | f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000) | ||
117 | runPreamble(f7) | ||
118 | defaultenv['DISTRO'] = 'poky' | ||
119 | defaultenv['POKYLIBC'] = 'dummy' | ||
120 | runImage(f7, 'ipodtouch', 'meta-clutter') | ||
121 | runImage(f7, 'ipodtouch', 'meta-toolchain') | ||
122 | runImage(f7, 'ipodtouch', 'meta-toolchain-sdk') | ||
123 | defaultenv['POKYLIBC'] = 'glibc' | ||
124 | runComplete(f7) | ||
125 | |||
126 | #from buildbot.process import step, factory | ||
127 | #f7 = factory.BuildFactory() | ||
128 | #f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", timeout=10000) | ||
129 | #runPreamble(f7) | ||
130 | #defaultenv['DISTRO'] = 'poky' | ||
131 | #runImage(f7, 'qemuarm', 'world') | ||
132 | #runImage(f7, 'qemux86', 'world') | ||
133 | #runComplete(f7) | ||
134 | |||
135 | b3 = {'name': "poky-full-shihtzu", | ||
136 | 'slavename': "shihtzu-autobuild", | ||
137 | 'builddir': "full-shihtzu", | ||
138 | 'factory': f3, | ||
139 | } | ||
140 | |||
141 | b4 = {'name': "poky-incremental-shihtzu", | ||
142 | 'slavename': "shihtzu-autobuild", | ||
143 | 'builddir': "incremental-shihtzu", | ||
144 | 'factory': f4 | ||
145 | } | ||
146 | |||
147 | b5 = {'name': "poky-full-bleeding-shihtzu", | ||
148 | 'slavename': "shihtzu-autobuild", | ||
149 | 'builddir': "full-bleeding-shihtzu", | ||
150 | 'factory': f5 | ||
151 | } | ||
152 | |||
153 | b6 = {'name': "poky-toolchain-shihtzu", | ||
154 | 'slavename': "shihtzu-autobuild", | ||
155 | 'builddir': "toolchain-shihtzu", | ||
156 | 'factory': f6 | ||
157 | } | ||
158 | |||
159 | b7 = {'name': "poky-full-darwin-shihtzu", | ||
160 | 'slavename': "shihtzu-autobuild", | ||
161 | 'builddir': "full-darwin-shihtzu", | ||
162 | 'factory': f7 | ||
163 | } | ||
164 | |||
165 | #b7 = {'name': "poky-incremental-world-shihtzu", | ||
166 | # 'slavename': "shihtzu-autobuild", | ||
167 | # 'builddir': "incremental-world-shihtzu", | ||
168 | # 'factory': f7 | ||
169 | # } | ||
170 | |||
171 | poky_builders = [b3, b4, b5, b6, b7] | ||
172 | |||