Skip to contentSkip to conversation

ts-xen-build-prep: install libgnutls28-dev for libvirt build

PATCH Superseded Wei Liu 2 participants 2 messages Sep 24, 2018

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH v2 1/1 ts-xen-build-prep: install libgnutls28-dev for libvirt build

d54ecf31b2 placed the build dependency in a wrong file. This patch adds the dependency to the right file. Add a runtime dependency in libvirt.pm.

---
Cc: Jim Fehlig <[email protected]>

---
 Osstest/Toolstack/libvirt.pm | 2 +-
 ts-xen-build-prep            | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
Osstest/Toolstack/libvirt.pm +1 -1
index d5cda77e..13f92dae 100644
@@ -26,7 +26,7 @@ use XML::LibXML;
 
 sub new {
     my ($class, $ho, $methname,$asset) = @_;
-    my @extra_packages = qw(libavahi-client3 libgnutls28-dev);
+    my @extra_packages = qw(libavahi-client3 libgnutls30);
     my $nl_lib = "libnl-3-200";
     $nl_lib = "libnl1" if ($ho->{Suite} =~ m/wheezy/);
     push(@extra_packages, $nl_lib);
ts-xen-build-prep +2 -1
index 77a2d284..23bbbeb9 100755
@@ -208,7 +208,8 @@ sub prep () {
                       libxml2-utils libxml2-dev
                       libdevmapper-dev w3c-dtd-xhtml libxml-xpath-perl
                       libelf-dev
-                      ccache nasm checkpolicy ebtables);
+                      ccache nasm checkpolicy ebtables
+                      libgnutls28-dev);
 
     if ($ho->{Suite} !~ m/squeeze|wheezy/) {
 	push(@packages, qw(ocaml-nox ocaml-findlib));
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw
Quoted 3 lines · Wei Liu

d54ecf31b2 placed the build dependency in a wrong file. This patch adds the dependency to the right file. Add a runtime dependency in libvirt.pm.

Thanks for fixing my fix :-).

Regards,
Jim

Quoted 28 lines

---
Cc: Jim Fehlig <[email protected]>

---
  Osstest/Toolstack/libvirt.pm | 2 +-
  ts-xen-build-prep            | 3 ++-
  2 files changed, 3 insertions(+), 2 deletions(-)
Osstest/Toolstack/libvirt.pm +1 -1
index d5cda77e..13f92dae 100644
@@ -26,7 +26,7 @@ use XML::LibXML;
 
  sub new {
      my ($class, $ho, $methname,$asset) = @_;
-    my @extra_packages = qw(libavahi-client3 libgnutls28-dev);
+    my @extra_packages = qw(libavahi-client3 libgnutls30);
      my $nl_lib = "libnl-3-200";
      $nl_lib = "libnl1" if ($ho->{Suite} =~ m/wheezy/);
      push(@extra_packages, $nl_lib);
ts-xen-build-prep +0 -0
index 77a2d284..23bbbeb9 100755

ts-xen-build-prep sub prep () { · line 215

Quoted 9 lines
ts-xen-build-prep +2 -1
@@ -208,7 +208,8 @@ sub prep () {
                        libxml2-utils libxml2-dev
                        libdevmapper-dev w3c-dtd-xhtml libxml-xpath-perl
                        libelf-dev
-                      ccache nasm checkpolicy ebtables);
+                      ccache nasm checkpolicy ebtables
+                      libgnutls28-dev);
 
      if ($ho->{Suite} !~ m/squeeze|wheezy/) {
  	push(@packages, qw(ocaml-nox ocaml-findlib));

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel