Add support for UMR.

ubuntu/precise
Steve Kowalik 16 years ago
parent a601a74627
commit 21fa37c026

@ -85,7 +85,7 @@ esac
for arg in "$@"; do for arg in "$@"; do
case "$arg" in case "$arg" in
*ubuntu|*ubuntu-dvd|kubuntu-netbook|ubuntu-lpia|ubuntu-mid|ubuntu-umpc|ubuntu-mobile|ubuntu-netbook-remix|mythbuntu|base|tocd) ;; *ubuntu|*ubuntu-dvd|kubuntu-netbook|ubuntu-lpia|ubuntu-mid|ubuntu-umpc|ubuntu-mobile|ubuntu-netbook-remix|ubuntu-moblin-remix|mythbuntu|base|tocd) ;;
*) *)
echo "bad project: $arg" >&2 echo "bad project: $arg" >&2
exit 2 exit 2

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (0.94) UNRELEASED; urgency=low
* Add support for UMR.
-- Steve Kowalik <stevenk@ubuntu.com> Thu, 27 Aug 2009 16:36:51 +1000
livecd-rootfs (0.93) karmic; urgency=low livecd-rootfs (0.93) karmic; urgency=low
* remove temporary enablement of universe from the armel subarchitectures * remove temporary enablement of universe from the armel subarchitectures

@ -117,6 +117,7 @@ EXCLUDE=""
LIST="" LIST=""
SUBARCH="" SUBARCH=""
PROPOSED="" PROPOSED=""
EXTRASOURCE=""
while getopts :d:e:i:I:m:S:s:a:p name; do case $name in while getopts :d:e:i:I:m:S:s:a:p name; do case $name in
d) STE=$OPTARG;; d) STE=$OPTARG;;
@ -142,7 +143,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-netbook|xubuntu|mythbuntu|gobuntu|ubuntu-mid|ubuntu-netbook-remix|base|tocd) ubuntu|ubuntu-dvd|ubuntu-lpia|edubuntu|edubuntu-dvd|kubuntu|kubuntu-dvd|kubuntu-netbook|xubuntu|mythbuntu|gobuntu|ubuntu-mid|ubuntu-netbook-remix|ubuntu-moblin-remix|base|tocd)
;; ;;
*) *)
echo bad name >&2; echo bad name >&2;
@ -216,6 +217,12 @@ Flags: seen
LIVELIST="mythbuntu-live^ laptop-detect casper lupin-casper" LIVELIST="mythbuntu-live^ laptop-detect casper lupin-casper"
COMP="main restricted universe multiverse" COMP="main restricted universe multiverse"
;; ;;
ubuntu-moblin-remix)
LIST="$LIST minimal^ ubuntu-moblin-remix"
LIVELIST="casper lupin-casper"
COMP="main restricted universe"
EXTRASOURCE="http://ppa.launchpad.net/moblin/ppa/ubuntu/"
;;
base) base)
LIST="$LIST minimal^ standard^" LIST="$LIST minimal^ standard^"
LIVELIST="casper lupin-casper" LIVELIST="casper lupin-casper"
@ -362,7 +369,14 @@ Pin-Priority: 900
if [ "$PROPOSED" = "yes" ]; then if [ "$PROPOSED" = "yes" ]; then
echo deb $MIRROR ${STE}-proposed ${COMP} >> ${ROOT}etc/apt/sources.list echo deb $MIRROR ${STE}-proposed ${COMP} >> ${ROOT}etc/apt/sources.list
fi fi
if [ -n "$EXTRASOURCE" ]; then
echo deb $EXTRASOURCE $STE ${COMP} >> ${ROOT}etc/apt/sources.list
fi
chroot $ROOT apt-get update chroot $ROOT apt-get update
if [ "$FS" = "ubuntu-moblin-remix" ]; then
chroot $ROOT apt-get -y --force-yes install ubuntu-moblin-ppa-keyring
chroot $ROOT apt-get update
fi
chroot $ROOT apt-get -y --purge dist-upgrade </dev/null chroot $ROOT apt-get -y --purge dist-upgrade </dev/null
chroot $ROOT apt-get -y --purge install $LIST </dev/null chroot $ROOT apt-get -y --purge install $LIST </dev/null

Loading…
Cancel
Save