Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   Set ANACONDA=1 in the udev environment early in anaconda. (http://www.linux-archive.org/fedora-build-system/514309-set-anaconda-1-udev-environment-early-anaconda.html)

Chris Lumens 04-14-2011 05:24 PM

Set ANACONDA=1 in the udev environment early in anaconda.
 
We need this so udev will trigger all our special rules, since we are no
longer starting udev ourselves and there's no clean way to add this into the
systemd service file.
---
anaconda | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/anaconda b/anaconda
index cddb581..dadcba4 100755
--- a/anaconda
+++ b/anaconda
@@ -827,6 +827,8 @@ if __name__ == "__main__":
log.info("Default encoding = %s " % sys.getdefaultencoding())
setupDisplay(anaconda, opts)

+ os.system("udevadm control --env=ANACONDA=1")
+
image_count = 0
for image in opts.images:
image_spec = image.rsplit(":", 1)
--
1.7.4.1

_______________________________________________
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 09:42 AM.

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