/[smeserver]/rpms/mkinitrd/sme8/mkinitrd-newkernelpkg-ia64.patch
ViewVC logotype

Contents of /rpms/mkinitrd/sme8/mkinitrd-newkernelpkg-ia64.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Dec 20 18:36:32 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
No longer needed

1 --- /grubby/new-kernel-pkg.org 2007-03-15 16:19:23.000000000 -0400
2 +++ /grubby/new-kernel-pkg 2007-03-21 15:10:36.000000000 -0400
3 @@ -151,10 +151,15 @@ install() {
4 if [ -n "$cfgLilo" ]; then
5 [ -n "$verbose" ] && echo "adding $version to $liloConfig"
6
7 + initrdnum=$(echo "-$initrdfile" | sed 's/\/boot.*img//')
8 + if [ "$initrdnum" = "-" ]; then
9 + initrdnum=""
10 + fi
11 +
12 $grubby --add-kernel=$bootPrefix/$kernelName-$version $INITRD \
13 - --copy-default $makedefault --title $version \
14 + --copy-default $makedefault --title "$version$initrdnum" \
15 ${mbkernel:+--add-multiboot="$mbkernel"} ${mbargs:+--mbargs="$mbargs"} \
16 - --args="root=$rootdevice $kernargs" --remove-kernel="TITLE=$version" \
17 + --args="root=$rootdevice $kernargs" --remove-kernel="TITLE=$version$initrdnum" \
18 --$liloFlag
19
20 if [ -n "$runLilo" ]; then

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed