diff mbox series

[OSSTEST,3/4] ts-*-build: Save the .config (as <host>--kconfig)

Message ID 20190924144244.7940-3-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series [OSSTEST,1/4] TestSupport: Break out target_getfile_something_stash | expand

Commit Message

Ian Jackson Sept. 24, 2019, 2:42 p.m. UTC
This is saved after the build but we want it even if there is a build
failure, so save it after it is generated and before we start the
build.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 ts-kernel-build | 1 +
 ts-xen-build    | 2 ++
 2 files changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/ts-kernel-build b/ts-kernel-build
index 5536586f..56ff7994 100755
--- a/ts-kernel-build
+++ b/ts-kernel-build
@@ -404,6 +404,7 @@  sub config () {
     my $confighow= $r{kconfighow};
     $confighow =~ s/\W/_/g;
     &{ "config_$confighow" }();
+    target_getfile_stash($ho,30,"$builddir/linux/.config","kconfig");
 }
 
 sub build () {
diff --git a/ts-xen-build b/ts-xen-build
index 1762cd61..deec52b2 100755
--- a/ts-xen-build
+++ b/ts-xen-build
@@ -166,6 +166,8 @@  END
             fi
 END
 
+    target_getfile_stash($ho,30, "$builddir/xen/.config","kconfig");
+
     if (!@make_args) {
 	buildcmd_stamped_logged(9000, 'xen', 'build', '',<<END,'');
             $make_prefix $make $makeflags build