mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-16 12:56:01 +07:00
Support Raspberry Pi OS
This commit is contained in:
9
external/packages/raspi/export-image/00-allow-rerun/00-run.sh
vendored
Executable file
9
external/packages/raspi/export-image/00-allow-rerun/00-run.sh
vendored
Executable 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
|
||||
Reference in New Issue
Block a user