Browse Source

git: recommend git submodule url from ssh to https

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
Andy Hu 1 year ago
parent
commit
2ba480daab
4 changed files with 9 additions and 10 deletions
  1. 5 5
      .gitmodules
  2. 2 3
      README.md
  3. 1 1
      conf/buildroot_initramfs_config
  4. 1 1
      conf/buildroot_rootfs_config

+ 5 - 5
.gitmodules

@@ -1,20 +1,20 @@
 [submodule "buildroot"]
 	path = buildroot
-	url = git@github.com:starfive-tech/buildroot.git
+	url = https://github.com/starfive-tech/buildroot.git
 	branch = JH7110_VisionFive2_devel
 [submodule "u-boot"]
 	path = u-boot
-	url = git@github.com:starfive-tech/u-boot.git
+	url = https://github.com/starfive-tech/u-boot.git
 	branch = JH7110_VisionFive2_devel
 [submodule "linux"]
 	path = linux
-	url = git@github.com:starfive-tech/linux.git
+	url = https://github.com/starfive-tech/linux.git
 	branch = JH7110_VisionFive2_devel
 [submodule "opensbi"]
 	path = opensbi
-	url = git@github.com:starfive-tech/opensbi.git
+	url = https://github.com/starfive-tech/opensbi.git
 	branch = JH7110_VisionFive2_devel
 [submodule "soft_3rdpart"]
 	path = soft_3rdpart
-	url = git@github.com:starfive-tech/soft_3rdpart.git
+	url = https://github.com/starfive-tech/soft_3rdpart.git
 	branch = JH7110_VisionFive2_devel

+ 2 - 3
README.md

@@ -24,11 +24,10 @@ $ sudo apt-get install git-lfs
 
 Checkout this repository  (e.g.: branch `JH7110_VisionFive2_devel`). Then checkout all of the linked submodules using:
 
-	$ git clone git@github.com:starfive-tech/VisionFive2.git
+	$ git clone https://github.com/starfive-tech/VisionFive2.git
 	$ cd VisionFive2
-   	$ git checkout JH7110_VisionFive2_devel
+	$ git checkout JH7110_VisionFive2_devel
 	$ git submodule update --init --recursive
-
 This will take some time and require around 5GB of disk space. Some modules may fail because certain dependencies don't have the best git hosting. The only solution is to wait and try again later (or ask someone for a copy of that source repository).
 
 For user who build the release tag version, the above command is enough. For developer, need to switch the 5 submodules `buildroot`, `u-boot`, `linux`, `opensbi`, `soft_3rdpart` to correct branch manually, also could refer to `.gitmodule`

+ 1 - 1
conf/buildroot_initramfs_config

@@ -1,7 +1,7 @@
 BR2_riscv=y
 BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
 BR2_KERNEL_HEADERS_CUSTOM_GIT=y
-BR2_KERNEL_HEADERS_CUSTOM_REPO_URL="git@github.com:starfive-tech/linux.git"
+BR2_KERNEL_HEADERS_CUSTOM_REPO_URL="https://github.com/starfive-tech/linux.git"
 BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION="JH7110_VisionFive2_devel"
 BR2_PACKAGE_GLIBC_UTILS=y
 BR2_TOOLCHAIN_BUILDROOT_CXX=y

+ 1 - 1
conf/buildroot_rootfs_config

@@ -1,7 +1,7 @@
 BR2_riscv=y
 BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
 BR2_KERNEL_HEADERS_CUSTOM_GIT=y
-BR2_KERNEL_HEADERS_CUSTOM_REPO_URL="git@github.com:starfive-tech/linux.git"
+BR2_KERNEL_HEADERS_CUSTOM_REPO_URL="https://github.com/starfive-tech/linux.git"
 BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION="JH7110_VisionFive2_devel"
 BR2_PACKAGE_GLIBC_UTILS=y
 BR2_TOOLCHAIN_BUILDROOT_CXX=y