From 2b3d4c8b65335df72bd303cb9a0af66900c2aee1 Mon Sep 17 00:00:00 2001 From: Johan Gunnarsson Date: Tue, 26 Mar 2019 20:05:48 +0000 Subject: [PATCH] build-debian: Ignore when qemu copy fails --- build-debian | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-debian b/build-debian index 958cfbf..6f30ee0 100755 --- a/build-debian +++ b/build-debian @@ -59,7 +59,7 @@ EOF cp -rv --preserve=mode ../pre-2nd-stage-files/* debian # Copy ARM emulation stuff -cp /usr/bin/qemu-*-static debian/usr/bin +cp /usr/bin/qemu-*-static debian/usr/bin || : # Build a Debian root filesystem (second stage) chroot debian sh -e <<- EOF @@ -75,7 +75,7 @@ chroot debian sh -e <<- EOF EOF # Remove ARM emulation stuff again -rm debian/usr/bin/qemu-*-static +rm debian/usr/bin/qemu-*-static || : cp -rv --preserve=mode ../post-2nd-stage-files/* debian