Fix handlinkg of LOGOPNG when we've got "doppelganer" initramfs files

Backported from unstable, needed for debian-edu builds
This commit is contained in:
Steve McIntyre 2015-05-13 00:38:41 +01:00
parent 63dd4a07d0
commit f8eff69478
2 changed files with 6 additions and 1 deletions

2
debian/changelog vendored
View File

@ -4,6 +4,8 @@ debian-cd (3.1.17-jessie) UNRELEASED; urgency=medium
+ Remove mention of desktop choice from yaboot boot messages + Remove mention of desktop choice from yaboot boot messages
(Closes: #783569) (Closes: #783569)
+ Remove uncompressed translation files after compressing them + Remove uncompressed translation files after compressing them
+ Fix handlinkg of LOGOPNG when we've got "doppelganer" initramfs
files
-- Steve McIntyre <93sam@debian.org> Mon, 20 Apr 2015 12:36:57 +0100 -- Steve McIntyre <93sam@debian.org> Mon, 20 Apr 2015 12:36:57 +0100

View File

@ -405,7 +405,10 @@ if [ "$LOGOPNG" ] ; then
mkdir -p $INITRDDIR mkdir -p $INITRDDIR
( (
cd $INITRDDIR cd $INITRDDIR
gunzip $GTKINITRDGZ # There may be multiple hardlinks to the initrd.gz, so
# explicitly break the links here
zcat $GTKINITRDGZ > $GTKINITRD
rm -f $GTKINITRDGZ
mkdir -p $INITRDDIR/usr/share/graphics mkdir -p $INITRDDIR/usr/share/graphics
cp $LOGOPNG $INITRDDIR/usr/share/graphics/logo_debian.png cp $LOGOPNG $INITRDDIR/usr/share/graphics/logo_debian.png
echo usr/share/graphics/logo_debian.png | \ echo usr/share/graphics/logo_debian.png | \