Package: live-build
Version: 3.0~a57-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch quantal
As of commit 81fb4294538a7204232d3e76195a778df0ee3ee1, lb config
--bootstrap-flavour=minimal causes debootstrap to be invoked with
--variant=minimal, which produces "E: unsupported variant". This should
be --variant=minbase instead.
Index: b/scripts/build/lb_bootstrap_debootstrap
===================================================================
--- a/scripts/build/lb_bootstrap_debootstrap
+++ b/scripts/build/lb_bootstrap_debootstrap
@@ -84,7 +84,18 @@
false)
if [ -n "${LB_BOOTSTRAP_FLAVOUR}" ]
then
- DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS}
--variant=${LB_BOOTSTRAP_FLAVOUR}"
+ case "${LB_BOOTSTRAP_FLAVOUR}" in
+ minimal)
+
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=minbase"
+ ;;
+
+ standard)
+ ;;
+
+ *)
+
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=${LB_BOOTSTRAP_FLAVOUR}"
+ ;;
+ esac
fi
;;
esac
Thanks,
--
Colin Watson [[email protected]]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive:
http://lists.debian.org/[email protected]