summaryrefslogtreecommitdiffstats
path: root/scripts/poky-autobuild-postprocess-moblin
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-09 15:27:25 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-09 15:28:17 +0100
commit62d37206681c3049c5ee7590cb9bce59e782ed15 (patch)
tree7b3b091e3c376b2350718c9f418020d1021a3acd /scripts/poky-autobuild-postprocess-moblin
parent44a88198c129eff0aabd3fb20b999b4bef4aadde (diff)
downloadpoky-62d37206681c3049c5ee7590cb9bce59e782ed15.tar.gz
scripts: Remove autobuilder scripts
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'scripts/poky-autobuild-postprocess-moblin')
-rwxr-xr-xscripts/poky-autobuild-postprocess-moblin164
1 files changed, 0 insertions, 164 deletions
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
21ABTARGET=$1
22TARGETDIR=$2
23
24cd ./build/tmp/deploy/
25
26DEST=$TARGETDIR/$ABTARGET/
27BASE=`date +%Y%m%d`
28REV=1
29
30while [ -d "$DEST$FOO$BASE-$REV" ]
31do
32 REV=`expr $REV + 1`
33done
34
35DEST="$DEST$FOO$BASE-$REV"
36mkdir -p $DEST
37
38COMPRESS_FILES=()
39FILES=()
40
41if [ "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 )
54fi
55
56if [ "x$ABTARGET" = "xtoolchain" ]; then
57 FILES=(
58 gitinfo
59 poky-*-toolchain-*.tar.bz2
60 )
61fi
62
63if [ "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 )
119fi
120
121if [ "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 )
140fi
141
142
143for 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
149done
150
151for 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
158done
159
160if [ -e ./images/images-complete ]; then
161 touch $DEST/complete
162fi
163chmod a+w -R $DEST 2> /dev/null || true
164