Fixing broken binary hook symlinks for hyperv gallery image builds.

u-i-cloud-init
David Krauser 6 years ago
parent c623a7ee3e
commit 5a2b49950a

@ -1105,8 +1105,8 @@ EOF
ubuntu-core:system-image|ubuntu-cpc:*|ubuntu-server:live|ubuntu:desktop-preinstalled) ubuntu-core: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