[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Date: Tue, 24 Sep 2019 15:42:43 +0100
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@xxxxxxxxxxxxx; spf=Pass smtp.mailfrom=Ian.Jackson@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Delivery-date: Tue, 24 Sep 2019 14:42:59 +0000
  • Ironport-sdr: QrpoPEWHvKLPbxxwfq8gQ8cB64ToIhXeYCHREVQT1wD7mZWXMcHFXuo6uhJjQitNFan5TesNJG Z9zj/Y3jzb6YAyuZ0gGDa9NfJ8W6UeEmnMce8GPKQViNcA7Hg4pnla7wD31PC7FIsH3EzT/kNw hN+IkdvVgYwp4l7u1jbP1XPj3dKld1kz5GtcOlWhg3YffyOXhWRyvrkROLZhA4XszxTCuOY0+c 8ljRb4gSRn+zKCt8fRW+aMt2mAsMnZZX+d+kojMbSNh7NBAU95scXMRnyOzPJN3O5V9ZxwoF3I 6Ec=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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@xxxxxxxxxxxxx>
---
 ts-kernel-build | 1 +
 ts-xen-build    | 2 ++
 2 files changed, 3 insertions(+)

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
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.