@@ -27,21 +27,21 @@ jobs:
27
27
run : |
28
28
echo "Branch: ${{ github.ref_name }}"
29
29
BRANCH=${{ github.ref_name }}
30
- git clone https://github.com/radxa-repo/bsp --recursive
30
+ git clone --recurse-submodules https://github.com/radxa-repo/bsp.git
31
31
cd bsp
32
32
chmod +x bsp
33
- sed -i '/local kernelversion="\$(bsp_version)"/a \ local DATE=$(date +'%Y-%m-%d-%H-%M')' lib/linux.sh
34
- 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
35
- sed -i 's/BSP_GIT="https:\/\/github.com\/radxa\/kernel.git"/BSP_GIT="https:\/\/github.com\/openhd\/linux-rock.git"/' linux/rockchip/fork.conf
36
- sed -i 's#BSP_BRANCH="[^"]*"#BSP_BRANCH="'"$BRANCH"'"#' linux/rockchip/fork.conf
37
- COMMITHASH=$(curl -s https://api.github.com/repos/OpenHD/overlays/commits/main | grep '"sha"' | head -n 1 | cut -d '"' -f 4)
38
- echo 'custom_source_action() {
39
- git_source https://github.com/openhd/overlays.git '"$COMMITHASH"'
40
- cp -r $SCRIPT_DIR/.src/overlays/arch $TARGET_DIR
41
- }' > linux/.common/overlays.sh
42
- patch -p1 -i ../scripts/patches/openhd_utils.patch
43
- echo "__________________________________________________________222_"
44
- cat linux/rockchip/fork.conf
33
+ # sed -i '/local kernelversion="\$(bsp_version)"/a \ local DATE=$(date +'%Y-%m-%d-%H-%M')' lib/linux.sh
34
+ # 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
35
+ # sed -i 's/BSP_GIT="https:\/\/github.com\/radxa\/kernel.git"/BSP_GIT="https:\/\/github.com\/openhd\/linux-rock.git"/' linux/rockchip/fork.conf
36
+ # sed -i 's#BSP_BRANCH="[^"]*"#BSP_BRANCH="'"$BRANCH"'"#' linux/rockchip/fork.conf
37
+ # COMMITHASH=$(curl -s https://api.github.com/repos/OpenHD/overlays/commits/main | grep '"sha"' | head -n 1 | cut -d '"' -f 4)
38
+ # echo 'custom_source_action() {
39
+ # git_source https://github.com/openhd/overlays.git '"$COMMITHASH"'
40
+ # cp -r $SCRIPT_DIR/.src/overlays/arch $TARGET_DIR
41
+ # }' > linux/.common/overlays.sh
42
+ # patch -p1 -i ../scripts/patches/openhd_utils.patch
43
+ # echo "__________________________________________________________222_"
44
+ # cat linux/rockchip/fork.conf
45
45
46
46
- name : build kernel
47
47
run : |
0 commit comments