/[smeserver]/rpms/booty/sme8/0001-Use-SME-labels-on-grub-screen.patch
ViewVC logotype

Contents of /rpms/booty/sme8/0001-Use-SME-labels-on-grub-screen.patch

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


Revision 1.1 - (show annotations) (download)
Sat Sep 17 21:19:44 2011 UTC (13 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: booty-0_80_6-10_el5_sme, HEAD
* Sat Sep 17 2011 Shad L. Lords <slords@mail.com> - 0.80.6-10.sme
- Use SME labels on grub screen

1 From 0d7012695de69832884383d95906f5168be8ca3a Mon Sep 17 00:00:00 2001
2 From: Shad L. Lords <slords@mail.com>
3 Date: Thu, 22 Oct 2009 09:24:50 -0600
4 Subject: [PATCH] Use SME labels on grub screen
5
6 ---
7 bootloaderInfo.py | 6 +++---
8 1 files changed, 3 insertions(+), 3 deletions(-)
9
10 diff --git a/bootloaderInfo.py b/bootloaderInfo.py
11 index 6335c70..8cdfcd7 100644
12 --- a/bootloaderInfo.py
13 +++ b/bootloaderInfo.py
14 @@ -2128,9 +2128,9 @@ def getRootDevName(initrd, fsset, rootDev, instRoot):
15 # returns a product name to use for the boot loader string
16 # FIXME: this is based on the stuff from anaconda, but kind of crappy :-/
17 def getProductName():
18 - # try redhat-release first
19 - if os.access("/etc/redhat-release", os.R_OK):
20 - f = open("/etc/redhat-release", "r")
21 + # try e-smith-release first
22 + if os.access("/etc/e-smith-release", os.R_OK):
23 + f = open("/etc/e-smith-release", "r")
24 lines = f.readlines()
25 f.close()
26 for buf in lines:
27 --
28 1.7.1
29

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