From 47a88df62fe81ab33ab1fdf61b087cddab6cbd4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Wed, 30 Aug 2023 14:25:26 +0200 Subject: [PATCH] I suppose w don't need the 020-canary-live.binary hook anymore. --- .../ubuntu/hooks/020-canary-live.binary | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100755 live-build/ubuntu/hooks/020-canary-live.binary diff --git a/live-build/ubuntu/hooks/020-canary-live.binary b/live-build/ubuntu/hooks/020-canary-live.binary deleted file mode 100755 index 2e5e014d..00000000 --- a/live-build/ubuntu/hooks/020-canary-live.binary +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/sh - -set -eux - -case ${PASS:-} in - standard.live) - ;; - *) - exit 0 - ;; -esac - -case ${SUBPROJECT:-} in - canary) - ;; - *) - echo "We don't run canary hooks for this project." - exit 0 - ;; -esac - -. config/binary -. config/functions - -mv chroot/boot/initrd.img-* ${PWD}/livecd.${PROJECT}.initrd-generic -mv chroot/boot/vmlinu?-* ${PWD}/livecd.${PROJECT}.kernel-generic -chmod a+r ${PWD}/livecd.${PROJECT}.initrd-generic ${PWD}/livecd.${PROJECT}.kernel-generic