[PATCH] 99base/init: avoid using cp -t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-t is not supported by busybox's cp.

Signed-off-by: Daniel Drake <dsd@xxxxxxxxxx>
---
 modules.d/99base/init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules.d/99base/init b/modules.d/99base/init
index 36b2152..e0e2630 100755
--- a/modules.d/99base/init
+++ b/modules.d/99base/init
@@ -133,7 +133,7 @@ fi
 if ! ismounted /run; then
     mkdir -m 0755 /newrun
     mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /newrun >/dev/null 2>&1
-    cp -a -t /newrun /run/*
+    cp -a /run/* /newrun
     mount --move /newrun /run
     rm -fr /newrun
 fi
-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux