Remove buildroot submodule
All checks were successful
dustin/kioskpi/pipeline/head This commit looks good
All checks were successful
dustin/kioskpi/pipeline/head This commit looks good
Apparently, submodules don't work correctly when both `branch` and `shallow` are specified. It seems `git` fetches the latest commit and _then_ tries to switch branches, which always fails: > Unable to find refs/remotes/origin/2025.08.x revision in submodule > path 'buildroot' Let's just get rid of the submodule and do a shallow clone of `buildroot` manually during the build.
This commit is contained in:
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -1,9 +1,3 @@
|
|||||||
[submodule "buildroot"]
|
|
||||||
path = buildroot
|
|
||||||
url = https://gitlab.com/buildroot.org/buildroot.git
|
|
||||||
branch = 2025.08.x
|
|
||||||
shallow = true
|
|
||||||
|
|
||||||
[submodule "aimee-os"]
|
[submodule "aimee-os"]
|
||||||
path = aimee-os
|
path = aimee-os
|
||||||
url = https://git.pyrocufflink.blue/AimeeOS/aimee-os.git
|
url = https://git.pyrocufflink.blue/AimeeOS/aimee-os.git
|
||||||
|
|||||||
Submodule buildroot deleted from ec0d27f566
25
ci/Jenkinsfile
vendored
25
ci/Jenkinsfile
vendored
@@ -34,6 +34,31 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Prepare') {
|
||||||
|
steps {
|
||||||
|
checkout(
|
||||||
|
poll: false,
|
||||||
|
scm: scmGit(
|
||||||
|
branches: [[name: 'refs/heads/2025.08.x']],
|
||||||
|
browser: gitLab('https://gitlab.com/buildroot.org/buildroot/'),
|
||||||
|
extensions: [
|
||||||
|
[
|
||||||
|
$class: 'RelativeTargetDirectory',
|
||||||
|
relativeTargetDir: 'buildroot',
|
||||||
|
],
|
||||||
|
cloneOption(
|
||||||
|
shallow: true,
|
||||||
|
depth: 1,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
userRemoteConfigs: [[
|
||||||
|
url: 'https://gitlab.com/buildroot.org/buildroot.git',
|
||||||
|
]],
|
||||||
|
)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh '. ci/defconfig.sh'
|
sh '. ci/defconfig.sh'
|
||||||
|
|||||||
Reference in New Issue
Block a user