buildrepo
author Alex Viskovatoff <herzen@imap.cc>
Wed, 06 Jul 2011 03:54:09 +0100
changeset 10 013ce4d15ea3
parent 7 f5f12f417d49
child 17 916a0c548383
permissions -rwxr-xr-x
Make pkgtool resolve build dependency on SFEgcc The reason this patch is required is that the name of the gcc devel package (SFEgcc) is different from the name of the main package of that spec (SFEgccruntime). That naming scheme is utterly anomalous.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
678173477765 Make pkgbuild set dependencies properly; add buildrepo and uninstall-packages
Alex Viskovatoff <herzen@imap.cc>
parents:
diff changeset
     1
#!/usr/bin/bash
678173477765 Make pkgbuild set dependencies properly; add buildrepo and uninstall-packages
Alex Viskovatoff <herzen@imap.cc>
parents:
diff changeset
     2
mkdir -p ~/logs/$1
678173477765 Make pkgbuild set dependencies properly; add buildrepo and uninstall-packages
Alex Viskovatoff <herzen@imap.cc>
parents:
diff changeset
     3
# g++ sometimes picks up libstdcxx4 if it is present
678173477765 Make pkgbuild set dependencies properly; add buildrepo and uninstall-packages
Alex Viskovatoff <herzen@imap.cc>
parents:
diff changeset
     4
pfexec pkg uninstall -r stdcxx
7
f5f12f417d49 Move our addition to pkgdb.pm up a bit; add initialize-repo
Alex Viskovatoff <herzen@imap.cc>
parents: 6
diff changeset
     5
time pkgtool --nonotify --report=/export/home/herzen/reports/$1-gcc-first.html --logdir=/export/home/herzen/logs/$1 --autodeps --download build SFEgcc
f5f12f417d49 Move our addition to pkgdb.pm up a bit; add initialize-repo
Alex Viskovatoff <herzen@imap.cc>
parents: 6
diff changeset
     6
time pkgtool --nonotify --report=/export/home/herzen/reports/$1.html --logdir=/export/home/herzen/logs/$1 --autodeps --download build `xsltproc ../spec-files-extra-oi/specfiles.xsl ../spec-files-extra-oi/packages.xml`