touchprint/export-image/00-allow-rerun/00-run.sh

10 lines
266 B
Bash
Raw Normal View History

2016-05-05 14:43:33 -04:00
#!/bin/bash -e
2018-03-02 15:08:24 -05:00
if [ ! -x "${ROOTFS_DIR}/usr/bin/qemu-arm-static" ]; then
cp /usr/bin/qemu-arm-static "${ROOTFS_DIR}/usr/bin/"
2016-05-05 14:43:33 -04:00
fi
2019-06-07 12:30:05 -04: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