mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-10-22 12:34:10 +00:00
Ok, early hooks do not have the environment. Just case on canary being the only one using hooks for now.
This commit is contained in:
parent
3752ea7cf1
commit
3ec8601feb
@ -10,16 +10,7 @@ case $PASS in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
. /root/config/chroot
|
# TODO: Make sure this is only executed for canary builds
|
||||||
|
|
||||||
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
|
cat <<EOF > /etc/initramfs-tools/conf.d/casperize.conf
|
||||||
export CASPER_GENERATE_UUID=1
|
export CASPER_GENERATE_UUID=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user