Blame SOURCES/0077-systemd-add-seat-udev-rules-and-mask-loginctl.patch

a56a5e
From 254f437848ca7e73535a9a5bf21478b0a62568f4 Mon Sep 17 00:00:00 2001
966cef
From: Harald Hoyer <harald@redhat.com>
966cef
Date: Fri, 17 Jan 2014 14:01:33 +0100
966cef
Subject: [PATCH] systemd: add seat udev rules and mask loginctl
966cef
966cef
---
966cef
 modules.d/98systemd/module-setup.sh | 3 +++
966cef
 1 file changed, 3 insertions(+)
966cef
966cef
diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh
1755ca
index 7178d2ba..a99c699d 100755
966cef
--- a/modules.d/98systemd/module-setup.sh
966cef
+++ b/modules.d/98systemd/module-setup.sh
966cef
@@ -180,6 +180,9 @@ install() {
966cef
 
966cef
     inst_script "$moddir/rootfs-generator.sh" /lib/systemd/system-generators/dracut-rootfs-generator
966cef
 
966cef
+    inst_binary true
966cef
+    ln_r $(type -P true) "/usr/bin/loginctl"
966cef
+    ln_r $(type -P true) "/bin/loginctl"
966cef
     inst_rules 71-seat.rules 73-seat-late.rules 99-systemd.rules
966cef
 
966cef
     for i in \