414edd44c2
Adds binaries specified by user to chroot environment allowing to build images on amd64,i386,armhf,arm64 architectures. Closes-Bug: #1332458 Change-Id: If6e63a472ee85559b93b5e6b96d9c3ddcf7bcc98
10 lines
203 B
Bash
Executable File
10 lines
203 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eux
|
|
set -o pipefail
|
|
|
|
if [ -x "$TMP_MOUNT_PATH/tmp/clean_up_qemu_binary" ] ; then
|
|
"$TMP_MOUNT_PATH/tmp/clean_up_qemu_binary"
|
|
rm -rf "$TMP_MOUNT_PATH/tmp/clean_up_qemu_binary"
|
|
fi
|