project:build.sh:Add support for multiple folders in post overlay project:cfg:BoardConfig_IPC:Add support for rootfs post overlay sysdrv:Makefile:Replace the script-based copying method with the post overlay approach Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
21 lines
343 B
Bash
Executable File
21 lines
343 B
Bash
Executable File
#!/bin/sh
|
|
|
|
load_luckfoxconfig() {
|
|
if [ -f /usr/bin/luckfox-config ]; then
|
|
luckfox-config load
|
|
fi
|
|
if [ "$(cat /proc/device-tree/model)" == "Luckfox Pico Ultra" ] ||
|
|
[ "$(cat /proc/device-tree/model)" == "Luckfox Pico Ultra W" ]; then
|
|
luckfox_switch_rgb_resolution &
|
|
fi
|
|
}
|
|
|
|
case $1 in
|
|
start)
|
|
load_luckfoxconfig
|
|
;;
|
|
*)
|
|
exit 1
|
|
;;
|
|
esac
|