[Merge] lp:~daniel-thewatkins/livecd-rootfs/trunk into lp:livecd-rootfs

Michael Hudson-Doyle mwhudsonlp at fastmail.fm
Wed Jun 6 22:45:40 UTC 2018


Seems OK to me apart from one thing.

Diff comments:

> 
> === added file 'live-build/ubuntu-cpc/hooks/031-root-xz.binary'
> --- live-build/ubuntu-cpc/hooks/031-root-xz.binary	1970-01-01 00:00:00 +0000
> +++ live-build/ubuntu-cpc/hooks/031-root-xz.binary	2018-06-06 22:32:38 +0000
> @@ -0,0 +1,29 @@
> +#!/bin/bash -ex
> +# vi: ts=4 expandtab
> +#
> +# Generate the rootfs.tar.xz and manifest
> +
> +if [ -n "$SUBARCH" ]; then
> +    echo "Skipping rootfs build for subarch flavor build"
> +    exit 0
> +fi
> +
> +. /build/config/functions

". config/functions" surely?

> +
> +tardir=filesystem.dir
> +mkdir $tardir
> +cp -a chroot/* $tardir
> +
> +setup_mountpoint $tardir
> +
> +env DEBIAN_FRONTEND=noninteractive chroot $tardir apt-get --purge remove --assume-yes '^linux-.*' 'linux-base+'
> +env DEBIAN_FRONTEND=noninteractive chroot $tardir apt-get --purge remove --assume-yes '^grub-.*'
> +env DEBIAN_FRONTEND=noninteractive chroot $tardir apt-get autoremove --purge --assume-yes
> +
> +teardown_mountpoint $tardir
> +
> +dpkg-query --admindir=$tardir/var/lib/dpkg -W > livecd.ubuntu-cpc.rootfs.manifest
> +
> +(cd "$tardir/" && tar -c *) | xz > "livecd.ubuntu-cpc.rootfs.tar.xz"
> +
> +rm -rf $tardir


-- 
https://code.launchpad.net/~daniel-thewatkins/livecd-rootfs/trunk/+merge/347547
Your team Ubuntu Core Development Team is requested to review the proposed merge of lp:~daniel-thewatkins/livecd-rootfs/trunk into lp:livecd-rootfs.



More information about the Ubuntu-reviews mailing list