mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-09 15:54:06 +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
|
||||
|
||||
. /root/config/chroot
|
||||
|
||||
case ${SUBPROJECT:-} in
|
||||
canary)
|
||||
;;
|
||||
*)
|
||||
echo "We don't run canary hooks for this project."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
# TODO: Make sure this is only executed for canary builds
|
||||
|
||||
cat <<EOF > /etc/initramfs-tools/conf.d/casperize.conf
|
||||
export CASPER_GENERATE_UUID=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user