diff --git a/.github/workflows/BuildRock5ForOpenHD.yaml b/.github/workflows/BuildRock5ForOpenHD.yaml index 0af26aa5e2522..7808d03ebdb93 100644 --- a/.github/workflows/BuildRock5ForOpenHD.yaml +++ b/.github/workflows/BuildRock5ForOpenHD.yaml @@ -43,15 +43,15 @@ jobs: # Replace kernel version information with a version that includes the current date sed -i 's/LOCALVERSION=-$PKG_REVISION-$FORK KERNELRELEASE=$kernelversion-$PKG_REVISION-$FORK KDEB_PKGVERSION=$kernelversion-${PKG_REVISION}${SOURCE_GITREV:+-$SOURCE_GITREV}/LOCALVERSION=-$PKG_REVISION-$FORK KERNELRELEASE=$kernelversion-$PKG_REVISION-$FORK KDEB_PKGVERSION=$kernelversion-${PKG_REVISION}-${DATE}-${SOURCE_GITREV:+-$SOURCE_GITREV}/g' lib/linux.sh - # # Update the BSP_GIT repository URL in linux/rockchip/fork.conf - # sed -i 's/BSP_GIT="https:\/\/github.com\/radxa\/kernel.git"/BSP_GIT="https:\/\/github.com\/openhd\/linux-rock.git"/' linux/rockchip/fork.conf + # Update the BSP_GIT repository URL in linux/rockchip/fork.conf + sed -i 's/BSP_GIT="https:\/\/github.com\/radxa\/kernel.git"/BSP_GIT="https:\/\/github.com\/openhd\/linux-rock.git"/' linux/rockchip/fork.conf - # # Update the BSP_BRANCH in linux/rockchip/fork.conf to the current branch name - # sed -i 's#BSP_BRANCH="[^"]*"#BSP_BRANCH="'"$BRANCH"'"#' linux/.rk3588/fork.conf + # Update the BSP_BRANCH in linux/rockchip/fork.conf to the current branch name + sed -i 's#BSP_BRANCH="[^"]*"#BSP_BRANCH="'"$BRANCH"'"#' linux/.rk3588/fork.conf # Print fork.conf echo "___Content of fork.conf___" - cat linux/rockchip/fork.conf + cat linux/.rk3588/fork.conf # Fetch the latest commit hash from the OpenHD overlays repository COMMITHASH=$(curl -s https://api.github.com/repos/OpenHD/overlays/commits/main | grep '"sha"' | head -n 1 | cut -d '"' -f 4)