[PATCH 4/4] Set ANACONDA=1 in the udev environment early in anaconda.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux