~rbalint/livecd-rootfs/minimize-1g-revert

« back to all changes in this revision

Viewing changes to live-build/auto/config

  • Committer: Balint Reczey
  • Date: 2018-01-04 13:37:02 UTC
  • Revision ID: balint.reczey@canonical.com-20180104133702-8jah6y9pmb2g41s8
Revert to building minimized and not minimimized images with the same ~2.2 GiB size

Show diffs side-by-side

added added

removed removed

Lines of Context:
717
717
echo "LB_BINARY_HOOKS=\"$BINARY_HOOKS\"" >> config/binary
718
718
echo "BUILDSTAMP=\"$NOW\"" >> config/binary
719
719
echo "SUBPROJECT=\"${SUBPROJECT:-}\"" >> config/binary
720
 
if [ "${SUBPROJECT:-}" = minimized ]; then
721
 
        # try building minimized images in a 1GiB image but still allow overriding
722
 
        # IMAGE_SIZE in lb build
723
 
        echo 'IMAGE_SIZE=${IMAGE_SIZE:-'$((1024*1024*1024))'}' >> config/binary
724
 
fi
725
720
 
726
721
case $ARCH+$SUBARCH in
727
722
        armhf+raspi2)