[arch-commits] Commit in terraform-provider-libvirt/trunk (2 files)

David Runge dvzrv at archlinux.org
Tue Nov 10 13:42:00 UTC 2020


    Date: Tuesday, November 10, 2020 @ 13:42:00
  Author: dvzrv
Revision: 749503

upgpkg: terraform-provider-libvirt 0.6.3-1: Upgrade to 0.6.3.

Remove now upstreamed patch.
Also include .network examples.

Modified:
  terraform-provider-libvirt/trunk/PKGBUILD
Deleted:
  terraform-provider-libvirt/trunk/0001-Fix-channel-type-for-qemu-guest-agent.patch

--------------------------------------------------+
 0001-Fix-channel-type-for-qemu-guest-agent.patch |   48 ---------------------
 PKGBUILD                                         |   17 ++-----
 2 files changed, 6 insertions(+), 59 deletions(-)

Deleted: 0001-Fix-channel-type-for-qemu-guest-agent.patch
===================================================================
--- 0001-Fix-channel-type-for-qemu-guest-agent.patch	2020-11-10 13:34:49 UTC (rev 749502)
+++ 0001-Fix-channel-type-for-qemu-guest-agent.patch	2020-11-10 13:42:00 UTC (rev 749503)
@@ -1,48 +0,0 @@
-From 1aeecb038457c9859c58f1979a8162b1292d2bca Mon Sep 17 00:00:00 2001
-From: David Runge <dave at sleepmap.de>
-Date: Tue, 3 Nov 2020 15:46:57 +0100
-Subject: [PATCH] Fix channel type for qemu-guest-agent
-
-libvirt/domain_def.go:
-A previous refactoring
-(https://github.com/dmacvicar/terraform-provider-libvirt/commit/77982e7e171afb8354915ef286fa025f5ee77506#diff-f2a9373e453b366eb748c5f3ed0da608afbf1a97c876e8c044fea841c8e5aa78L46)
-for integrating a newer version of
-https://github.com/libvirt/libvirt-go-xml unset the explicit setting of
-the channel type (`"unix"`) for qemu-guest-agent integration.
-
-By default libvirt will use a type `"pty"` channel, if none is set,
-which is not supported for the qemu-guest-agent channel
-(https://wiki.libvirt.org/page/Qemu_guest_agent#Setting_QEMU_GA_up).
-This can be seen in the libvirtd logs:
-
-```
-error : qemuAgentOpen:706 : internal error: unable to handle agent type:
-pty
-```
-
-This pull request explicitely sets the correct Source of type `"unix"`
-again (based on the suggestion by @aaannz in
-https://github.com/dmacvicar/terraform-provider-libvirt/issues/710#issuecomment-663007825).
-
-Fixes #765
----
- libvirt/domain_def.go | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/libvirt/domain_def.go b/libvirt/domain_def.go
-index f68b7abd..04e55339 100644
---- a/libvirt/domain_def.go
-+++ b/libvirt/domain_def.go
-@@ -62,6 +62,9 @@ func newDomainDef() libvirtxml.Domain {
- 			},
- 			Channels: []libvirtxml.DomainChannel{
- 				{
-+					Source: &libvirtxml.DomainChardevSource{
-+						UNIX: &libvirtxml.DomainChardevSourceUNIX{},
-+					},
- 					Target: &libvirtxml.DomainChannelTarget{
- 						VirtIO: &libvirtxml.DomainChannelTargetVirtIO{
- 							Name: "org.qemu.guest_agent.0",
--- 
-2.29.2
-

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 13:34:49 UTC (rev 749502)
+++ PKGBUILD	2020-11-10 13:42:00 UTC (rev 749503)
@@ -1,8 +1,8 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=terraform-provider-libvirt
-pkgver=0.6.2
-pkgrel=3
+pkgver=0.6.3
+pkgrel=1
 pkgdesc="Terraform provider to provision infrastructure with Linux's KVM using libvirt"
 arch=("x86_64")
 url="https://github.com/dmacvicar/terraform-provider-libvirt"
@@ -9,18 +9,12 @@
 license=('Apache')
 depends=('glibc' 'terraform')
 makedepends=('go' 'git' 'libvirt')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dmacvicar/${pkgname}/archive/v$pkgver.tar.gz"
-        0001-Fix-channel-type-for-qemu-guest-agent.patch)
-sha512sums=('9855fe2d0b7a827508dd41d779f1f160b1d230bf6ee1eeb7ae58418fffbd250899382e315a8ababdf0c89da21c011f874ead1d6f53a723290851e1bc47384c1d'
-            '10ac1e8350f857d4b2a5b23fbfa4f8af48516a545300b57cb89c046bf0b4fb0889f4d7e21f8c93412aab08f68e3b94a7ffb623b1795a62d25d6a0b46e26671d9')
-b2sums=('ce150963be678dda1a4b11e3707140b7b819b8fe6e01799a769c2da737f6280d7eca64ac704c41426737a3a8432fd8c42f3c4d6c00a14cf291e123c4378842bd'
-        'a9d6a4a79cea2a555e45a62687d00decd9d3a656af85a0108ff149b7be495d0b85075bc6ecc89113c9f843e4bc9e0fb29f195f4835b3519bac5cb587ea93f1e4')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dmacvicar/${pkgname}/archive/v$pkgver.tar.gz")
+sha512sums=('06f9283a30f6739dc879e592834a703e6e5e4766cd406ec51f40fb96f8b47291e2ef004a90e2724f61fc60405aa3927fd9ae8ccc097fba4546fb9fbdc1b1673d')
+b2sums=('a62a5aee5c780d63cdea9f924e5e7abd21ee9af575f13ade6b894c2b58be5968cd05cd5019d3345f39d720bbfb346f95b1a4a93a6dd4853b6a59a58b4c0209ab')
 
 prepare() {
   cd "${pkgname}-${pkgver}"
-  # let provider create the correct channel type for qemu-guest-agent:
-  # https://github.com/dmacvicar/terraform-provider-libvirt/pull/801
-  patch -Np1 -i ../0001-Fix-channel-type-for-qemu-guest-agent.patch
   mkdir -vp build
 }
 
@@ -47,6 +41,7 @@
       -iname "*.conf" -or \
       -iname "*.md" -or \
       -iname "*.mount" -or \
+      -iname "*.network" -or \
       -iname "*.service" -or \
       -iname "*.tf" -or \
       -iname "*.xsl" -or \



More information about the arch-commits mailing list