livecd-rootfs/live-build/ubuntu-cpc/hooks/031-1-root-xz.binary
Steve Langasek b7072174dc Import patches-unapplied version 2.534 to ubuntu/cosmic-proposed
Imported using git-ubuntu import.

Changelog parent: 0564e36edc8c50f14d13d5cdf6fc1bb7d4615e77

New changelog entries:
  [ Michael Hudson-Doyle ]
  * Disable journald rate limiting in the live-server live session.
    (LP: #1776891)
  [ Steve Langasek ]
  * generate all tar files with --xattrs.  LP: #1302192.
2018-08-06 20:23:22 +00:00

16 lines
405 B
Bash
Executable File

#!/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
# This is the directory created by 031-0-create-root-dir.binary
rootfs_dir=rootfs.dir
cp $rootfs_dir.manifest livecd.ubuntu-cpc.rootfs.manifest
(cd $rootfs_dir/ && tar -c --xattrs *) | xz > livecd.ubuntu-cpc.rootfs.tar.xz