From 15fd713e73d6a89d63bf7bdc4c6bfccb409f1cec Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sat, 18 Jan 2020 15:35:50 +0000 Subject: [PATCH] initramfs-tools(7): Change example to use copy_exec instead of cp Executables should always be installed into the initramfs with copy_exec. Signed-off-by: Ben Hutchings --- initramfs-tools.7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initramfs-tools.7 b/initramfs-tools.7 index 45b7de7..a36b50a 100644 --- a/initramfs-tools.7 +++ b/initramfs-tools.7 @@ -516,7 +516,7 @@ if [ ! \-x "/sbin/frobnicate" ]; then fi force_load frobnicator interval=10 -cp /sbin/frobnicate "${DESTDIR}/sbin" +copy_exec /sbin/frobnicate /sbin exit 0 .fi .RE