From 037e93fe37f8b5d974e3e6219fa6ee94ad5cf504 Mon Sep 17 00:00:00 2001 From: Roland Clobus Date: Fri, 1 Jan 2021 16:51:02 +0000 Subject: Preserve timestamps --- scripts/build/binary_memtest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/binary_memtest') diff --git a/scripts/build/binary_memtest b/scripts/build/binary_memtest index de9bedf85..acfdfcbce 100755 --- a/scripts/build/binary_memtest +++ b/scripts/build/binary_memtest @@ -89,11 +89,11 @@ mkdir -p "${DESTDIR}" # Installing memtest case "${LB_BUILD_WITH_CHROOT}" in true) - cp chroot/boot/${LB_MEMTEST}.bin "${DESTDIR}"/memtest + cp -a chroot/boot/${LB_MEMTEST}.bin "${DESTDIR}"/memtest ;; false) - cp /boot/${LB_MEMTEST}.bin "${DESTDIR}"/memtest + cp -a /boot/${LB_MEMTEST}.bin "${DESTDIR}"/memtest ;; esac -- cgit v1.2.3