/[smeserver]/rpms/booty/sme8/booty-0.80.6-smepatches.patch
ViewVC logotype

Annotation of /rpms/booty/sme8/booty-0.80.6-smepatches.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Apr 14 15:17:07 2009 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: booty-0_80_6-5_el5_sme_1
* Tue Apr 14 2009 Shad L. Lords <slords@mail.com> - 0.80.6-5.sme.1
- Make bootloader install on all drives that contain /boot.
- Make grub look in e-smith-release instead of redhat-release

1 slords 1.1 diff -up booty-0.80.6/bootloaderInfo.py.smepatches booty-0.80.6/bootloaderInfo.py
2     --- booty-0.80.6/bootloaderInfo.py.smepatches 2009-04-14 09:07:28.000000000 -0600
3     +++ booty-0.80.6/bootloaderInfo.py 2009-04-14 09:12:44.000000000 -0600
4     @@ -1133,9 +1133,7 @@ class x86BootloaderInfo(bootloaderInfo):
5     grubbyRootPart = self.grubbyPartitionName(rootDev)
6     break
7    
8     - cmd = "root %s\ninstall %s/stage1 d %s %s/stage2 p %s%s/grub.conf" \
9     - % (grubbyRootPart, grubPath, grubbyStage1Dev,
10     - grubPath, grubbyRootPart, grubPath)
11     + cmd = "root %s\nsetup %s" % (grubbyRootPart, grubbyStage1Dev)
12    
13     if not justConfigFile:
14     #log("GRUB command %s", cmd)
15     @@ -2084,9 +2082,9 @@ def getRootDevName(initrd, fsset, rootDe
16     # returns a product name to use for the boot loader string
17     # FIXME: this is based on the stuff from anaconda, but kind of crappy :-/
18     def getProductName():
19     - # try redhat-release first
20     - if os.access("/etc/redhat-release", os.R_OK):
21     - f = open("/etc/redhat-release", "r")
22     + # try e-smith-release first
23     + if os.access("/etc/e-smith-release", os.R_OK):
24     + f = open("/etc/e-smith-release", "r")
25     lines = f.readlines()
26     f.close()
27     for buf in lines:

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