From 274ec3245555143dc86abac88d6a4fab47e809f7 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 4 Dec 2007 13:19:56 +0000 Subject: build-release.sh: script that tells the angstrom autobuilder what to build --- contrib/angstrom/build-release.sh | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 contrib/angstrom/build-release.sh (limited to 'contrib') diff --git a/contrib/angstrom/build-release.sh b/contrib/angstrom/build-release.sh new file mode 100755 index 0000000000..7f594298b9 --- /dev/null +++ b/contrib/angstrom/build-release.sh @@ -0,0 +1,50 @@ +#!/bin/bash + +# No graphics +for i in ep93xx ixp4xxle ixp4xxbe gumstix-connex efika + do + echo "MACHINE = \"$i\"" > conf/auto.conf + bitbake minimal-image ; bitbake console-image + done + +for i in ixp4xxle ixp4xxbe + do + echo "MACHINE = \"$i\"" > conf/auto.conf + bitbake nslu2-minimal-image + done + +# build altboot images for zaurus +for i in c7x0 poodle tosa akita spitz collie + do + echo "MACHINE = \"$i\"" > conf/auto.conf + bitbake altboot-console-image +# echo ANGSTROM_MODE = \"uclibc\" >> conf/auto.conf +# bitbake altboot-console-image + done + +# graphics, flash storage +for i in fic-gta01 a780 at91sam9263ek qemuarm h2200 h4000 omap5912osk poodle tosa hx4700 c7x0 spitz akita collie + do + echo "MACHINE = \"$i\"" > conf/auto.conf + bitbake minimal-image ; bitbake console-image ; bitbake x11-image + done + +# graphics, disk storage +for i in spitz + do + echo "MACHINE = \"$i\"" > conf/auto.conf + bitbake -c clean qmake2-native ; bitbake x11-gpe-image ; bitbake x11-pimlico-image ; bitbake x11-office-image +# echo ANGSTROM_MODE = \"uclibc\" >> conf/auto.conf +# bitbake x11-gpe-mage ; bitbake x11-pimlico-image ; bitbake x11-office-image + done + + +#phones +for i in fic-gta01 a780 + do + echo "MACHINE = \"$i\"" > conf/auto.conf + bitbake -c clean qmake2-native ;bitbake openmoko-image +# echo ANGSTROM_MODE = \"uclibc\" >> conf/auto.conf +# bitbake openmoko-image + done + -- cgit v1.2.3 From 83b9338edd0ff86800683c609e26ef8d6748c2bb Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 5 Dec 2007 13:02:47 +0000 Subject: =?UTF-8?q?build-release.sh:=20rewritten=20=C3=85ngstr=C3=B6m=20au?= =?UTF-8?q?tobuilder=20script=20-=20one=20function=20for=20building=20-=20?= =?UTF-8?q?uclibc=20is=20switchable=20in=20one=20place=20-=20simple=20func?= =?UTF-8?q?tion=20to=20give=20info=20about=20success=20of=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contrib/angstrom/build-release.sh | 110 ++++++++++++++++++++++++-------------- 1 file changed, 71 insertions(+), 39 deletions(-) (limited to 'contrib') diff --git a/contrib/angstrom/build-release.sh b/contrib/angstrom/build-release.sh index 7f594298b9..7ffad9690d 100755 --- a/contrib/angstrom/build-release.sh +++ b/contrib/angstrom/build-release.sh @@ -1,50 +1,82 @@ #!/bin/bash +DO_UCLIBC=0 + +do_build() { + echo "MACHINE = \"$BUILD_MACHINE\"" > conf/auto.conf + + BUILD_MODE="glibc" + if [ "$BUILD_CLEAN" != "" ] + then + bitbake -c clean $BUILD_CLEAN + fi + + for target in $BUILD_TARGETS + do + bitbake $target && do_report_success + done + + if [ $DO_UCLIBC = 1 ] + then + BUILD_MODE="uclibc" + echo 'ANGSTROM_MODE = "uclibc"' >> conf/auto.conf + for target in $BUILD_TARGETS + do + bitbake $target && do_report_success + done + fi +} + +do_report_success() { + + echo "$target ($BUILD_MODE) built for $machine" >> autobuilder.log +} + # No graphics -for i in ep93xx ixp4xxle ixp4xxbe gumstix-connex efika - do - echo "MACHINE = \"$i\"" > conf/auto.conf - bitbake minimal-image ; bitbake console-image - done - -for i in ixp4xxle ixp4xxbe - do - echo "MACHINE = \"$i\"" > conf/auto.conf - bitbake nslu2-minimal-image - done +for machine in ep93xx ixp4xxle ixp4xxbe gumstix-connex efika +do + BUILD_MACHINE=$machine + BUILD_TARGETS="minimal-image console-image" + do_build +done + +for machine in ixp4xxle ixp4xxbe +do + BUILD_MACHINE=$machine + BUILD_TARGETS="nslu2-minimal-image" + do_build +done # build altboot images for zaurus -for i in c7x0 poodle tosa akita spitz collie - do - echo "MACHINE = \"$i\"" > conf/auto.conf - bitbake altboot-console-image -# echo ANGSTROM_MODE = \"uclibc\" >> conf/auto.conf -# bitbake altboot-console-image - done +for machine in c7x0 poodle tosa akita spitz collie +do + BUILD_MACHINE=$machine + BUILD_TARGETS="altboot-console-image" + do_build +done # graphics, flash storage -for i in fic-gta01 a780 at91sam9263ek qemuarm h2200 h4000 omap5912osk poodle tosa hx4700 c7x0 spitz akita collie - do - echo "MACHINE = \"$i\"" > conf/auto.conf - bitbake minimal-image ; bitbake console-image ; bitbake x11-image - done +for machine in fic-gta01 a780 at91sam9263ek qemuarm h2200 h4000 omap5912osk poodle tosa hx4700 c7x0 spitz akita collie +do + BUILD_MACHINE=$machine + BUILD_TARGETS="minimal-image console-image x11-image" + do_build +done # graphics, disk storage -for i in spitz - do - echo "MACHINE = \"$i\"" > conf/auto.conf - bitbake -c clean qmake2-native ; bitbake x11-gpe-image ; bitbake x11-pimlico-image ; bitbake x11-office-image -# echo ANGSTROM_MODE = \"uclibc\" >> conf/auto.conf -# bitbake x11-gpe-mage ; bitbake x11-pimlico-image ; bitbake x11-office-image - done - +for machine in spitz +do + BUILD_MACHINE=$machine + BUILD_TARGETS="x11-gpe-image x11-pimlico-image x11-office-image" + BUILD_CLEAN="qmake2-native" + do_build +done #phones -for i in fic-gta01 a780 - do - echo "MACHINE = \"$i\"" > conf/auto.conf - bitbake -c clean qmake2-native ;bitbake openmoko-image -# echo ANGSTROM_MODE = \"uclibc\" >> conf/auto.conf -# bitbake openmoko-image - done - +for machine in fic-gta01 a780 +do + BUILD_MACHINE=$machine + BUILD_TARGETS="openmoko-image" + BUILD_CLEAN="qmake2-native" + do_build +done -- cgit v1.2.3 From b6d54b3a2341b5495cd24f1cdee826c3bc2cc425 Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Wed, 5 Dec 2007 13:19:26 +0000 Subject: angstrom/build-release.sh : Remove graphics support from omap5912osk until flashing large image problem solved. --- contrib/angstrom/build-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/angstrom/build-release.sh b/contrib/angstrom/build-release.sh index 7ffad9690d..b6085f75dd 100755 --- a/contrib/angstrom/build-release.sh +++ b/contrib/angstrom/build-release.sh @@ -33,7 +33,7 @@ do_report_success() { } # No graphics -for machine in ep93xx ixp4xxle ixp4xxbe gumstix-connex efika +for machine in ep93xx ixp4xxle ixp4xxbe gumstix-connex efika omap5912osk do BUILD_MACHINE=$machine BUILD_TARGETS="minimal-image console-image" @@ -56,7 +56,7 @@ do done # graphics, flash storage -for machine in fic-gta01 a780 at91sam9263ek qemuarm h2200 h4000 omap5912osk poodle tosa hx4700 c7x0 spitz akita collie +for machine in fic-gta01 a780 at91sam9263ek qemuarm h2200 h4000 poodle tosa hx4700 c7x0 spitz akita collie do BUILD_MACHINE=$machine BUILD_TARGETS="minimal-image console-image x11-image" -- cgit v1.2.3 From 85ad8d701fd3606dabd76c7cce2c74f080d0d984 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 5 Dec 2007 13:53:36 +0000 Subject: build-release.sh: remove console-image from ixp4xx builds --- contrib/angstrom/build-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/angstrom/build-release.sh b/contrib/angstrom/build-release.sh index b6085f75dd..8aec5ebebd 100755 --- a/contrib/angstrom/build-release.sh +++ b/contrib/angstrom/build-release.sh @@ -33,7 +33,7 @@ do_report_success() { } # No graphics -for machine in ep93xx ixp4xxle ixp4xxbe gumstix-connex efika omap5912osk +for machine in ep93xx gumstix-connex efika omap5912osk do BUILD_MACHINE=$machine BUILD_TARGETS="minimal-image console-image" -- cgit v1.2.3 From 20f081f50569670fdc7088d711ed2bd34b2bb11b Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Wed, 5 Dec 2007 17:06:14 +0000 Subject: python 2.5.1 enable and package ctypes module/package. closes #3368 -- thanks emdete! --- contrib/python/generate-manifest-2.5.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'contrib') diff --git a/contrib/python/generate-manifest-2.5.py b/contrib/python/generate-manifest-2.5.py index 1317f23b4a..d4b7ea16f6 100755 --- a/contrib/python/generate-manifest-2.5.py +++ b/contrib/python/generate-manifest-2.5.py @@ -2,7 +2,8 @@ # generate Python Manifest for the OpenEmbedded build system # (C) 2002-2007 Michael 'Mickey' Lauer -# MIT license +# (C) 2007 Jeremy Laine +# licensed under MIT, see COPYING.MIT import os import sys @@ -10,10 +11,10 @@ import time VERSION = "2.5.1" # increase when touching python-core, this should be the same ml version as in python_2.5.1.bb -BASEREV = 2 +BASEREV = 3 __author__ = "Michael 'Mickey' Lauer " -__version__ = "20070823" +__version__ = "20071205" class MakefileMaker: @@ -194,7 +195,10 @@ if __name__ == "__main__": "lib-dynload/_csv.so csv.* optparse.* textwrap.*" ) m.addPackage( 0, "python-curses", "Python Curses Support", "python-core", - "curses lib-dynload/_curses.so lib-dynload/_curses_panel.so" ) # package + "curses lib-dynload/_curses.so lib-dynload/_curses_panel.so" ) # directory + low level module + + m.addPackage( 0, "python-ctypes", "Python C Types Support", "python-core", + "ctypes lib-dynload/_ctypes.so" ) # directory + low level module m.addPackage( 0, "python-datetime", "Python Calendar and Time support", "python-core python-codecs", "_strptime.* calendar.* lib-dynload/datetime.so" ) -- cgit v1.2.3 From 33bda49c279acf18355f6e9076af1ee7b7862112 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 6 Dec 2007 11:31:55 +0000 Subject: build-release.sh: timestamp success reports --- contrib/angstrom/build-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/angstrom/build-release.sh b/contrib/angstrom/build-release.sh index 8aec5ebebd..e487669e0d 100755 --- a/contrib/angstrom/build-release.sh +++ b/contrib/angstrom/build-release.sh @@ -29,7 +29,7 @@ do_build() { do_report_success() { - echo "$target ($BUILD_MODE) built for $machine" >> autobuilder.log + echo "$(date -u +%Y%M%d%H%M) $target ($BUILD_MODE) built for $machine" >> autobuilder.log } # No graphics -- cgit v1.2.3 From c712e2c908a03640dae2e4e5fb84ae3e49394b58 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 6 Dec 2007 14:48:06 +0000 Subject: contrib: angstrom/rss.php: quick & dirty rss generator for autobuilder uploads * point your newsreader to http://www.angstrom-distribution.org/unstable/autobuild/rss.php to view it in actions --- contrib/angstrom/rss.php | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 contrib/angstrom/rss.php (limited to 'contrib') diff --git a/contrib/angstrom/rss.php b/contrib/angstrom/rss.php new file mode 100644 index 0000000000..85b0a51fb4 --- /dev/null +++ b/contrib/angstrom/rss.php @@ -0,0 +1,43 @@ +');?> + + + Ångstrom autobuilder updates + http://www.anstrom-distribution.org/unstable/autobuild + + en +\n"); +print("$file/$file2 uploaded\n"); +print(" http://www.anstrom-distribution.org/unstable/autobuild/$file/$file2\n"); + +$rsstime = strftime("%a, %d %b %Y %T +0000", $fmtime); + +print("$rsstime\n"); +print("Angstrom autobuilder"); +print("\n"); + + } + } + closedir($second_handle); + } + + } + closedir($handle); +} +?> + + + + -- cgit v1.2.3 From a8a23bb8cd3ede2b44097d7145c40702f7d70a63 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 6 Dec 2007 15:24:14 +0000 Subject: angstrom/rss.php: fix links --- contrib/angstrom/rss.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib') diff --git a/contrib/angstrom/rss.php b/contrib/angstrom/rss.php index 85b0a51fb4..8970ba1797 100644 --- a/contrib/angstrom/rss.php +++ b/contrib/angstrom/rss.php @@ -1,8 +1,8 @@ ');?> - + Ångstrom autobuilder updates - http://www.anstrom-distribution.org/unstable/autobuild + http://www.angstrom-distribution.org/unstable/autobuild en \n"); print("$file/$file2 uploaded\n"); -print(" http://www.anstrom-distribution.org/unstable/autobuild/$file/$file2\n"); +print(" http://www.angstrom-distribution.org/unstable/autobuild/$file/$file2\n"); -$rsstime = strftime("%a, %d %b %Y %T +0000", $fmtime); +$rsstime = strftime("%a, %d %b %Y %T +0100", $fmtime); print("$rsstime\n"); print("Angstrom autobuilder"); -- cgit v1.2.3 From fb89e1265c288b619f04c0f6c06193c8e1a0a46d Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 6 Dec 2007 20:04:26 +0000 Subject: =?UTF-8?q?=C3=85ngstr=C3=B6m=20autobuilder:=20new=20RSS=20generat?= =?UTF-8?q?or?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contrib/angstrom/build-release.sh | 2 +- contrib/angstrom/rss.php | 57 +++++++++++++++++++---------------- contrib/angstrom/rss2.php | 63 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 27 deletions(-) create mode 100644 contrib/angstrom/rss2.php (limited to 'contrib') diff --git a/contrib/angstrom/build-release.sh b/contrib/angstrom/build-release.sh index e487669e0d..7ba5f8bf3b 100755 --- a/contrib/angstrom/build-release.sh +++ b/contrib/angstrom/build-release.sh @@ -29,7 +29,7 @@ do_build() { do_report_success() { - echo "$(date -u +%Y%M%d%H%M) $target ($BUILD_MODE) built for $machine" >> autobuilder.log + echo "$(date -u +%s) $target $BUILD_MODE $machine" >> autobuilder.log } # No graphics diff --git a/contrib/angstrom/rss.php b/contrib/angstrom/rss.php index 8970ba1797..cf5a9e0218 100644 --- a/contrib/angstrom/rss.php +++ b/contrib/angstrom/rss.php @@ -1,43 +1,48 @@ -');?> +'); ?> - - Ångstrom autobuilder updates - http://www.angstrom-distribution.org/unstable/autobuild - - en + + Ångström autobuilder updates + http://www.angstrom-distribution.org/unstable/autobuild/ + + en \n"); -print("$file/$file2 uploaded\n"); -print(" http://www.angstrom-distribution.org/unstable/autobuild/$file/$file2\n"); + while (false !== ($file2 = readdir($second_handle))) + { + if(is_file("/$base_path/$file/$file2")) + { + $fmtime = filemtime("$file/$file2"); -$rsstime = strftime("%a, %d %b %Y %T +0100", $fmtime); + echo "\n" + echo "$file/$file2 uploaded\n"; + echo " http://www.angstrom-distribution.org/unstable/autobuild/$file/$file2\n"; -print("$rsstime\n"); -print("Angstrom autobuilder"); -print("\n"); + $rsstime = strftime("%a, %d %b %Y %T +0100", $fmtime); - } + echo "$rsstime\n"; + echo "Angstrom autobuilder"; + echo "\n"; } - closedir($second_handle); - } + } + closedir($second_handle); } + closedir($handle); } ?> - + - - diff --git a/contrib/angstrom/rss2.php b/contrib/angstrom/rss2.php new file mode 100644 index 0000000000..995c344e14 --- /dev/null +++ b/contrib/angstrom/rss2.php @@ -0,0 +1,63 @@ +openMemory(); + +$rss_xml->startDocument('1.0','utf-8'); +$rss_xml->startElement('rss'); +$rss_xml->writeAttribute('version', '2.0'); + +$rss_xml->startElement('channel'); + +$rss_xml->writeElement('title', 'Ångström autobuilder updates'); +$rss_xml->writeElement('link', $build_link_base); +$rss_xml->writeElement('description', 'Ångström autobuilder updates list'); + +foreach($builder_log_date as $build) +{ + $build = str_replace("\n", "", $build); + $data = explode(' ', $build); + + $rss_xml->startElement('item'); + $rss_xml->writeElement('title', "{$data[1]} ({$data[2]}) built for {$data[3]}"); + $rss_xml->writeElement('link', "{$build_link_base}{$data[3]}/"); + $rss_xml->writeElement('pubDate', date('r', $data[0])); + + $rss_xml->endElement(); +} + +$rss_xml->endElement(); +$rss_xml->endElement(); + +echo $rss_xml->outputMemory(true); + +echo "\n"; +?> -- cgit v1.2.3