[releng] limit to 4GiB the memory that is used by xz.

Dennis Gilmore ausil at fedoraproject.org
Thu Feb 26 19:30:59 UTC 2015


commit 6365861a9e8a2b22cf56c4eba1123a6db3a1b698
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Thu Feb 26 13:28:46 2015 -0600

    limit to 4GiB the memory that is used by xz.
    
    on 32 bit composes the product.img was beingtruncated. it seems to be
    a corner case in xz on 32 bit.

 scripts/run-pungi |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/scripts/run-pungi b/scripts/run-pungi
index b1f3c7a..d0e1348 100755
--- a/scripts/run-pungi
+++ b/scripts/run-pungi
@@ -79,9 +79,9 @@ do
  set -x
  umask 002
  mock -r fedora-branched-compose-$arch --init || exit 1
- mock -r fedora-branched-compose-$arch --shell "pungi -c $KICKSTARTS/fedora-install-workstation.ks --destdir $DESTDIR --cachedir /srv/pungi/cache/ -B -I --no-dvd --ver $VERSION --workdirbase=/tmp/work --flavor Workstation --name=Fedora-Workstation --installpkgs fedora-productimg-workstation"
- mock -r fedora-branched-compose-$arch --shell "pungi -c $KICKSTARTS/fedora-install-server.ks --destdir $DESTDIR --cachedir /srv/pungi/cache/  -B -I --ver $VERSION --workdirbase=/tmp/work --flavor Server --name=Fedora-Server --installpkgs fedora-productimg-server"
- mock -r fedora-branched-compose-$arch --shell "pungi -c $KICKSTARTS/fedora-install-cloud.ks --destdir $DESTDIR --cachedir /srv/pungi/cache/ -B -I --no-dvd  --ver $VERSION --workdirbase=/tmp/work --flavor Cloud --name=Fedora-Cloud --installpkgs fedora-productimg-cloud"
+ mock -r fedora-branched-compose-$arch --shell "XZ_DEFAULTS=--memlimit-compress=4GiB pungi -c $KICKSTARTS/fedora-install-workstation.ks --destdir $DESTDIR --cachedir /srv/pungi/cache/ -B -I --no-dvd --ver $VERSION --workdirbase=/tmp/work --flavor Workstation --name=Fedora-Workstation --installpkgs fedora-productimg-workstation"
+ mock -r fedora-branched-compose-$arch --shell "XZ_DEFAULTS=--memlimit-compress=4GiB pungi -c $KICKSTARTS/fedora-install-server.ks --destdir $DESTDIR --cachedir /srv/pungi/cache/  -B -I --ver $VERSION --workdirbase=/tmp/work --flavor Server --name=Fedora-Server --installpkgs fedora-productimg-server"
+ mock -r fedora-branched-compose-$arch --shell "XZ_DEFAULTS=--memlimit-compress=4GiB pungi -c $KICKSTARTS/fedora-install-cloud.ks --destdir $DESTDIR --cachedir /srv/pungi/cache/ -B -I --no-dvd  --ver $VERSION --workdirbase=/tmp/work --flavor Cloud --name=Fedora-Cloud --installpkgs fedora-productimg-cloud"
  mock -r fedora-branched-compose-$arch --clean || exit 1
  sg releng "repoclosure -a $basearch --repofrompath=$arch,$DESTDIR$VERSION/Workstation/$arch/os --repoid=$arch > $DESTDIR/logs/Workstation.$arch.repoclosure.log"
  sg releng "repoclosure -a $basearch --repofrompath=$arch,$DESTDIR$VERSION/Server/$arch/os --repoid=$arch > $DESTDIR/logs/Server.$arch.repoclosure.log"


More information about the rel-eng mailing list