Add cloud-live project to livecd.sh

ubuntu/precise
Ante Karamatic 13 years ago
parent 2b2ec32bde
commit 6d07934970

@ -211,7 +211,7 @@ esac; done;
shift $((OPTIND-1)) shift $((OPTIND-1))
if (( $# == 0 )) || [ "X$1" = "Xall" ]; then if (( $# == 0 )) || [ "X$1" = "Xall" ]; then
set -- ubuntu kubuntu kubuntu-mobile kubuntu-netbook edubuntu xubuntu mythbuntu gobuntu base ubuntu-headless set -- ubuntu kubuntu kubuntu-mobile kubuntu-netbook edubuntu xubuntu mythbuntu gobuntu base ubuntu-headless cloud-live
if [ "$ARCH" = "i386" ]; then if [ "$ARCH" = "i386" ]; then
set -- ubuntu ubuntu-dvd kubuntu kubuntu-dvd kubuntu-mobile kubuntu-netbook edubuntu edubuntu-dvd mythbuntu xubuntu gobuntu base ubuntu-headless set -- ubuntu ubuntu-dvd kubuntu kubuntu-dvd kubuntu-mobile kubuntu-netbook edubuntu edubuntu-dvd mythbuntu xubuntu gobuntu base ubuntu-headless
fi fi
@ -225,7 +225,7 @@ fi
for arg in "$@"; do for arg in "$@"; do
case "$arg" in case "$arg" in
ubuntu|ubuntu-dvd|ubuntu-lpia|edubuntu|edubuntu-dvd|kubuntu|kubuntu-dvd|kubuntu-mobile|kubuntu-netbook|xubuntu|mythbuntu|gobuntu|ubuntu-mid|ubuntu-netbook|ubuntu-moblin-remix|base|ubuntu-headless|tocd) ubuntu|ubuntu-dvd|ubuntu-lpia|edubuntu|edubuntu-dvd|kubuntu|kubuntu-dvd|kubuntu-mobile|kubuntu-netbook|xubuntu|mythbuntu|gobuntu|ubuntu-mid|ubuntu-netbook|ubuntu-moblin-remix|base|ubuntu-headless|tocd|cloud-live)
;; ;;
*) *)
echo bad name >&2; echo bad name >&2;
@ -330,6 +330,12 @@ Flags: seen
LIST="$LIST minimal^ standard^" LIST="$LIST minimal^ standard^"
LIVELIST="$LIVE_BOOT_SCRIPTS" LIVELIST="$LIVE_BOOT_SCRIPTS"
;; ;;
cloud-live)
LIST="$LIST minimal^ standard^"
LIVELIST="minimal^ standard^ cloud-live-config $LIVE_BOOT_SCRIPTS"
COMP="main restricted universe"
PPA="cloud-live/ppa"
;;
tocd) tocd)
LIST="$LIST minimal^ standard^" LIST="$LIST minimal^ standard^"
tocdtmp=`mktemp -d` || exit 1 tocdtmp=`mktemp -d` || exit 1
@ -528,6 +534,11 @@ Pin-Priority: 900
rm -f ${ROOT}var/cache/apt/{,src}pkgcache.bin rm -f ${ROOT}var/cache/apt/{,src}pkgcache.bin
fi fi
if [ "$FS" = "cloud-live" ]; then
chroot $ROOT apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F3531FCE
chroot $ROOT apt-get update
fi
# In addition to the ones we got from apt, trust whatever the local system # In addition to the ones we got from apt, trust whatever the local system
# believes in, but put things back afterwards. # believes in, but put things back afterwards.
cp ${ROOT}etc/apt/trusted.gpg ${ROOT}etc/apt/trusted.gpg.$$ cp ${ROOT}etc/apt/trusted.gpg ${ROOT}etc/apt/trusted.gpg.$$

Loading…
Cancel
Save