livecd-rootfs/live-build/buildd/hooks/50-buildd-tar.binary
Cody Shepherd bacc18b6b3
Change tar transform target to match changes in bionic+, allowing for
ext4 image format to be built correctly
2020-10-09 09:25:23 -07:00

11 lines
443 B
Bash
Executable File

#! /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
# 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