Look for a .igz extension on the initramfs instead of .gz
svn path=/trunk/; revision=555
This commit is contained in:
parent
f4147e0951
commit
211c97caec
|
@ -2,6 +2,9 @@
|
|||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
30 Jun 2008; Andrew Gaffney <agaffney@gentoo.org> scripts/livecd.sh:
|
||||
Look for a .igz extension on the initramfs instead of .gz
|
||||
|
||||
30 Jun 2008; Andrew Gaffney <agaffney@gentoo.org> scripts/livecd.sh:
|
||||
Quote EOF in fsscript to prevent interpolation at build time
|
||||
|
||||
|
|
|
@ -49,9 +49,9 @@ rm -rf /boot/*
|
|||
cat << 'EOF' >> /etc/conf.d/local.start
|
||||
if [ -n "$(ls /mnt/cdrom)" ]
|
||||
then
|
||||
INITR_TMP=`ls -1 /mnt/cdrom/*/*.gz | head -n 1`
|
||||
INITR_TMP=`ls -1 /mnt/cdrom/{boot,isolinux}/*.igz | head -n 1`
|
||||
INITRAMFS=`basename ${INITR_TMP}`
|
||||
KERNEL=${INITRAMFS/.gz/}
|
||||
KERNEL=${INITRAMFS/.igz/}
|
||||
initramfs=`grep initr /usr/livecd/bootfiles.txt | head -n 1`
|
||||
kernel=`grep kernel /usr/livecd/bootfiles.txt | head -n 1`
|
||||
cp -f /mnt/cdrom/*/${INITRAMFS} /boot/${initramfs}
|
||||
|
|
Loading…
Reference in a new issue