[pve-devel] [PATCH qemu-server 01/12] move 'use UUID' statement to correct file

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Nov 6 13:36:53 CET 2019


and add the libuuid-perl package to build-depends as well.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 PVE/API2/Qemu.pm  | 1 -
 PVE/QemuServer.pm | 1 +
 debian/control    | 1 +
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index b2c0b0d..da00676 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -4,7 +4,6 @@ use strict;
 use warnings;
 use Cwd 'abs_path';
 use Net::SSLeay;
-use UUID;
 use POSIX;
 use IO::Socket::IP;
 use URI::Escape;
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index bfe6662..5fb745e 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -24,6 +24,7 @@ use POSIX;
 use Storable qw(dclone);
 use Time::HiRes qw(gettimeofday);
 use URI::Escape;
+use UUID;
 
 use PVE::Cluster qw(cfs_register_file cfs_read_file cfs_write_file cfs_lock_file);
 use PVE::Exception qw(raise raise_param_exc);
diff --git a/debian/control b/debian/control
index 8afce0e..cbf16ef 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends: debhelper (>= 11~),
                libpve-guest-common-perl (>= 2.0-20),
                libpve-storage-perl,
                libtest-mockmodule-perl,
+               libuuid-perl,
                libxml-libxml-perl,
                lintian,
                perl (>= 5.10.0-19),
-- 
2.20.1





More information about the pve-devel mailing list