lb config --architecture $1 \
--binary-images iso-hybrid \
--bootloader grub \ #instead of you hook ill use grub as suggested by smiley on the IRC
--debian-installer live \
--debian-installer-gui true \
--debian-installer-distribution wheezy \ # We are based on wheezy and need the proper vmlinuz and d-i, we want them pulled from debian's repo
--distribution vanillux \ #Our repo use's the vanillux codename
--parent-debian-installer-distribution wheezy\
--parent-distribution wheezy\
--parent-mirror-chroot ${DEBIANREPO} \
--parent-mirror-debian-installer ${DEBIANREPO} \ #D-I related stuff should come from debian's repository
--parent-mirror-bootstrap ${DEBIANREPO} \ #Bootstrapping wheezy
--parent-mirror-binary ${DEBIANREPO} \
--mirror-debian-installer ${DEBIANREPO} \ #D-I related stuff should definatly come from debian's repository
--mirror-bootstrap ${DEBIANREPO} \
--mirror-chroot ${VANILLUXREPO} \ #Repo used to download the package-list and as per the man should only be user to download the packages list
--mirror-binary ${VANILLUXREPO} \ #Repo left for the user on the iso
--hostname vanillux \
--iso-application ${TITLE} \
--iso-publisher ${PUBLISHER} \
--iso-volume "Vanillux-$1-live-"$(date +%Y%m%d) \
--archive-areas "main non-free\
--security false \
--username "Vanillux-live-user" \
--volatile false \
--syslinux-theme "vanillux-desktop" \
--verbose
cp -v ../$DISTRO.key config/archives/$DISTRO.key.chroot
cp -v ../$DISTRO.key config/archives/$DISTRO.key.binary
cp -v ../$DISTRO.list.chroot config/package-lists/$DISTRO.list.chroot