harald / rpms / dracut

Forked from rpms/dracut 5 years ago
Clone

Blame 0086-systemd-service-to-run.sh-do-not-copy-the-target-sub.patch

a66b474
From f31049c17f76048799017de52cb65c8906070b3e Mon Sep 17 00:00:00 2001
a66b474
From: Harald Hoyer <harald@redhat.com>
a66b474
Date: Thu, 12 Jul 2012 08:56:36 +0200
a66b474
Subject: [PATCH] systemd/service-to-run.sh: do not copy the target subdirs
a66b474
a66b474
---
a66b474
 modules.d/98systemd/service-to-run.sh |    3 ++-
a66b474
 1 file changed, 2 insertions(+), 1 deletion(-)
a66b474
a66b474
diff --git a/modules.d/98systemd/service-to-run.sh b/modules.d/98systemd/service-to-run.sh
a66b474
index 797958e..e09acc5 100755
a66b474
--- a/modules.d/98systemd/service-to-run.sh
a66b474
+++ b/modules.d/98systemd/service-to-run.sh
a66b474
@@ -1,4 +1,5 @@
a66b474
 #!/bin/sh
a66b474
 mkdir -p /run/systemd/system/
a66b474
-cp -a -t /run/systemd/system/ /etc/systemd/system/*
a66b474
+cp -d -t /run/systemd/system/ /etc/systemd/system/*
a66b474
+exit 0
a66b474