Fixing broken binary hook symlinks for hyperv gallery image builds.

bionic-1855354
David Krauser 5 years ago
parent f16cac1842
commit 78aa0844cf

@ -1068,8 +1068,8 @@ EOF
ubuntu-touch:*|ubuntu-touch-custom:*|ubuntu-core:system-image|ubuntu-desktop-next:system-image|ubuntu-cpc:*|ubuntu-server:live|ubuntu:desktop-preinstalled) 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 # Ensure that most things e.g. includes.chroot are copied as is
for entry in /usr/share/livecd-rootfs/live-build/${PROJECT}/*; do for entry in /usr/share/livecd-rootfs/live-build/${PROJECT}/*; do
case entry in case $entry in
hooks) *hooks*)
# But hooks are shared across the projects with symlinks # But hooks are shared across the projects with symlinks
# dereference them # dereference them
cp -afL $entry config/ cp -afL $entry config/

Loading…
Cancel
Save