Skip to content

Commit

Permalink
Get default branch for RPi kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
AristoChen committed Jul 7, 2023
1 parent 204add0 commit 6dbf4d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/raspberry_pi_4_32bit.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ ITS_KERNEL_COMPRESSION="none"
ITS_FDT_NAME=bcm2711-rpi-4-b.dtb

KERNEL_GIT_SOURCE=https://github.com/raspberrypi/linux.git
KERNEL_GIT_BRANCH=rpi-6.1.y
KERNEL_GIT_BRANCH=$(git ls-remote --symref "${KERNEL_GIT_SOURCE}" HEAD | head -n1 | sed 's/ref: refs\/heads\/\(rpi.*\)\t*HEAD/\1/' | tr -d " \t")
KERNEL_DEFCONFIG=bcm2711_defconfig
2 changes: 1 addition & 1 deletion configs/raspberry_pi_4_64bit.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ ITS_KERNEL_COMPRESSION="gzip"
ITS_FDT_NAME=bcm2711-rpi-4-b.dtb

KERNEL_GIT_SOURCE=https://github.com/raspberrypi/linux.git
KERNEL_GIT_BRANCH=rpi-6.1.y
KERNEL_GIT_BRANCH=$(git ls-remote --symref "${KERNEL_GIT_SOURCE}" HEAD | head -n1 | sed 's/ref: refs\/heads\/\(rpi.*\)\t*HEAD/\1/' | tr -d " \t")
KERNEL_DEFCONFIG=bcm2711_defconfig

0 comments on commit 6dbf4d2

Please sign in to comment.