Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=kernelrt.git;a=commitdiff;h=9e7aa237938d7f0676c828b3eeaa5251ba93ffc0
commit 9e7aa237938d7f0676c828b3eeaa5251ba93ffc0
Author: crazy <[EMAIL PROTECTED]>
Date: Sat Nov 3 21:36:28 2007 +0100
kernel-rt-2.6.23-1-i686
* just shut up in chroot
diff --git a/source/base-extra/kernel-rt/kernel-rt.install
b/source/base-extra/kernel-rt/kernel-rt.install
index 088fe56..1f7b847 100644
--- a/source/base-extra/kernel-rt/kernel-rt.install
+++ b/source/base-extra/kernel-rt/kernel-rt.install
@@ -2,7 +2,7 @@ grub_convert()
{
disk=`echo $1|sed 's/[0-9]*$//'`
partnum=`echo $1|sed 's|/dev/[a-z]*||'`
- grubdisk=`grep $disk /boot/grub/device.map |sed 's/(\(.*\))\t.*/\1/'`
+ grubdisk=`grep $disk /boot/grub/device.map 2>/dev/null | sed
's/(\(.*\))\t.*/\1/'`
echo "($grubdisk,$(($partnum-1)))"
}
@@ -29,7 +29,8 @@ rmgr()
## mv the tmpMENU without our $patchset to menu.lst
mv -f /tmp/.menu.lst $MENU
else
- echo "Cannot remove the kernel entry from your menu.lst :(. Please remove
the entry manually."
+ echo "Cannot remove the kernel entry from your menu.lst :("
+ echo "Please remove the entry manually."
fi
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git