summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-04-05 08:55:17 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-04-05 08:55:17 +0200
commit1888d1ad4c07cd02abb4363442584a0ed9a18694 (patch)
tree8e3cb7ce4a77ae176d2e76e3daefaa554600822a /Jenkinsfile
parent543a1b9d2849effb46500e5e7fe801da9c5ffef2 (diff)
downloadcoreboot-1888d1ad4c07cd02abb4363442584a0ed9a18694.tar.gz
submodules
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index a12621e..866939c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -11,6 +11,9 @@ def RPMSource() {
[
$class: 'CloneOption',
timeout: 60
+ ],[
+ $class: 'SubmoduleOption',
+ timeout: 60
]
],
userRemoteConfigs: [
@@ -33,7 +36,13 @@ def RPMBuild() {
rm -f *.tar.gz
tarball="coreboot-${ghash}.tar.gz"
(cd source; git archive --format=tar --prefix="${tarball%.tar.gz}/" HEAD) \
- | gzip > "${tarball}"
+ > "${tarball%.gz}"
+ (cd source/3rdparty/vboot; git archive --format=tar \
+ --prefix="${tarball%.tar.gz}/3rdparty/vboot/" \
+ HEAD) > "vboot.tar"
+ tar --concatenate --file "${tarball%.gz}" "vboot.tar"
+ rm "vboot.tar"
+ gzip "${tarball%.gz}"
# tweak spec file
sed -i.orig \