mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-28 19:22:17 +00:00
Make the output kernel/initrd world-readable in a couple more cases,
particularly relevant to ubuntu-defaults-image (LP: #1334616).
This commit is contained in:
parent
c7ba55e819
commit
126432d844
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -2,6 +2,8 @@ livecd-rootfs (2.219) UNRELEASED; urgency=medium
|
|||||||
|
|
||||||
* Drop fdupes analysis: not widely used any more, can be done separately
|
* Drop fdupes analysis: not widely used any more, can be done separately
|
||||||
if needed, and very noisy in build logs.
|
if needed, and very noisy in build logs.
|
||||||
|
* 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> Tue, 24 Jun 2014 17:00:33 +0100
|
-- Colin Watson <cjwatson@ubuntu.com> Tue, 24 Jun 2014 17:00:33 +0100
|
||||||
|
|
||||||
|
@ -346,11 +346,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…
x
Reference in New Issue
Block a user