Rename to ubuntu-server-live; some build process fixes.

ubuntu/zesty
Mathieu Trudel-Lapierre 8 years ago
parent bf958b1472
commit e577ed7672

@ -105,7 +105,7 @@ case $PROJECT in
ubuntu-cpc) ubuntu-cpc)
IMAGEFORMAT=ext4 IMAGEFORMAT=ext4
;; ;;
ubuntu-server-next) ubuntu-server-live)
IMAGEFORMAT=plain IMAGEFORMAT=plain
;; ;;
esac esac
@ -171,7 +171,7 @@ if [ "$PREINSTALLED" = "true" ] && [ "$SUBPROJECT" != "wubi" ]; then
ubuntu-server) ubuntu-server)
add_package live oem-config-debconf ubiquity-frontend-debconf add_package live oem-config-debconf ubiquity-frontend-debconf
;; ;;
ubuntu-core|ubuntu-base|base|ubuntu-touch|ubuntu-touch-custom|ubuntu-cpc|ubuntu-desktop-next|ubuntu-server-next) ubuntu-core|ubuntu-base|base|ubuntu-touch|ubuntu-touch-custom|ubuntu-cpc|ubuntu-desktop-next|ubuntu-server-live)
;; ;;
*) *)
add_package live oem-config-gtk ubiquity-frontend-gtk add_package live oem-config-gtk ubiquity-frontend-gtk
@ -370,12 +370,12 @@ case $PROJECT in
PREINSTALL_POOL_SEEDS='server-ship' PREINSTALL_POOL_SEEDS='server-ship'
;; ;;
ubuntu-server-next) ubuntu-server-live)
add_task install minimal add_task install minimal
add_task install standard add_task install standard
add_task install server add_task install server
COMPONENTS='main restricted universe' add_task install cloud-image
add_package install cloud-init COMPONENTS='main'
;; ;;
ubuntu-core) ubuntu-core)
@ -580,7 +580,7 @@ case $ARCH in
esac esac
case $PROJECT in case $PROJECT in
ubuntu-server|ubuntu-base|ubuntu-touch|ubuntu-touch-custom|ubuntu-server-next) ubuntu-server|ubuntu-base|ubuntu-touch|ubuntu-touch-custom)
OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none" OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none"
KERNEL_FLAVOURS=none KERNEL_FLAVOURS=none
BINARY_REMOVE_LINUX=false BINARY_REMOVE_LINUX=false
@ -759,7 +759,7 @@ EOF
fi fi
;; ;;
ubuntu-touch:*|ubuntu-touch-custom:*|ubuntu-core:system-image|ubuntu-desktop-next:system-image|ubuntu-cpc:*|ubuntu-server-next:*) ubuntu-touch:*|ubuntu-touch-custom:*|ubuntu-core:system-image|ubuntu-desktop-next:system-image|ubuntu-cpc:*|ubuntu-server-live:*)
cp -af /usr/share/livecd-rootfs/live-build/${PROJECT}/* \ cp -af /usr/share/livecd-rootfs/live-build/${PROJECT}/* \
config/ config/
;; ;;

@ -27,7 +27,7 @@ cp -a chroot/* binary/boot/squashfs.dir
apt-get -qqy install squashfs-tools apt-get -qqy install squashfs-tools
squashfs_f="${PWD}/livecd.ubuntu-server-next.squashfs" squashfs_f="${PWD}/livecd.${PROJECT}.squashfs"
squashfs_f_manifest="${squashfs_f}.manifest" squashfs_f_manifest="${squashfs_f}.manifest"
dpkg-query --admindir=binary/boot/squashfs.dir/var/lib/dpkg -W > ${squashfs_f_manifest} dpkg-query --admindir=binary/boot/squashfs.dir/var/lib/dpkg -W > ${squashfs_f_manifest}

@ -161,7 +161,7 @@ umount "binary/boot/squashfs.dir/tmp"
apt-get -qqy install squashfs-tools apt-get -qqy install squashfs-tools
squashfs_f="${PWD}/livecd.ubuntu-server-next.installer.squashfs" squashfs_f="${PWD}/livecd.${PROJECT}.installer.squashfs"
(cd "$OVERLAY_ROOT/" && (cd "$OVERLAY_ROOT/" &&
mksquashfs . ${squashfs_f} \ mksquashfs . ${squashfs_f} \
Loading…
Cancel
Save