15 lines
521 B
15 lines
521 B
#! /bin/sh
|
|
# A few things (launchpad-buildd, sbuild-launchpad-chroot) rely on the
|
|
# top-level directory being "chroot-autobuild", so we have to do this
|
|
# ourselves.
|
|
set -e
|
|
|
|
. config/functions
|
|
|
|
create_manifest chroot "livecd.$PROJECT.rootfs.manifest"
|
|
|
|
# gzip was chosen for fastest decompression speed: it decompresses buildd
|
|
# chroots about twice as fast as xz and about five times as fast as bzip2.
|
|
tar --transform='s,^chroot,chroot-autobuild,' --sort=name --numeric-owner \
|
|
-czf "livecd.$PROJECT.rootfs.tar.gz" chroot
|