Skip to content

Commit

Permalink
Update BuildRock5ForOpenHD.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Aug 22, 2024
1 parent 870b831 commit 94345cf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/BuildRock5ForOpenHD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 94345cf

Please sign in to comment.