[PATCH 2/2] Set up udev environment so anaconda's udev rules run in livecd. (#568460)

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

 



The udev environment variable ANACONDA must be set for any of the
rules in 70-anaconda.rules to be run. It's handled by init for
normal installs.
---
 liveinst/liveinst |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/liveinst/liveinst b/liveinst/liveinst
index faef488..51eae2f 100755
--- a/liveinst/liveinst
+++ b/liveinst/liveinst
@@ -80,6 +80,8 @@ for i in /dev/md*; do
     esac
 done
 
+/sbin/udevadm control --env=ANACONDA=1
+
 if [ -x /usr/bin/devkit-disks ]; then
     /usr/bin/devkit-disks --inhibit -- /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*"
 elif [ -x /usr/bin/hal-lock -a -e /var/lock/subsys/haldaemon ]; then
-- 
1.6.6

_______________________________________________
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