summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
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 \