@ -53,11 +53,19 @@ OPTS=
COMPONENTS=
COMPONENTS=
BINARY_REMOVE_LINUX=:
BINARY_REMOVE_LINUX=:
SOURCE='--source false'
SOURCE='--source false'
LIVE_TASK=
case $IMAGEFORMAT in
case $IMAGEFORMAT in
ext2|ext3|ext4)
ext2|ext3|ext4)
OPTS="${OPTS:+$OPTS }--initramfs none --chroot-filesystem $IMAGEFORMAT"
OPTS="${OPTS:+$OPTS }--initramfs none --chroot-filesystem $IMAGEFORMAT"
add_package live jasper
case $SUBPROJECT in
wubi)
add_package install lupin-support
;;
*)
add_package live jasper
;;
esac
;;
;;
*)
*)
@ -68,48 +76,47 @@ esac
case $PROJECT in
case $PROJECT in
ubuntu|ubuntu-dvd)
ubuntu|ubuntu-dvd)
add_task install minimal standard ubuntu-desktop
add_task install minimal standard ubuntu-desktop
add_task live ubuntu-live
LIVE_TASK='ubuntu-live'
;;
;;
kubuntu|kubuntu-dvd)
kubuntu|kubuntu-dvd)
add_task install minimal standard kubuntu-desktop
add_task install minimal standard kubuntu-desktop
add_task live kubuntu-live
LIVE_TASK='kubuntu-live'
;;
;;
kubuntu-mobile)
kubuntu-mobile)
add_task install minimal standard kubuntu-mobile
add_task install minimal standard kubuntu-mobile
add_task live kubuntu-mobile-live
LIVE_TASK='kubuntu-mobile-live'
COMPONENTS='main restricted universe'
COMPONENTS='main restricted universe'
;;
;;
edubuntu|edubuntu-dvd)
edubuntu|edubuntu-dvd)
add_task install minimal standard edubuntu-desktop-gnome
add_task install minimal standard edubuntu-desktop-gnome
add_task live edubuntu-live
LIVE_TASK='edubuntu-live'
COMPONENTS='main restricted universe'
COMPONENTS='main restricted universe'
SOURCE='--source true --source-images none'
;;
;;
xubuntu)
xubuntu)
add_task install minimal standard xubuntu-desktop
add_task install minimal standard xubuntu-desktop
add_package install xterm
add_package install xterm
add_task live xubuntu-live
LIVE_TASK='xubuntu-live'
COMPONENTS='main restricted universe multiverse'
COMPONENTS='main restricted universe multiverse'
;;
;;
ubuntu-netbook)
ubuntu-netbook)
add_task install minimal standard ubuntu-netbook
add_task install minimal standard ubuntu-netbook
add_task live netbook-live
LIVE_TASK='netbook-live'
;;
;;
mythbuntu)
mythbuntu)
add_task install minimal standard mythbuntu-desktop
add_task install minimal standard mythbuntu-desktop
add_task live mythbuntu-live
LIVE_TASK='mythbuntu-live'
COMPONENTS='main restricted universe multiverse'
COMPONENTS='main restricted universe multiverse'
;;
;;
lubuntu)
lubuntu)
add_task install minimal standard lubuntu-desktop
add_task install minimal standard lubuntu-desktop
add_task live lubuntu-live
LIVE_TASK='lubuntu-live'
COMPONENTS='main restricted universe multiverse'
COMPONENTS='main restricted universe multiverse'
;;
;;
@ -126,6 +133,15 @@ case $PROJECT in
exit 2
exit 2
;;
;;
esac
esac
case $SUBPROJECT in
wubi)
;;
*)
add_task live "$LIVE_TASK"
;;
esac
case $PROJECT in
case $PROJECT in
*-dvd)
*-dvd)
add_task live "$PROJECT-live"
add_task live "$PROJECT-live"
@ -183,6 +199,12 @@ case $PROJECT in
;;
;;
esac
esac
case $SUBPROJECT in
wubi)
ln -s /usr/share/live/build/examples/hooks/ubuntu_binary_build-wubildr.sh config/binary_local-hooks/
;;
esac
case $PROJECT in
case $PROJECT in
*-dvd)
*-dvd)
. config/bootstrap
. config/bootstrap