Per discussion with Adam, don't make this an LB_ variable since it's not actually part of live-build; instead we will look to pass it into the environment through launchpad-buildd

ubuntu/zesty
Steve Langasek 8 years ago
parent f04a535b0c
commit 53e1feefdb

@ -618,7 +618,6 @@ lb config noauto \
echo "LB_CHROOT_HOOKS=\"$CHROOT_HOOKS\"" >> config/chroot echo "LB_CHROOT_HOOKS=\"$CHROOT_HOOKS\"" >> config/chroot
echo "LB_BINARY_HOOKS=\"$BINARY_HOOKS\"" >> config/binary echo "LB_BINARY_HOOKS=\"$BINARY_HOOKS\"" >> config/binary
echo "BUILDSTAMP=\"$NOW\"" >> config/binary echo "BUILDSTAMP=\"$NOW\"" >> config/binary
echo "LB_IMAGE_FLAVORS=\"$IMAGE_FLAVORS\"" >> config/binary
case $ARCH+$SUBARCH in case $ARCH+$SUBARCH in
armhf+raspi2) armhf+raspi2)

@ -1,6 +1,6 @@
#!/bin/bash -ex #!/bin/bash -ex
case $LB_IMAGE_FLAVORS in case $IMAGE_TARGETS in
""|*qcow2*) ""|*qcow2*)
;; ;;
*) *)

@ -9,7 +9,7 @@ case $ARCH in
exit 0;; exit 0;;
esac esac
case $LB_IMAGE_FLAVORS in case ${IMAGE_TARGETS:-} in
""|*vmdk*) ""|*vmdk*)
;; ;;
*) *)

@ -15,7 +15,7 @@ case $ARCH in
exit 0;; exit 0;;
esac esac
case $LB_IMAGE_FLAVORS in case ${IMAGE_TARGETS:-} in
""|*ova*) ""|*ova*)
;; ;;
*) *)

@ -15,7 +15,7 @@
# some packages in it, convert it to a vmdk, and then assemble the vagrant # some packages in it, convert it to a vmdk, and then assemble the vagrant
# box. # box.
case $LB_IMAGE_FLAVORS in case $IMAGE_TARGETS in
""|*vagrant*) ""|*vagrant*)
;; ;;
*) *)

Loading…
Cancel
Save