Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   64 Studio Developer (http://www.linux-archive.org/64-studio-developer/)
-   -   PATCH: restore udev rules copying from updates.img hack (http://www.linux-archive.org/64-studio-developer/257513-patch-restore-udev-rules-copying-updates-img-hack.html)

Hans de Goede 03-05-2009 09:38 AM

PATCH: restore udev rules copying from updates.img hack
 
Hi All,

When doing updates.img based storage-rewrite testing, you will want to use this until we get a new stage2.img
which includes the anaconda udev rules.

Regards,

Hans
>From 28bf57b41bf2068b44f51345042810f92370d7bd Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Thu, 5 Mar 2009 11:17:43 +0100
Subject: [PATCH 183/184] Restore temporary hack for anaconda udev rules in updates.img

---
anaconda | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/anaconda b/anaconda
index 0244ad6..3abce5d 100755
--- a/anaconda
+++ b/anaconda
@@ -170,6 +170,10 @@ def setupPythonUpdates():
f),
"/tmp/updates/%s/%s" %(pypkg, f))

+ import shutil
+ shutil.copyfile("/tmp/updates/70-anaconda.rules",
+ "/etc/udev/rules.d/70-anaconda.rules")
+
def parseOptions():
def resolution_cb (option, opt_str, value, parser):
parser.values.runres = value
--
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 10:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.