From 44fd9ba9fdb6c9bdec16488d7c187f137d46e722 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Thu, 30 May 2019 12:13:31 +0100 Subject: [PATCH] Drop ubuntu-touch configs --- debian/changelog | 1 + debian/tests/default-bootstraps | 2 - live-build/auto/build | 74 --------------------------------- live-build/auto/config | 46 ++------------------ 4 files changed, 5 insertions(+), 118 deletions(-) diff --git a/debian/changelog b/debian/changelog index f1a7e370..120eaaca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ livecd-rootfs (2.588) UNRELEASED; urgency=medium * Drop ubuntu-desktop-next configs * Drop ubuntu-desktop-next hooks + * Drop ubuntu-touch configs -- Dimitri John Ledkov Thu, 30 May 2019 12:00:40 +0100 diff --git a/debian/tests/default-bootstraps b/debian/tests/default-bootstraps index 78f6d02e..e6ffd9f9 100755 --- a/debian/tests/default-bootstraps +++ b/debian/tests/default-bootstraps @@ -44,8 +44,6 @@ ALL_TRIPLETS=" ubuntu-server:ubuntu-rtm: ubuntu-server:ubuntu-rtm/foo: ubuntu-server:wubi: - ubuntu-touch-custom::ubuntu-touch-custom - ubuntu-touch::ubuntu-touch xubuntu::" if [ -z "$SELECTED_TRIPLETS" ]; then diff --git a/live-build/auto/build b/live-build/auto/build index eb98a531..2dc14ae2 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -393,14 +393,6 @@ deb file:/var/lib/preinstalled-pool/ $LB_DISTRIBUTION $LB_PARENT_ARCHIVE_AREAS ;; esac - if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-touch-custom" ]; then - if [ "$ARCH" = "armhf" ]; then - INFO_DESC="$(lsb_release -d -s)" - echo "$INFO_DESC - $ARCH ($BUILDSTAMP)" >chroot/etc/media-info - mkdir -p chroot/var/log/installer - Chroot chroot "ln -s /etc/media-info /var/log/installer/media-info" - fi - fi if [ "$PROJECT" = "ubuntu-cpc" ]; then if [ "${SUBPROJECT:-}" = minimized ]; then BUILD_NAME=minimal @@ -517,12 +509,6 @@ EOF fi fi -if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-touch-custom" ]; then - (cd "binary/$INITFS/custom.dir/" && tar -c --sort=name --xattrs *) | \ - gzip -9 --rsyncable > "$PREFIX.custom.tar.gz" - chmod 644 "$PREFIX.custom.tar.gz" -fi - # '--initramfs none' produces different manifest names. if [ -e "binary/$INITFS/filesystem.packages" ]; then ./config/snap-seed-parse "chroot/" "binary/${INITFS}/filesystem.packages" @@ -884,66 +870,6 @@ case $SUBARCH in ;; esac -if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-touch-custom" ]; then - sourceslist="chroot/etc/apt/sources.list" - - lb chroot_proc install "$@" - lb chroot_sysfs install "$@" - lb chroot_devpts install "$@" - - if [ -e "$PREFIX.manifest" ]; then - Chroot chroot "click list" | while read line; do - echo "click:$line" >>"$PREFIX.manifest" - done - fi - - if [ -e chroot/etc/resolv.conf ]; then - mv chroot/etc/resolv.conf chroot/etc/resolv.conf.orig - fi - if [ -e /etc/resolv.conf ]; then - cp /etc/resolv.conf chroot/etc/resolv.conf - fi - - mv "${sourceslist}" "${sourceslist}.orig" - mv "${sourceslist}.d" "${sourceslist}.d.orig" - echo "deb $LB_PARENT_MIRROR_CHROOT ${LB_DISTRIBUTION} main universe multiverse restricted" >$sourceslist - Chroot chroot "apt-get -y update" - Chroot chroot "apt-get -y install android" - - if [ "$ARCH" = "armhf" ]; then - touchsubarches="flo mako generic" - for subarch in $touchsubarches; do - cp -v chroot/usr/share/android/product/*-preinstalled-system-armel+${subarch}.img\ - "${PREFIX}.system-armel+${subarch}.img" - cp -v chroot/usr/share/android/product/*-preinstalled-recovery-armel+${subarch}.img\ - "${PREFIX}.recovery-armel+${subarch}.img" - cp -v chroot/usr/share/android/product/*-preinstalled-boot-armhf+${subarch}.img\ - "${PREFIX}.boot-armhf+${subarch}.img" - # drop this following line once cdimage can handle -boot-*.img - cp -v "${PREFIX}.boot-armhf+${subarch}.img" "${PREFIX}.bootimg-${subarch}" - done - fi - if [ "$ARCH" = "i386" ]; then - touchsubarches="generic_x86" - for subarch in $touchsubarches; do - cp -v chroot/usr/share/android/product/*-preinstalled-system-i386+${subarch}.img\ - "${PREFIX}.system-i386+${subarch}.img" - cp -v chroot/usr/share/android/product/*-preinstalled-recovery-i386+${subarch}.img\ - "${PREFIX}.recovery-i386+${subarch}.img" - cp -v chroot/usr/share/android/product/*-preinstalled-boot-i386+${subarch}.img\ - "${PREFIX}.boot-i386+${subarch}.img" - # drop this following line once cdimage can handle -boot-*.img - cp -v "${PREFIX}.boot-i386+${subarch}.img" "${PREFIX}.bootimg-${subarch}" - done - fi - - lb chroot_devpts remove "$@" - lb chroot_sysfs remove "$@" - lb chroot_proc remove "$@" - - rm -rf chroot/etc/init/*.override -fi - # LTSP chroot building (only in 32bit and for Edubuntu (DVD)) case $PROJECT in edubuntu-dvd) diff --git a/live-build/auto/config b/live-build/auto/config index 312c6113..27d67f94 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -410,7 +410,7 @@ case $IMAGEFORMAT in ;; *) case $PROJECT in - ubuntu-server|ubuntu-touch|ubuntu-touch-custom) + ubuntu-server) ;; ubuntu) if [ "$SUBPROJECT" != "canary" ]; then @@ -448,7 +448,7 @@ if [ "$PREINSTALLED" = "true" ]; then ubuntu-server) add_package live oem-config-debconf ubiquity-frontend-debconf ;; - ubuntu-core|ubuntu-base|base|ubuntu-touch|ubuntu-touch-custom|ubuntu-cpc) + ubuntu-core|ubuntu-base|base|ubuntu-cpc) ;; *) add_package live oem-config-gtk ubiquity-frontend-gtk @@ -747,44 +747,6 @@ case $PROJECT in OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal" ;; - ubuntu-touch|ubuntu-touch-custom) - HINTS="packagekit ubuntu-system-settings" - case $ARCH in - amd64|i386) - HINTS="$HINTS qml-module-ubuntu-components-gles unity8" - ;; - esac - add_package install ubuntu-minimal ubuntu-touch $HINTS - - COMPONENTS='main restricted universe' - BOOTAPPEND_LIVE='hostname=ubuntu-phablet username=ubuntu' - export LB_BOOTSTRAP_INCLUDE='apt-transport-https gnupg' - OPTS="${OPTS:+$OPTS }--apt-recommends false" - OPTS="${OPTS:+$OPTS }--compression gzip" - OPTS="${OPTS:+$OPTS }--system normal" - OPTS="${OPTS:+$OPTS }--zsync false" - - # TODO cjwatson 2014-07-17: This is a bit of an abuse of - # SUBPROJECT, but it's a handy thing that launchpad-buildd - # already passes through to us that we weren't otherwise - # using here. - case ${SUBPROJECT:-} in - ubuntu-rtm/dogfood) - MIRROR=http://derived-archive.dogfood.content.paddev.net/ubuntu-rtm/ - OPTS="${OPTS:+$OPTS }--apt-secure false" - OPTS="${OPTS:+$OPTS }--mirror-chroot-security ${MIRROR}" - OPTS="${OPTS:+$OPTS }--mirror-binary-security ${MIRROR}" - OPTS="${OPTS:+$OPTS }--mirror-binary ${MIRROR}" - ;; - ubuntu-rtm) - MIRROR=http://derived.archive.canonical.com/ubuntu-rtm/ - OPTS="${OPTS:+$OPTS }--mirror-chroot-security ${MIRROR}" - OPTS="${OPTS:+$OPTS }--mirror-binary-security ${MIRROR}" - OPTS="${OPTS:+$OPTS }--mirror-binary ${MIRROR}" - ;; - esac - ;; - ubuntu-cpc) if [ "${SUBPROJECT:-}" = minimized ]; then add_task install cloud-image @@ -979,7 +941,7 @@ case $ARCH in esac case $PROJECT:${SUBPROJECT:-} in - ubuntu-server:*|ubuntu-base:*|ubuntu-touch:*|ubuntu-touch-custom:*) + ubuntu-server:*|ubuntu-base:*) OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none" KERNEL_FLAVOURS=none BINARY_REMOVE_LINUX=false @@ -1177,7 +1139,7 @@ EOF fi ;; - ubuntu-touch:*|ubuntu-touch-custom:*|ubuntu-core:system-image|ubuntu-cpc:*|ubuntu-server:live) + ubuntu-core:system-image|ubuntu-cpc:*|ubuntu-server:live) cp -af /usr/share/livecd-rootfs/live-build/${PROJECT}/* \ config/