Blame SOURCES/coidracut5.patch

b78e3a
diff --git a/systemd/coreos-installer-generator b/systemd/coreos-installer-generator
b78e3a
index 2b85dc5..75ab3c3 100755
b78e3a
--- a/systemd/coreos-installer-generator
b78e3a
+++ b/systemd/coreos-installer-generator
b78e3a
@@ -39,6 +39,11 @@ karg_bool() {
b78e3a
     esac
b78e3a
 }
b78e3a
 
b78e3a
+# if we're not running in dracut, skip
b78e3a
+if [ -z "$(karg edge.liveiso)" ]; then
b78e3a
+    exit 0
b78e3a
+fi
b78e3a
+
b78e3a
 if [ -n "$(karg coreos.inst.install_dev)" ]; then
b78e3a
 #    ln -sf "/usr/lib/systemd/system/coreos-installer-post.target" \
b78e3a
 #        "${UNIT_DIR}/basic.target"