Displaying 20 results from an estimated 25 matches for "hashsums".
2016 Mar 18
9
[PATCH 0/7] Small portability changes
...ng libguestfs build on
non-Linux OSes; most of the changes impact tests though.
Thanks,
Pino Toscano (7):
build: check the path of fuser, and use it in FUSE code
tests: move guestfs-md5.sh to test-data
v2v: tests: isolate SHA1 calculation in an own shared function
v2v: tests: use guestfs-hashsums.sh for MD5
php: pass $(MAKE) to run-php-tests.sh
build: check the path of true, and use it in tests
build: improve GUESTFS_FIND_DB_TOOL macro
fuse/guestunmount.c | 6 ++---
fuse/test-fuse.c | 2 +-
m4/guestfs-find-db-tool.m4 | 7 +++---
m...
2016 Mar 18
0
[PATCH 2/7] tests: move guestfs-md5.sh to test-data
Move it to the test-data directory, giving it a more generic name so it
can be used also for more than just md5; adjust qemu tests accordingly.
This is just code motion, no behaviour change.
---
test-data/Makefile.am | 3 +++
test-data/guestfs-hashsums.sh | 30 ++++++++++++++++++++++++++++++
tests/qemu/Makefile.am | 1 -
tests/qemu/guestfs-md5.sh | 30 ------------------------------
tests/qemu/qemu-liveness.sh | 2 +-
tests/qemu/qemu-snapshot-isolation.sh | 2 +-
6 files changed, 35 insertions(+), 3...
2011 Apr 23
3
Checking file integrity
Hello all,
I have read FLAC stores a hashsum inside its files
to check their integrity. But how to do it without
having to extract the file? Is the hashsum calcu-
lated on the extracted or compressed data?
Thanks in advance,
Anton
2016 Oct 07
3
[PATCH v5 0/2] Improve OVA manifest parsing
...s in the file, not just one
- Warn on improperly formated lines
- Support SHA256 hashes
v4 -> v5:
- fix tests
- change one test to include the SHA256 checksum
Tomáš Golembiovský (2):
v2v: ova: fix checking of the manifest file
v2v: ova: support SHA256 hashes in manifest
test-data/guestfs-hashsums.sh | 13 +++++++++++++
v2v/input_ova.ml | 18 ++++++++++++------
v2v/test-v2v-i-ova-formats.sh | 2 +-
v2v/test-v2v-i-ova-gz.sh | 2 +-
v2v/test-v2v-i-ova-subfolders.sh | 2 +-
v2v/test-v2v-i-ova-two-disks.sh | 4 ++--
v2v/test-v2v-i-ova.sh | 4 ++--
7...
2016 Dec 18
9
[PATCH v4 0/6] Import directly from OVA tar archive if possible
...ards suggestion
- 4/6: added tests for nsplit
v3: Addressed Pino's comments, namely:
- input_ova.ml
- untar takes list of paths
- renamed untar_partial to untar_metadata
- replaced uggly regex with nsplit
- tests
- test changes are part of the main commit
- renamed test-data/guestfs-hashsums.sh to test-data/test-utils.sh
- renamed qemu_version to qemu_is_version and moved it to
test-data/test-utils.sh
- normalize paths in expect files
v2:
- rewritten the tar invocations, the output processing is now done in
OcaML rather than with a shell code; it turned out to be easier and...
2016 Nov 21
2
Re: [PATCH v2 5/5] v2v: update tests to match changes in OVA import
...-v2v-i-ova-subfolders.sh
> index c49f7cb..89a9a3e 100755
> --- a/v2v/test-v2v-i-ova-subfolders.sh
> +++ b/v2v/test-v2v-i-ova-subfolders.sh
> @@ -35,6 +35,7 @@ fi
> export VIRT_TOOLS_DATA_DIR="$srcdir/../test-data/fake-virt-tools"
>
> . $srcdir/../test-data/guestfs-hashsums.sh
> +. $srcdir/../test-data/utils.sh
>
> d=test-v2v-i-ova-subfolders.d
> rm -rf $d
> @@ -56,10 +57,15 @@ popd
> # normalize the output.
> $VG virt-v2v --debug-gc --quiet \
> -i ova $d/test.ova \
> - --print-source |
> -sed 's,[^ \t]*\(subfolder/disk....
2016 Dec 07
12
[PATCH v3 0/6] Import directly from OVA tar archive if possible
v3: Addressed Pino's comments, namely:
- input_ova.ml
- untar takes list of paths
- renamed untar_partial to untar_metadata
- replaced uggly regex with nsplit
- tests
- test changes are part of the main commit
- renamed test-data/guestfs-hashsums.sh to test-data/test-utils.sh
- renamed qemu_version to qemu_is_version and moved it to
test-data/test-utils.sh
- normalize paths in expect files
v2:
- rewritten the tar invocations, the output processing is now done in
OcaML rather than with a shell code; it turned out to be easier and...
2016 Nov 30
4
Re: [PATCH v2 5/5] v2v: update tests to match changes in OVA import
...mu-utils.sh?
> > Also, it must be added to EXTRA_DIST in test-data/Makefile.am.
>
> I wanted to make the name generic enough in case we want to add some
> other functions in the future. If you prefer qemu-utils.sh I will rename
> it.
In the past I've added test-data/guestfs-hashsums.sh -- maybe that one
could be renamed to test-utils.sh, and then add the new qemu_is_version
there.
> > > v2v/Makefile.am | 1 +
> > > v2v/test-v2v-i-ova-formats.sh | 5 +-
> > > v2v/test-v2v-i-ova-subfolders.expected2 | 18 +++++
&...
2015 Sep 14
2
adding xen support to grub2 got segfault running grub2-mkimage
There is some interest lately in making a self-contained grub2 boot image - call it pvgrub2, used for booting paravirtual domU in xen where a grub2 config is installed.
First attempt------------------
I first tried using the grub2*.src.rpm from the C7 vault.
I configured as shown belowhttps://blog.xenproject.org/2015/01/07/using-grub-2-as-a-bootloader-for-xen-pv-guests/
for headers, I used
2016 Dec 23
0
Reducing network usage even more
Hello,
There's a certain use case where rsync cannot act as bandwidth-
efficient as possible. Therefore I was wondering whether rsync could
be extended (albeit not trivially) to a more content-addressable way
of operation, or whether there's an application around that could
serve me better.
Situation: Synchronise huge file trees over a rather thin link.
Additionally, the receiving side
2016 Dec 01
0
Re: [PATCH v2 5/5] v2v: update tests to match changes in OVA import
...st be added to EXTRA_DIST in test-data/Makefile.am.
> >
> > I wanted to make the name generic enough in case we want to add some
> > other functions in the future. If you prefer qemu-utils.sh I will rename
> > it.
>
> In the past I've added test-data/guestfs-hashsums.sh -- maybe that one
> could be renamed to test-utils.sh, and then add the new qemu_is_version
> there.
Ok, I'll merge the two files then.
> > > > v2v/Makefile.am | 1 +
> > > > v2v/test-v2v-i-ova-formats.sh | 5 +-
> >...
2016 May 19
2
[PATCH] v2v: handle subfolders in ova files
...! test -s $f; then
+ echo "$0: test skipped because phony Windows image was not created"
+ exit 77
+fi
+
+export VIRT_TOOLS_DATA_DIR="$srcdir/../test-data/fake-virt-tools"
+export VIRTIO_WIN="$srcdir/../test-data/fake-virtio-win"
+
+. $srcdir/../test-data/guestfs-hashsums.sh
+
+d=test-v2v-i-ova-subfolders.d
+rm -rf $d
+mkdir -p $d/subfolder
+
+vmdk=test-ova.vmdk
+ovf=test-v2v-i-ova.ovf
+mf=test-ova.mf
+ova=test-ova-subfolders.ova
+raw=TestOva-sda
+
+qemu-img convert $f -O vmdk $d/subfolder/$vmdk
+cp $ovf $d/subfolder/$ovf
+sha1=`do_sha1 $d/subfolder/$ovf`
+echo &quo...
2016 Nov 12
0
[PATCH v2 5/5] v2v: update tests to match changes in OVA import
...-v2v-i-ova-subfolders.sh b/v2v/test-v2v-i-ova-subfolders.sh
index c49f7cb..89a9a3e 100755
--- a/v2v/test-v2v-i-ova-subfolders.sh
+++ b/v2v/test-v2v-i-ova-subfolders.sh
@@ -35,6 +35,7 @@ fi
export VIRT_TOOLS_DATA_DIR="$srcdir/../test-data/fake-virt-tools"
. $srcdir/../test-data/guestfs-hashsums.sh
+. $srcdir/../test-data/utils.sh
d=test-v2v-i-ova-subfolders.d
rm -rf $d
@@ -56,10 +57,15 @@ popd
# normalize the output.
$VG virt-v2v --debug-gc --quiet \
-i ova $d/test.ova \
- --print-source |
-sed 's,[^ \t]*\(subfolder/disk.*\.vmdk\),\1,' > $d/source
+ --print-sou...
2016 Nov 23
0
Re: [PATCH v2 5/5] v2v: update tests to match changes in OVA import
...index c49f7cb..89a9a3e 100755
> > --- a/v2v/test-v2v-i-ova-subfolders.sh
> > +++ b/v2v/test-v2v-i-ova-subfolders.sh
> > @@ -35,6 +35,7 @@ fi
> > export VIRT_TOOLS_DATA_DIR="$srcdir/../test-data/fake-virt-tools"
> >
> > . $srcdir/../test-data/guestfs-hashsums.sh
> > +. $srcdir/../test-data/utils.sh
> >
> > d=test-v2v-i-ova-subfolders.d
> > rm -rf $d
> > @@ -56,10 +57,15 @@ popd
> > # normalize the output.
> > $VG virt-v2v --debug-gc --quiet \
> > -i ova $d/test.ova \
> > - --print-sourc...
2016 Nov 12
9
[PATCH v2 0/5] Import directly from OVA tar archive if possible
This series is related to the problem of inefficient import of OVA
files. The needed enhancements of QEMU were merged into the codebase and
should be available in QEMU 2.8. From there we can use 'size' and
'offset' options in raw driver to tell QEMU to use only subset of a file
as an image.
The patch set is more or less complete. The only outstanding issue is
the missing detection
2016 May 19
0
Re: [PATCH] v2v: handle subfolders in ova files
...$0: test skipped because phony Windows image was not created"
> + exit 77
> +fi
> +
> +export VIRT_TOOLS_DATA_DIR="$srcdir/../test-data/fake-virt-tools"
> +export VIRTIO_WIN="$srcdir/../test-data/fake-virtio-win"
> +
> +. $srcdir/../test-data/guestfs-hashsums.sh
> +
> +d=test-v2v-i-ova-subfolders.d
> +rm -rf $d
> +mkdir -p $d/subfolder
> +
> +vmdk=test-ova.vmdk
> +ovf=test-v2v-i-ova.ovf
> +mf=test-ova.mf
> +ova=test-ova-subfolders.ova
> +raw=TestOva-sda
While I see this is mostly a copy from test-v2v-i-ova.sh, please chang...
2017 Aug 04
2
Bootable ISO with extra data outside the ISO?
Sorry if this is a total noob question... I've searched the archives and
haven't turned up much. Not turning up much on the web in general, either.
I'm working on a project and I'd like to create a Linux bootable ISO disc
with an extra chunk of data **outside** the ISO space. This chunk of data
might be a 10MB tar/zip. The goal would be to boot into Linux in RAM off
the disc
2016 May 23
4
[PATCH v3 0/3] SUSE VMDP support
Hi there,
Here is v3 of the remaining patches. Diff to v2:
* Removed the patch related to QXL
* Fixed the firstboot script with Roman's comments
* Fixed ova with subfolders test
* Handle MF-relative path in ova files
* Fixed now unneeded match case as per Richard's comment
Cédric Bosdonnat (3):
customize: fix windows firstboot script
v2v: add support for SUSE VMDP drivers
v2v:
2017 Jan 11
3
[PATCH v5 0/3] Import directly from OVA tar archive if possible
...ards suggestion
- 4/6: added tests for nsplit
v3: Addressed Pino's comments, namely:
- input_ova.ml
- untar takes list of paths
- renamed untar_partial to untar_metadata
- replaced uggly regex with nsplit
- tests
- test changes are part of the main commit
- renamed test-data/guestfs-hashsums.sh to test-data/test-utils.sh
- renamed qemu_version to qemu_is_version and moved it to
test-data/test-utils.sh
- normalize paths in expect files
v2:
- rewritten the tar invocations, the output processing is now done in
OcaML rather than with a shell code; it turned out to be easier and...
2016 Nov 04
10
[PATCH 0/5] Import directly from OVA tar archive if possible
This is still a draft, not ready for commit yet. But feedback is
welcomed.
This series is related to the problem of inefficient import of OVA
files. The needed enhancements of QEMU was merged into the codebase and
should be available in QEMU 2.8. From there we can use 'size' and
'offset' options in raw driver to tell QEMU to use only subset of a file
as an image.
The first three