Fixing broken binary hook symlinks for hyperv gallery image builds.

ubuntu/disco
David Krauser 5 years ago
parent ba29aa2120
commit 7ca1312c09

@ -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) 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