/[smeserver]/rpms/anaconda/sme8/0014-Make-boot-loader-use-SME-labels.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme8/0014-Make-boot-loader-use-SME-labels.patch

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


Revision 1.8 - (hide annotations) (download)
Sun Nov 10 05:15:55 2013 UTC (11 years ago) by wellsi
Branch: MAIN
Changes since 1.7: +0 -0 lines
FILE REMOVED
Upstream import

1 slords 1.5 From 88c4b69e1487eabaf1e5fb3fdca713e6d0d79779 Mon Sep 17 00:00:00 2001
2 slords 1.1 From: Shad L. Lords <slords@mail.com>
3     Date: Mon, 19 Oct 2009 08:40:10 -0600
4 slords 1.5 Subject: [PATCH 14/17] Make boot loader use SME labels
5 slords 1.1
6     ---
7     partedUtils.py | 4 ++--
8     1 files changed, 2 insertions(+), 2 deletions(-)
9    
10     diff --git a/partedUtils.py b/partedUtils.py
11 slords 1.2 index 147c2f8..2a2d034 100644
12 slords 1.1 --- a/partedUtils.py
13     +++ b/partedUtils.py
14     @@ -528,8 +528,8 @@ def sniffFilesystemType(device):
15     return None
16    
17     def getReleaseString(mountpoint):
18     - if os.access(mountpoint + "/etc/redhat-release", os.R_OK):
19     - f = open(mountpoint + "/etc/redhat-release", "r")
20     + if os.access(mountpoint + "/etc/e-smith-release", os.R_OK):
21     + f = open(mountpoint + "/etc/e-smith-release", "r")
22     try:
23     lines = f.readlines()
24     except IOError:
25     --
26 slords 1.7 1.7.1
27 slords 1.1

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