Blame SOURCES/coidracut5.patch

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