mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
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 <ben@decadent.org.uk>
This commit is contained in:
parent
30298d850d
commit
15fd713e73
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user