From c2b76f4f0ad51422e9a1470224393334de3efeb2 Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Mon, 27 Aug 2018 18:05:04 +0200 Subject: [PATCH] Preserve xattrs when copying static qemu binaries. --- zlibs/helpers | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zlibs/helpers b/zlibs/helpers index 14f0f13..ec832fe 100644 --- a/zlibs/helpers +++ b/zlibs/helpers @@ -184,13 +184,13 @@ qemu_install_user() { notice "installing qemu-user-static" case "$arch" in armel) - sudo cp "$armel_qemu_bin" "$strapdir/usr/bin" + sudo cp -a "$armel_qemu_bin" "$strapdir/usr/bin" ;; armhf) - sudo cp "$armhf_qemu_bin" "$strapdir/usr/bin" + sudo cp -a "$armhf_qemu_bin" "$strapdir/usr/bin" ;; arm64) - sudo cp "$arm64_qemu_bin" "$strapdir/usr/bin" + sudo cp -a "$arm64_qemu_bin" "$strapdir/usr/bin" ;; esac }