[csw-devel] SF.net SVN: opencsw:[332] buildfarm/bin/generate-unstable
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Thu Feb 24 13:15:40 CET 2011
Revision: 332
http://opencsw.svn.sourceforge.net/opencsw/?rev=332&view=rev
Author: wahwah
Date: 2011-02-24 12:15:40 +0000 (Thu, 24 Feb 2011)
Log Message:
-----------
generate-catalog: wrapper to run on the buildfarm
Signed-off-by: Maciej Blizinski <maciej at opencsw.org>
Added Paths:
-----------
buildfarm/bin/generate-unstable
Added: buildfarm/bin/generate-unstable
===================================================================
--- buildfarm/bin/generate-unstable (rev 0)
+++ buildfarm/bin/generate-unstable 2011-02-24 12:15:40 UTC (rev 332)
@@ -0,0 +1,27 @@
+#!/opt/csw/bin/bash
+#
+# Generates a catalog tree from a checkpkg database. For the time being, it's
+# using Peter Bonivart's script to generate the catalog files. It will be
+# eventually generated directly from the database, but the database requires
+# a large schema change.
+
+export PATH=/opt/csw/bin:/opt/csw/sbin:/usr/bin:/usr/sbin
+
+set -u
+set -e
+
+/home/web/bin/gar/bin/pkgdb gen-cat /home/mirror/opencsw-future/allpkgs /home/mirror/opencsw-future
+
+pushd /home/mirror/opencsw-future/unstable
+for arch in i386 sparc; do
+ pushd "${arch}"
+ for osrel in 5.9 5.10 5.11; do
+ pushd "${osrel}"
+ bldcat .
+ popd
+ done
+ popd
+done
+popd
+
+# vim:set ci si ts=2 sts=2 sw=2 expandtab:
Property changes on: buildfarm/bin/generate-unstable
___________________________________________________________________
Added: svn:executable
+ *
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list