Disable ld.so.preload while building

This commit is contained in:
Serge Schneider
2019-06-07 17:30:05 +01:00
parent afeea46a39
commit 0cdec86026
3 changed files with 13 additions and 0 deletions

View File

@@ -3,3 +3,7 @@
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