diff --git a/debian/changelog b/debian/changelog index 72585455..bfdf214d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.478) UNRELEASED; urgency=medium + + * Add the IMAGEFORMAT=none to support generating a single rootfs. + + -- Gary Wang Mon, 16 Oct 2017 10:40:30 +0800 + livecd-rootfs (2.477) artful; urgency=medium * Fix server live image to pull subiquity from the stable channel, not diff --git a/live-build/auto/config b/live-build/auto/config index bf7435d7..efe36ded 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -183,6 +183,9 @@ case $IMAGEFORMAT in exit 0 ;; + none) + OPTS="${OPTS:+$OPTS }--system=normal --chroot-filesystem $IMAGEFORMAT" + ;; *) case $PROJECT in ubuntu-server|ubuntu-touch|ubuntu-touch-custom) @@ -652,6 +655,9 @@ esac case $PROJECT:${SUBPROJECT:-} in ubuntu-server:live) ;; + ubuntu-server:system-image) + OPTS="${OPTS:+$OPTS }--linux-packages=linux-image" + ;; ubuntu-server:*|ubuntu-base:*|ubuntu-touch:*|ubuntu-touch-custom:*) OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none" KERNEL_FLAVOURS=none @@ -779,7 +785,7 @@ EOF ;; esac -if [ $PROJECT = ubuntu-server ] && [ ${SUBPROJECT:-} != live ]; then +if [ $PROJECT = ubuntu-server ] && [ "${SUBPROJECT:-}" != live ] && [ "${SUBPROJECT:-}" != system-image ]; then cat > config/hooks/100-remove-fstab.chroot <