2016-05-05 18:43:33 +00:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
2018-03-02 20:08:24 +00:00
|
|
|
if [ ! -x "${ROOTFS_DIR}/usr/bin/qemu-arm-static" ]; then
|
|
|
|
cp /usr/bin/qemu-arm-static "${ROOTFS_DIR}/usr/bin/"
|
2016-05-05 18:43:33 +00:00
|
|
|
fi
|
2019-06-07 16:30:05 +00:00
|
|
|
|
|
|
|
if [ -e "${ROOTFS_DIR}/etc/ld.so.preload" ]; then
|
|
|
|
mv "${ROOTFS_DIR}/etc/ld.so.preload" "${ROOTFS_DIR}/etc/ld.so.preload.disabled"
|
|
|
|
fi
|