tproperly remove qemu static binaries from strapdir - arm-sdk - os build toolkit for various embedded devices
HTML git clone https://git.parazyd.org/arm-sdk
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit d23ae63e6af7c813acfc23dbf3cac5abd3f4075e
DIR parent 2cf63c0ee5f23f2f83418c5f88e2d7e8ef75dff0
HTML Author: parazyd <parazyd@dyne.org>
Date: Fri, 27 Oct 2017 22:15:37 +0200
properly remove qemu static binaries from strapdir
Diffstat:
M lib/helpers | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
DIR diff --git a/lib/helpers b/lib/helpers
t@@ -93,7 +93,7 @@ copy-root-overlay() {
postbuild-clean() {
fn postbuild-clean
- req=(qemu_bin strapdir release)
+ req=(strapdir release)
ckreq || return 1
case "$release" in
t@@ -119,5 +119,8 @@ updatedb
EOF
chroot-script -d postbuild || zerr
- sudo rm -f $strapdir/$qemu_bin
+ sudo rm -f \
+ "$strapdir/$armel_qemu_bin" \
+ "$strapdir/$armhf_qemu_bin" \
+ "$strapdir/$arm64_qemu_bin"
}