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
|