diff --git a/debian/changelog b/debian/changelog index 73c363c6..429ce2cf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,12 +1,17 @@ livecd-rootfs (2.543) UNRELEASED; urgency=medium + [ Cody Shepherd ] * Ensure pre-seeded snaps are now published in the image manifests. * Include grub efi packages in manifests for uefi images. [ Aleksandr Bogdanov ] * vagrant: disabling automatic console log file - -- Cody Shepherd Mon, 22 Oct 2018 10:16:19 -0700 + [ Łukasz 'sil2100' Zemczak ] + * Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a + dangling symlink. + + -- Łukasz 'sil2100' Zemczak Tue, 18 Sep 2018 10:21:30 +0200 livecd-rootfs (2.542) cosmic; urgency=medium diff --git a/live-build/auto/build b/live-build/auto/build index 86a269c5..ba06b072 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -849,13 +849,13 @@ done NUMFLAVOURS="$(set -- $LB_LINUX_FLAVOURS; echo $#)" if [ "$NUMFLAVOURS" = 1 ] && [ "$LB_LINUX_FLAVOURS" != "none" ]; then # only one kernel flavour - if [ -e "binary/$INITFS/vmlinuz" ]; then + if [ -f "binary/$INITFS/vmlinuz" ]; then ln "binary/$INITFS/vmlinuz" "$PREFIX.kernel" chmod 644 "$PREFIX.kernel" else ln -sf "$PREFIX.kernel-$LB_LINUX_FLAVOURS" "$PREFIX.kernel" fi - if [ -e "binary/$INITFS/initrd.lz" ]; then + if [ -f "binary/$INITFS/initrd.lz" ]; then ln "binary/$INITFS/initrd.lz" "$PREFIX.initrd" chmod 644 "$PREFIX.initrd" else