2020-09-03 03:20:38 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
2020-08-17 19:54:31 -04:00
|
|
|
|
|
|
|
if [ ! -x "${ROOTFS_DIR}/usr/bin/qemu-arm-static" ]; then
|
|
|
|
cp /usr/bin/qemu-arm-static "${ROOTFS_DIR}/usr/bin/"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -e "${ROOTFS_DIR}/etc/ld.so.preload" ]; then
|
|
|
|
mv "${ROOTFS_DIR}/etc/ld.so.preload" "${ROOTFS_DIR}/etc/ld.so.preload.disabled"
|
|
|
|
fi
|