Fixed bug in libvirt
This commit is contained in:
parent
c27c0a0fa7
commit
3ce7bdcd81
1 changed files with 18 additions and 1 deletions
|
|
@ -17,11 +17,28 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=1
|
VERSION=2
|
||||||
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu yakkety-updates main'
|
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu yakkety-updates main'
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
|
#https://www.redhat.com/archives/libvir-list/2016-August/msg00749.html
|
||||||
|
patch -p1 << EOF
|
||||||
|
diff --git a/tools/virsh-secret.c b/tools/virsh-secret.c
|
||||||
|
index 8588f4c..537bdd7 100644
|
||||||
|
--- a/tools/virsh-secret.c
|
||||||
|
+++ b/tools/virsh-secret.c
|
||||||
|
@@ -253,7 +253,7 @@ static bool
|
||||||
|
cmdSecretGetValue(vshControl *ctl, const vshCmd *cmd)
|
||||||
|
{
|
||||||
|
virSecretPtr secret;
|
||||||
|
- char *base64;
|
||||||
|
+ char *base64 = NULL;
|
||||||
|
unsigned char *value;
|
||||||
|
size_t value_size;
|
||||||
|
bool ret = false;
|
||||||
|
EOF
|
||||||
|
|
||||||
sed '/zfsutils/d' -i debian/control
|
sed '/zfsutils/d' -i debian/control
|
||||||
sed 's/with-storage-zfs/without-storage-zfs/' -i debian/rules
|
sed 's/with-storage-zfs/without-storage-zfs/' -i debian/rules
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue