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

Contents of /rpms/booty/sme8/booty-0.80.4-smeserver.patch

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


Revision 1.5 - (show annotations) (download)
Tue Apr 14 14:37:20 2009 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +0 -0 lines
FILE REMOVED
CentOS 5.3 sources

1 --- booty-0.80.4/bootloaderInfo.py.smeserver 2008-03-18 16:54:24.000000000 -0600
2 +++ booty-0.80.4/bootloaderInfo.py 2008-03-18 17:00:52.000000000 -0600
3 @@ -929,8 +929,7 @@
4 if target == "partition":
5 stage1Target = self.grubbyPartitionName(gtPart)
6
7 - cmd += "install %s%s/stage1 d %s %s/stage2 p %s%s/grub.conf" % \
8 - (forcelba, grubPath, stage1Target, grubPath, bPart, grubPath)
9 + cmd += "setup %s" % (stage1Target,)
10 cmds.append(cmd)
11
12 if not justConfigFile:
13 @@ -1119,9 +1118,7 @@
14 grubbyRootPart = self.grubbyPartitionName(rootDev)
15 break
16
17 - cmd = "root %s\ninstall %s/stage1 d %s %s/stage2 p %s%s/grub.conf" \
18 - % (grubbyRootPart, grubPath, grubbyStage1Dev,
19 - grubPath, grubbyRootPart, grubPath)
20 + cmd = "root %s\nsetup %s" % (grubbyRootPart, grubbyStage1Dev,)
21
22 if not justConfigFile:
23 #log("GRUB command %s", cmd)
24 @@ -2070,9 +2067,9 @@
25 # returns a product name to use for the boot loader string
26 # FIXME: this is based on the stuff from anaconda, but kind of crappy :-/
27 def getProductName():
28 - # try redhat-release first
29 - if os.access("/etc/redhat-release", os.R_OK):
30 - f = open("/etc/redhat-release", "r")
31 + # try e-smith-release first
32 + if os.access("/etc/e-smith-release", os.R_OK):
33 + f = open("/etc/e-smith-release", "r")
34 lines = f.readlines()
35 f.close()
36 for buf in lines:

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