Compare commits
282 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27d75aee6d | ||
|
|
7adc61bd28 | ||
|
|
895518e9b7 | ||
|
|
8c9c012302 | ||
|
|
bba1b606ea | ||
|
|
12272cf017 | ||
|
|
3ac14b503c | ||
|
|
e7046fe55b | ||
|
|
1084cf6b17 | ||
|
|
737237a79e | ||
|
|
1edc00676a | ||
|
|
90bb4d2baf | ||
|
|
877a247a54 | ||
|
|
9cb066543f | ||
|
|
10655b63e0 | ||
|
|
af1ea247c4 | ||
|
|
83dda87efe | ||
|
|
6fa34707b2 | ||
|
|
82cadaec7f | ||
|
|
9eeb0986a8 | ||
|
|
c5c2923895 | ||
|
|
ad9f3a5f15 | ||
|
|
e602e8ba97 | ||
|
|
17b450096e | ||
|
|
712bdd9c94 | ||
|
|
5bc9c98e58 | ||
|
|
091dfaf12e | ||
|
|
aa5924b4a3 | ||
|
|
c399a6571d | ||
|
|
6a0f5623dc | ||
|
|
a92e54d898 | ||
|
|
de1ecfc738 | ||
|
|
0209f60e48 | ||
|
|
f00974982e | ||
|
|
383ca87990 | ||
|
|
698d9ad820 | ||
|
|
1317c346ab | ||
|
|
0893711f75 | ||
|
|
bc325acc76 | ||
|
|
958e08bd81 | ||
|
|
797a521575 | ||
|
|
d165325dd3 | ||
|
|
a1eed9c04c | ||
|
|
1fc58abcdd | ||
|
|
566608b2fc | ||
|
|
04ee36056b | ||
|
|
00b17b7430 | ||
|
|
67218f97d2 | ||
|
|
d0aaeeedab | ||
|
|
b4cbc4fbfc | ||
|
|
655a9a1be9 | ||
|
|
64a8335772 | ||
|
|
b0b5282cc0 | ||
|
|
f7d93df6a3 | ||
|
|
884fa6683d | ||
|
|
97c01ad3a0 | ||
|
|
d08c746e96 | ||
|
|
ff5b9715aa | ||
|
|
969d54fb5a | ||
|
|
9a92c16bc3 | ||
|
|
edf1795145 | ||
|
|
3f27c698db | ||
|
|
0e0e918557 | ||
|
|
0b9d476db9 | ||
|
|
83f3f8ba76 | ||
|
|
74d7816935 | ||
|
|
481bf76bda | ||
|
|
8f1a2c16fd | ||
|
|
a05db77608 | ||
|
|
9077713557 | ||
|
|
dff1c1d431 | ||
|
|
df317de3c7 | ||
|
|
dfc275f11d | ||
|
|
7feb33cf01 | ||
|
|
ad7b6d94c1 | ||
|
|
1b88c17833 | ||
|
|
2592e5fc60 | ||
|
|
608cf467fa | ||
|
|
18d0372353 | ||
|
|
4bc6624556 | ||
|
|
4098de8c52 | ||
|
|
706a26efde | ||
|
|
aad58ab4ed | ||
|
|
199875924f | ||
|
|
de83481787 | ||
|
|
a8d4e14528 | ||
|
|
79af29a9b7 | ||
|
|
ca0111fc5a | ||
|
|
89084e10d2 | ||
|
|
deb6124adb | ||
|
|
266db04dfd | ||
|
|
1b8e34eb45 | ||
|
|
181f457c59 | ||
|
|
3a2a7734bd | ||
|
|
43a1d7a110 | ||
|
|
da7b003571 | ||
|
|
345e2a7513 | ||
|
|
9ee8f6de71 | ||
|
|
eb5bfa36cc | ||
|
|
e48d79759a | ||
|
|
e42b2838a8 | ||
|
|
cd66355dd5 | ||
|
|
ac1e012eb1 | ||
|
|
ab2d1d568e | ||
|
|
0d42c50ccc | ||
|
|
78db150555 | ||
|
|
57a9beeac9 | ||
|
|
7c85e98f6f | ||
|
|
15f0fe6b03 | ||
|
|
ef0dbaea60 | ||
|
|
007cc47bef | ||
|
|
6414c52e4d | ||
|
|
b81ea517da | ||
|
|
47191e3da1 | ||
|
|
67766db26b | ||
|
|
25ec33956f | ||
|
|
7f1b9ab599 | ||
|
|
72d1e2e1de | ||
|
|
f4541eac6e | ||
|
|
cd873a392d | ||
|
|
509077f1d6 | ||
|
|
36ce025ec9 | ||
|
|
e2d237c476 | ||
|
|
5370766302 | ||
|
|
5e7e03448a | ||
|
|
f3d71cb4e8 | ||
|
|
1ebe4be020 | ||
|
|
e1d896a8a1 | ||
|
|
dd756afd60 | ||
|
|
5fe1618c69 | ||
|
|
191ba1199e | ||
|
|
3618f7a33c | ||
|
|
9f346950b8 | ||
|
|
f1cce8400e | ||
|
|
cb2b302101 | ||
|
|
fd4b4a4b62 | ||
|
|
5454a28797 | ||
|
|
19312656d8 | ||
|
|
c3704e0200 | ||
|
|
f8b1780c7d | ||
|
|
06dd88ce06 | ||
|
|
68f61c4dfc | ||
|
|
6140dbc2f0 | ||
|
|
a64cbbf92a | ||
|
|
8f14a2c354 | ||
|
|
8f8c5740d5 | ||
|
|
1dfae674ee | ||
|
|
ea7571f662 | ||
|
|
75f10447a6 | ||
|
|
079cc475fb | ||
|
|
c913345514 | ||
|
|
1d510c3e2c | ||
|
|
3c86bbd78e | ||
|
|
0e746eddb8 | ||
|
|
c0052f0c34 | ||
|
|
f1b5b138be | ||
|
|
9613879357 | ||
|
|
d15a8071b1 | ||
|
|
4ab8c7248f | ||
|
|
1783711e2f | ||
|
|
ce0a8a8976 | ||
|
|
e598e60d7c | ||
|
|
75e77be87a | ||
|
|
8a7ee9b294 | ||
|
|
7f0f202975 | ||
|
|
7c2b529975 | ||
|
|
4c4ca3eda2 | ||
|
|
3336b47a09 | ||
|
|
461e5bef9c | ||
|
|
51cdb68f09 | ||
|
|
d2bb9986b2 | ||
|
|
5106bb9547 | ||
|
|
97290932ce | ||
|
|
419bada284 | ||
|
|
65d9d766a2 | ||
|
|
ed16a793e0 | ||
|
|
b5435eeae3 | ||
|
|
37b78c5d2f | ||
|
|
c6fc8008f3 | ||
|
|
5f98d3ef87 | ||
|
|
04309c70cd | ||
|
|
489fcddcb7 | ||
|
|
6f05a2f91c | ||
|
|
9386c1d522 | ||
|
|
1a2b1681de | ||
|
|
05680b55f6 | ||
|
|
e2c24718cf | ||
|
|
db62beac35 | ||
|
|
58d553dcbd | ||
|
|
6c323aeaf2 | ||
|
|
941da64078 | ||
|
|
4c961db464 | ||
|
|
34629afce6 | ||
|
|
689bd7669a | ||
|
|
2be2382c8f | ||
|
|
8df9b2daac | ||
|
|
bc142755f6 | ||
|
|
0b4e08f0b4 | ||
|
|
c8896d32cb | ||
|
|
af41447287 | ||
|
|
6b72a37644 | ||
|
|
85d3203b3a | ||
|
|
f1ab20704e | ||
|
|
baa2e3c243 | ||
|
|
1ead53a482 | ||
|
|
d4725ab61b | ||
|
|
063aa237e0 | ||
|
|
8f17229bff | ||
|
|
6ab119c488 | ||
|
|
a6a11a65c9 | ||
|
|
8f6ba6d789 | ||
|
|
f331cc95d3 | ||
|
|
928729ea6e | ||
|
|
9da4883de4 | ||
|
|
b091b5dde2 | ||
|
|
cc9dde2cb7 | ||
|
|
8c3b34551e | ||
|
|
3c91923901 | ||
|
|
16a560c22f | ||
|
|
4a269d5cf9 | ||
|
|
175743174b | ||
|
|
e38829eec1 | ||
|
|
4fa48327db | ||
|
|
97b5f69cda | ||
|
|
d494fdb90a | ||
|
|
070ac54283 | ||
|
|
d8408afe21 | ||
|
|
7e7de18823 | ||
|
|
0c9b3562af | ||
|
|
cbf97ecfad | ||
|
|
49700015ed | ||
|
|
1a5193c66e | ||
|
|
2f9953e2d1 | ||
|
|
4caba8df2f | ||
|
|
1aa43ac92e | ||
|
|
30d986c2bc | ||
|
|
3b8eaf5cc4 | ||
|
|
9cc996f109 | ||
|
|
374f82f47f | ||
|
|
cfa88f9c57 | ||
|
|
99c563d97c | ||
|
|
a211636966 | ||
|
|
a759a6527c | ||
|
|
1ece913403 | ||
|
|
7dba19275f | ||
|
|
c0f168d644 | ||
|
|
8e5955c8cd | ||
|
|
b0858dfd8d | ||
|
|
b40248ac63 | ||
|
|
84c3a4792e | ||
|
|
60355566b1 | ||
|
|
c519d3e43e | ||
|
|
17b1123681 | ||
|
|
813ffc39ae | ||
|
|
f38735b278 | ||
|
|
21dc46bc2f | ||
|
|
aa4afaf185 | ||
|
|
2909764dcc | ||
|
|
bde6f7fba6 | ||
|
|
b509da932d | ||
|
|
7b18e47f5e | ||
|
|
e37dfc33c2 | ||
|
|
fabfd2fbe9 | ||
|
|
dd205f300a | ||
|
|
42818e7e23 | ||
|
|
b43882fe67 | ||
|
|
cbdfa80fe9 | ||
|
|
d33d482cf7 | ||
|
|
91d83514c4 | ||
|
|
c822e8c6ce | ||
|
|
b8ac2c8b68 | ||
|
|
47cd88a1cc | ||
|
|
24fa0807a5 | ||
|
|
6ee5b15245 | ||
|
|
85c51621ab | ||
|
|
ed63a04553 | ||
|
|
959f22e6d8 | ||
|
|
5c1ab310eb | ||
|
|
2b9f5a19f6 | ||
|
|
48bb17705f | ||
|
|
128db1e9aa | ||
|
|
8e247b706c |
10 changed files with 1143 additions and 690 deletions
|
|
@ -1,54 +0,0 @@
|
|||
From c4638739d684609471cfa94c08e7b90c70ea3e83 Mon Sep 17 00:00:00 2001
|
||||
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||
Date: Fri, 31 May 2019 13:07:25 +0100
|
||||
Subject: [PATCH] python: PYTHON_LIBS is not set in Python 3.8 (RHBZ#1705482).
|
||||
|
||||
Python 3.8 no longer links C extensions to -lpython, instead relying
|
||||
on the fact that the python binary itself already contains those
|
||||
symbols. This means $PYTHON_LIBS is empty and so the Python bindings
|
||||
are not built.
|
||||
|
||||
Use a different test to see if the python module is available.
|
||||
---
|
||||
m4/guestfs-python.m4 | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/m4/guestfs-python.m4 b/m4/guestfs-python.m4
|
||||
index 7d4c991bb..befa9b102 100644
|
||||
--- a/m4/guestfs-python.m4
|
||||
+++ b/m4/guestfs-python.m4
|
||||
@@ -33,14 +33,17 @@ AS_IF([test "x$enable_python" != "xno"],[
|
||||
PYTHON_VERSION_MINOR=`$PYTHON -c "import sys; print (sys.version_info@<:@1@:>@)"`
|
||||
PYTHON_VERSION="$PYTHON_VERSION_MAJOR.$PYTHON_VERSION_MINOR"
|
||||
AC_MSG_RESULT([$PYTHON_VERSION])
|
||||
+
|
||||
# Debian: python-2.7.pc, python-3.2.pc
|
||||
PKG_CHECK_MODULES([PYTHON], [python-"$PYTHON_VERSION"],[
|
||||
+ have_python_module=1
|
||||
AC_SUBST([PYTHON_CFLAGS])
|
||||
AC_SUBST([PYTHON_LIBS])
|
||||
AC_SUBST([PYTHON_VERSION])
|
||||
AC_DEFINE([HAVE_PYTHON],[1],[Python library found at compile time])
|
||||
],[
|
||||
PKG_CHECK_MODULES([PYTHON], [python],[
|
||||
+ have_python_module=1
|
||||
AC_SUBST([PYTHON_CFLAGS])
|
||||
AC_SUBST([PYTHON_LIBS])
|
||||
AC_SUBST([PYTHON_VERSION])
|
||||
@@ -49,6 +52,7 @@ AS_IF([test "x$enable_python" != "xno"],[
|
||||
AC_MSG_WARN([python $PYTHON_VERSION not found])
|
||||
])
|
||||
])
|
||||
+
|
||||
AC_MSG_CHECKING([Python prefix])
|
||||
PYTHON_PREFIX=`$PYTHON -c "import sys; print (sys.prefix)"`
|
||||
AC_MSG_RESULT([$PYTHON_PREFIX])
|
||||
@@ -101,4 +105,4 @@ AS_IF([test "x$enable_python" != "xno"],[
|
||||
AC_SUBST(PYTHON_EXT_SUFFIX)
|
||||
])
|
||||
AM_CONDITIONAL([HAVE_PYTHON],
|
||||
- [test "x$PYTHON" != "xno" && test "x$PYTHON_LIBS" != "x" ])
|
||||
+ [test "x$PYTHON" != "xno" && test "x$have_python_module" = "x1" ])
|
||||
--
|
||||
2.21.0
|
||||
|
||||
|
|
@ -8,8 +8,7 @@ list:
|
|||
|
||||
http://www.redhat.com/mailman/listinfo/libguestfs
|
||||
|
||||
This Fedora package comes with a lot of help and examples to get you
|
||||
started.
|
||||
This package comes with a lot of help and examples to get you started.
|
||||
|
||||
The first place to start are the manual pages. Type:
|
||||
|
||||
|
|
@ -20,19 +19,19 @@ The first place to start are the manual pages. Type:
|
|||
man virt-cat # and other virt-* tools
|
||||
|
||||
If you install the libguestfs-devel package, then in the
|
||||
/usr/share/doc/libguestfs-devel/ directory you will also
|
||||
find:
|
||||
/usr/share/doc/libguestfs-devel/ directory you will find other
|
||||
documentation including:
|
||||
|
||||
- BUGS: list of open bugs in this version
|
||||
|
||||
- ChangeLog: the detailed list of changes in this version
|
||||
- ChangeLog.gz: the detailed list of changes in this version
|
||||
|
||||
- ROADMAP: the roadmap for future versions
|
||||
- HACKING: how to extend libguestfs
|
||||
|
||||
- TODO: ideas for extending libguestfs
|
||||
|
||||
- *.c: example C programs using the API
|
||||
|
||||
- *.xml: example virt-inspector output
|
||||
- *.xml.gz: example virt-inspector output (compressed)
|
||||
|
||||
- *.rng: virt-inspector RelaxNG schema
|
||||
- virt-inspector.rng: virt-inspector RelaxNG schema
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh -
|
||||
|
||||
set -e
|
||||
|
||||
rpmdev-bumpspec -c "- Bump and rebuild." libguestfs.spec
|
||||
git diff ||:
|
||||
echo "Press ENTER to commit, push and rebuild."
|
||||
read line
|
||||
fedpkg commit -m "Bump and rebuild." -p
|
||||
fedpkg build
|
||||
56
copy-patches.sh
Executable file
56
copy-patches.sh
Executable file
|
|
@ -0,0 +1,56 @@
|
|||
#!/bin/bash -
|
||||
|
||||
set -e
|
||||
|
||||
# Maintainer script to copy patches from the git repo to the current
|
||||
# directory. It's normally only used downstream (ie. in RHEL). Use
|
||||
# it like this:
|
||||
# ./copy-patches.sh
|
||||
|
||||
rhel_version=9.0.0
|
||||
|
||||
# Check we're in the right directory.
|
||||
if [ ! -f libguestfs.spec ]; then
|
||||
echo "$0: run this from the directory containing 'libguestfs.spec'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
git_checkout=$HOME/d/libguestfs-rhel-$rhel_version
|
||||
if [ ! -d $git_checkout ]; then
|
||||
echo "$0: $git_checkout does not exist"
|
||||
echo "This script is only for use by the maintainer when preparing a"
|
||||
echo "libguestfs release on RHEL."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Get the base version of libguestfs.
|
||||
version=`grep '^Version:' libguestfs.spec | awk '{print $2}'`
|
||||
tag="v$version"
|
||||
|
||||
# Remove any existing patches.
|
||||
git rm -f [0-9]*.patch ||:
|
||||
rm -f [0-9]*.patch
|
||||
|
||||
# Get the patches.
|
||||
(cd $git_checkout; rm -f [0-9]*.patch; git format-patch -N --submodule=diff $tag)
|
||||
mv $git_checkout/[0-9]*.patch .
|
||||
|
||||
# Remove any not to be applied.
|
||||
rm -f *NOT-FOR-RPM*.patch
|
||||
|
||||
# Add the patches.
|
||||
git add [0-9]*.patch
|
||||
|
||||
# Print out the patch lines.
|
||||
echo
|
||||
echo "--- Copy the following text into libguestfs.spec file"
|
||||
echo
|
||||
|
||||
echo "# Patches."
|
||||
for f in [0-9]*.patch; do
|
||||
n=`echo $f | awk -F- '{print $1}'`
|
||||
echo "Patch$n: $f"
|
||||
done
|
||||
|
||||
echo
|
||||
echo "--- End of text"
|
||||
6
gating.yaml
Executable file
6
gating.yaml
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: xen-ci.brew-build.tier1.functional}
|
||||
1666
libguestfs.spec
1666
libguestfs.spec
File diff suppressed because it is too large
Load diff
5
rpminspect.yaml
Normal file
5
rpminspect.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Ignore copy-patches.sh. It is an internal script we use to
|
||||
# manage the patches.
|
||||
upstream:
|
||||
ignore:
|
||||
- copy-patches.sh
|
||||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (libguestfs-1.40.2.tar.gz) = d288f15d5a70b4b87a4271ea2eb7dc0ec4f48fdb136b8f62003352a069f75573de873e1063763889f410fb1b99951252e9a48dd73bf0233047f21aae43ac6de2
|
||||
SHA512 (libguestfs-1.40.2.tar.gz.sig) = 7e7db806c7051010367a82c89fb4ac6af2824c28f54cc7df561010ad6a87562fb3c2d4e3bfc14f7cc7308344b1dfb8532f88969ac59cfd17745717dc305c81b9
|
||||
SHA512 (libguestfs-1.58.0.tar.gz) = 67abbd37fe64935ae5cca13dbe1860fe2eab9df492fd134eacbdc1831e6034c849855e76118ce0002d3ac83205122947582dbe47b66f12b94dcb51155881501a
|
||||
SHA512 (libguestfs-1.58.0.tar.gz.sig) = e07758ed3901f9ae95dace16cbb4de194dbbde788155efcde7982226785928d1805af6939f201d74770923ad55997f1d465f9594cb81bc2435c0ea882ce546d8
|
||||
|
|
|
|||
10
tests/run-libguestfs-test-tool.sh
Executable file
10
tests/run-libguestfs-test-tool.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash -
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# This only makes sure that libguestfs isn't totally broken.
|
||||
|
||||
# Fix libvirt.
|
||||
systemctl restart virtqemud virtsecretd virtstoraged virtnetworkd
|
||||
|
||||
libguestfs-test-tool
|
||||
|
|
@ -5,9 +5,10 @@
|
|||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- libguestfs
|
||||
- libvirt-daemon-kvm
|
||||
tests:
|
||||
- libguestfs-test-tool:
|
||||
dir: .
|
||||
run: libguestfs-test-tool
|
||||
required_packages:
|
||||
- libguestfs
|
||||
run: ./run-libguestfs-test-tool.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue