Support Raspberry Pi OS

This commit is contained in:
orangepi-xunlong
2023-08-17 09:39:58 +08:00
parent 0af822981b
commit 09bb7ec1a0
107 changed files with 2813 additions and 20 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash -e
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