diff options
author | Erik Troan <ewt@redhat.com> | 2000-11-22 17:30:43 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-11-22 17:30:43 +0000 |
commit | 28a79b2db7f8d43a7840a8d0a2896f21d5049f5d (patch) | |
tree | 0b24f1b9469e5f6c8b4f4a345e0f268f49eecd72 /scripts | |
parent | cb2a4fd0feecdbd9813b6bcf81ceeb4319c332bc (diff) | |
download | anaconda-28a79b2db7f8d43a7840a8d0a2896f21d5049f5d.tar.gz anaconda-28a79b2db7f8d43a7840a8d0a2896f21d5049f5d.tar.xz anaconda-28a79b2db7f8d43a7840a8d0a2896f21d5049f5d.zip |
part of of pkgorder bits
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/buildinstall | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/buildinstall b/scripts/buildinstall index ac6c40d95..f3eb832f2 100755 --- a/scripts/buildinstall +++ b/scripts/buildinstall @@ -45,6 +45,19 @@ if [ $BUILDARCH = "sparc" ]; then BUILDARCH=sparc64 fi +set -x +if [ -x $p/RedHat/instimage/usr/lib/anaconda-runtime/pkgorder ]; then + echo "Getting package order..." + if [ -x /usr/bin/runroot ]; then + runroot dist-7.0 --onlyone --arch $BUILDARCH \ + "cd $p/RedHat/instimage/usr/lib/anaconda-runtime; PYTHONPATH=$p/RedHat/instimage/usr/lib/anaconda ./pkgorder $p $BUILDARCH" > /tmp/pkgorder + else + cd $p/RedHat/instimage/usr/lib/anaconda-runtime; PYTHONPATH=$p/RedHat/instimage/usr/lib/anaconda ./pkgorder $p $BUILDARCH + fi +fi + +exit 0 + if [ -x /usr/bin/runroot ]; then runroot dist-7.0 --onlyone --arch $BUILDARCH "cd $BUILDINSTDIR\; ./mk-images $p/RedHat/RPMS $p $p/image-template $BUILDARCH" else |