mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-12 03:41:12 +00:00
Unbreak cpc/server builds, by ensuring that includes are copied with archived symlinks, and only hooks resolve symlinks when getting copied.
This commit is contained in:
parent
095c8f4696
commit
124d074101
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -2,6 +2,9 @@ livecd-rootfs (2.597) UNRELEASED; urgency=medium
|
||||
|
||||
* Install s390-tools-zkey into the installer layer for zkey support in
|
||||
subiquity.
|
||||
* Unbreak cpc/server builds, by ensuring that includes are copied with
|
||||
archived symlinks, and only hooks resolve symlinks when getting
|
||||
copied.
|
||||
|
||||
-- Dimitri John Ledkov <xnox@ubuntu.com> Thu, 20 Jun 2019 23:25:13 +0100
|
||||
|
||||
|
@ -1103,8 +1103,20 @@ EOF
|
||||
;;
|
||||
|
||||
ubuntu-core:system-image|ubuntu-cpc:*|ubuntu-server:live|ubuntu:desktop-preinstalled)
|
||||
cp -afL /usr/share/livecd-rootfs/live-build/${PROJECT}/* \
|
||||
config/
|
||||
# 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)
|
||||
# But hooks are shared across the projects with symlinks
|
||||
# dereference them
|
||||
cp -afL $entry config/
|
||||
;;
|
||||
*)
|
||||
# Most places want to preserve symlinks as is
|
||||
cp -af $entry config/
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ "$PROJECT" = "ubuntu-cpc" ]; then
|
||||
case ${IMAGE_TARGETS:-} in
|
||||
|
Loading…
x
Reference in New Issue
Block a user