/[smeserver]/rpms/booty/sme8/booty-0.80.6-add-hvargs-kickstart-option.patch
ViewVC logotype

Annotation of /rpms/booty/sme8/booty-0.80.6-add-hvargs-kickstart-option.patch

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


Revision 1.1 - (hide annotations) (download)
Mon May 17 16:51:37 2010 UTC (14 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: booty-0_80_6-10_el5_sme, booty-0_80_6-10, HEAD
* Mon May 17 2010 Shad L. Lords <slords@mail.com> - 0.80.6-7.sme
- Install grub correctly on raid1 devices
- Use SME labels on grub screen

1 slords 1.1 From 50d859d8aafae7718c5e249d6c445845983752b6 Mon Sep 17 00:00:00 2001
2     From: Radek Vykydal <rvykydal@redhat.com>
3     Date: Fri, 13 Nov 2009 13:02:01 +0100
4     Subject: [PATCH] Add kickstart support for xen hypervisor arguments in grub. (#501438)
5    
6     bootloader option --hvargs added.
7     ---
8     bootloaderInfo.py | 3 +++
9     1 files changed, 3 insertions(+), 0 deletions(-)
10    
11     diff --git a/bootloaderInfo.py b/bootloaderInfo.py
12     index 2718b2e..ff98ff5 100644
13     --- a/bootloaderInfo.py
14     +++ b/bootloaderInfo.py
15     @@ -479,6 +479,7 @@ class bootloaderInfo:
16    
17     def __init__(self):
18     self.args = KernelArguments()
19     + self.hvArgs = ""
20     self.images = BootImages()
21     self.device = None
22     self.defaultDevice = None # XXX hack, used by kickstart
23     @@ -837,6 +838,8 @@ class x86BootloaderInfo(bootloaderInfo):
24     hvFile = "%sxen.gz-%s %s" % (cfPath,
25     re.sub(r'xen0?', '', version),
26     hvs)
27     + if self.hvArgs:
28     + hvFile = hvFile.rstrip() + " " + self.hvArgs
29     f.write('\tkernel %s\n' %(hvFile,))
30     f.write('\tmodule %s ro%s' %(kernelFile, realroot))
31     if self.args.get():
32     --
33     1.6.0.6
34    

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