|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|