diff options
author | David Lehman <dlehman@redhat.com> | 2010-02-26 10:22:37 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2010-02-26 16:31:28 -0600 |
commit | 0c496dc1069cb56ce444c4a11b0469348dedcc1a (patch) | |
tree | 87b746b8b6b10532ef75f231cefe3478f1540f8d | |
parent | fe92508f093e6ed4cd020bf6e18e7075e9988819 (diff) | |
download | anaconda-0c496dc1069cb56ce444c4a11b0469348dedcc1a.tar.gz anaconda-0c496dc1069cb56ce444c4a11b0469348dedcc1a.tar.xz anaconda-0c496dc1069cb56ce444c4a11b0469348dedcc1a.zip |
Set up udev environment so anaconda's udev rules run in livecd. (#568460)
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.
-rwxr-xr-x | liveinst/liveinst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/liveinst/liveinst b/liveinst/liveinst index faef4880b..51eae2f2b 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 |