Be more specific in grep for kernel filename
svn path=/trunk/; revision=559
This commit is contained in:
parent
ab96461dc2
commit
5aeec8da35
2 changed files with 4 additions and 1 deletions
|
@ -55,7 +55,7 @@ then
|
|||
INITRAMFS=`ls -1 /mnt/cdrom/{boot,isolinux}/*.igz 2>/dev/null | head -n 1`
|
||||
KERNEL=${INITRAMFS/.igz/}
|
||||
initramfs=`grep initr /usr/livecd/bootfiles.txt | head -n 1`
|
||||
kernel=`grep kernel /usr/livecd/bootfiles.txt | head -n 1`
|
||||
kernel=`grep '^kernel-' /usr/livecd/bootfiles.txt | head -n 1`
|
||||
cp -f ${INITRAMFS} /boot/${initramfs}
|
||||
cp -f ${KERNEL} /boot/${kernel}
|
||||
cp -f /usr/livecd/System.map* /boot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue