From 7ca1312c09dd782966d4e9d3e8a7cf7f21c8edb2 Mon Sep 17 00:00:00 2001 From: David Krauser Date: Wed, 9 Oct 2019 16:12:31 -0400 Subject: [PATCH] Fixing broken binary hook symlinks for hyperv gallery image builds. --- live-build/auto/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live-build/auto/config b/live-build/auto/config index 5814b63b..ac3c164e 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -1206,8 +1206,8 @@ EOF ubuntu-touch:*|ubuntu-touch-custom:*|ubuntu-core:system-image|ubuntu-desktop-next:system-image|ubuntu-cpc:*|ubuntu-server:live|ubuntu:desktop-preinstalled) # Ensure that most things e.g. includes.chroot are copied as is for entry in /usr/share/livecd-rootfs/live-build/${PROJECT}/*; do - case entry in - hooks) + case $entry in + *hooks*) # But hooks are shared across the projects with symlinks # dereference them cp -afL $entry config/