#! /bin/sh set -eu case ${PASS:-} in minimal.live) ;; *) exit 0 ;; esac mkdir -p "/etc/initramfs-tools/conf.d" cat < /etc/initramfs-tools/conf.d/casperize.conf export CASPER_GENERATE_UUID=1 EOF cat < /etc/initramfs-tools/conf.d/default-layer.conf LAYERFS_PATH=${PASS}.squashfs EOF