mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 20:57:29 +00:00
29 lines
454 B
Bash
Executable File
29 lines
454 B
Bash
Executable File
#! /bin/sh
|
|
|
|
case $PASS in
|
|
minimal.standard.live)
|
|
;;
|
|
*)
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
. /root/config/chroot
|
|
|
|
case ${SUBPROJECT:-} in
|
|
canary)
|
|
;;
|
|
*)
|
|
echo "We don't run canary hooks for this project."
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
cat <<EOF > /etc/initramfs-tools/conf.d/casperize.conf
|
|
export CASPER_GENERATE_UUID=1
|
|
EOF
|
|
|
|
cat <<EOF > /etc/initramfs-tools/conf.d/default-layer.conf
|
|
LAYERFS_PATH=${PASS}.squashfs
|
|
EOF
|