build.sh:fix oem partition cannot mount

This commit is contained in:
eng33 2023-12-13 17:26:18 +08:00 committed by luckfox-eng33
parent 571b2abb7c
commit ec8c01c93d

View File

@ -1845,6 +1845,7 @@ function build_firmware(){
if [ "$RK_BUILD_APP_TO_OEM_PARTITION" = "y" ];then if [ "$RK_BUILD_APP_TO_OEM_PARTITION" = "y" ];then
rm -rf $RK_PROJECT_PACKAGE_ROOTFS_DIR/oem/* rm -rf $RK_PROJECT_PACKAGE_ROOTFS_DIR/oem/*
mkdir -p $RK_PROJECT_PACKAGE_ROOTFS_DIR/oem
build_mkimg $GLOBAL_OEM_NAME $RK_PROJECT_PACKAGE_OEM_DIR build_mkimg $GLOBAL_OEM_NAME $RK_PROJECT_PACKAGE_OEM_DIR
else else
mkdir -p $RK_PROJECT_PACKAGE_ROOTFS_DIR/oem mkdir -p $RK_PROJECT_PACKAGE_ROOTFS_DIR/oem