Systemd or dracut or whoever starts a new udevd instance after
switchroot, which drops our ANACONDA property.
---
pyanaconda/storage/__init__.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index 7eb03fc..64445d0 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -80,6 +80,8 @@ def storageInitialize(storage, ksdata, protected):
# XXX I don't understand why I have to do this, but this is needed to
# populate the udev db
+ iutil.execWithRedirect("udevadm", ["control",
"--property=ANACONDA=1"],
+ stdout="/dev/tty5", stderr="/dev/tty5")
udev_trigger(subsystem="block", action="change")
# Before we set up the storage system, we need to know which disks to
--
1.7.7.6