Make the output kernel/initrd world-readable in a couple more cases,

particularly relevant to ubuntu-defaults-image (LP: #1334616).
ubuntu/precise
Colin Watson 11 years ago
parent 087ea23f62
commit 2977a432f3

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.65.12) UNRELEASED; urgency=medium
* Make the output kernel/initrd world-readable in a couple more cases,
particularly relevant to ubuntu-defaults-image (LP: #1334616).
-- Colin Watson <cjwatson@ubuntu.com> Thu, 26 Jun 2014 12:33:23 +0100
livecd-rootfs (2.65.11) precise; urgency=medium livecd-rootfs (2.65.11) precise; urgency=medium
* Move from lts-raring to lts-saucy packages for the point release. * Move from lts-raring to lts-saucy packages for the point release.

@ -342,11 +342,13 @@ if [ "$NUMFLAVOURS" = 1 ] && [ "$LB_LINUX_FLAVOURS" != "none" ]; then
# only one kernel flavour # only one kernel flavour
if [ -e "binary/$INITFS/vmlinuz" ]; then if [ -e "binary/$INITFS/vmlinuz" ]; then
ln "binary/$INITFS/vmlinuz" "$PREFIX.kernel" ln "binary/$INITFS/vmlinuz" "$PREFIX.kernel"
chmod 644 "$PREFIX.kernel"
else else
ln -sf "$PREFIX.kernel-$LB_LINUX_FLAVOURS" "$PREFIX.kernel" ln -sf "$PREFIX.kernel-$LB_LINUX_FLAVOURS" "$PREFIX.kernel"
fi fi
if [ -e "binary/$INITFS/initrd.lz" ]; then if [ -e "binary/$INITFS/initrd.lz" ]; then
ln "binary/$INITFS/initrd.lz" "$PREFIX.initrd" ln "binary/$INITFS/initrd.lz" "$PREFIX.initrd"
chmod 644 "$PREFIX.initrd"
else else
ln -sf "$PREFIX.initrd-$LB_LINUX_FLAVOURS" "$PREFIX.initrd" ln -sf "$PREFIX.initrd-$LB_LINUX_FLAVOURS" "$PREFIX.initrd"
fi fi

Loading…
Cancel
Save