mirror of
https://github.com/LuckfoxTECH/luckfox-pico.git
synced 2026-01-18 03:28:19 +01:00
project:app:rkipc:rkipc:Modify udhcpc for silent operation to suppress irrelevant information from being printed to the terminal
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>
This commit is contained in:
@@ -2478,15 +2478,18 @@ function __RUN_POST_BUILD_SCRIPT() {
|
||||
}
|
||||
|
||||
function post_overlay() {
|
||||
check_config RK_POST_OVERLAY || return 0
|
||||
[ -n "$RK_POST_OVERLAY" ] || return 0
|
||||
|
||||
local tmp_path
|
||||
tmp_path=$(realpath $BOARD_CONFIG)
|
||||
tmp_path=$(dirname $tmp_path)
|
||||
if [ -d "$tmp_path/overlay/$RK_POST_OVERLAY" ]; then
|
||||
rsync -a --ignore-times --keep-dirlinks --chmod=u=rwX,go=rX --exclude .empty \
|
||||
$tmp_path/overlay/$RK_POST_OVERLAY/* $RK_PROJECT_PACKAGE_ROOTFS_DIR/
|
||||
fi
|
||||
|
||||
for overlay_dir in $RK_POST_OVERLAY; do
|
||||
if [ -d "$tmp_path/overlay/$overlay_dir" ]; then
|
||||
rsync -a --ignore-times --keep-dirlinks --chmod=u=rwX,go=rX --exclude .empty \
|
||||
$tmp_path/overlay/$overlay_dir/* $RK_PROJECT_PACKAGE_ROOTFS_DIR/
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
function __RUN_PRE_BUILD_OEM_SCRIPT() {
|
||||
|
||||
Reference in New Issue
Block a user