properly remove qemu static binaries from strapdir

This commit is contained in:
parazyd 2017-10-27 22:15:37 +02:00
parent 2cf63c0ee5
commit d23ae63e6a
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 5 additions and 2 deletions

View File

@ -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
@ -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"
}