SHA256
1
0
forked from pool/libguestfs
Commit Graph

123 Commits

Author SHA256 Message Date
f7073632ba - Update to version 1.24.4
* ruby: Fix .new method (RHBZ#1046509).
  * RHEL 6: ruby: Fix fallback to rake/rdoctask for old rake.
  * inspect: fix detection of newer CirrOS versions (RHBZ#1045450).
  * launch: libvirt: Clearer message when libvirt screws up.
  * fish: Fix memory leak in inspect/-i code (detected by valgrind).
  * appliance: Create an /etc/resolv.conf file referring to qemu user network nameserver (RHBZ#1044585).
  * fish: Move -d option parsing to common function.
  * fish: Deprecate the -D option (prefer --no-dest-paths instead).
  * daemon: Improve error message for readlink call.
  * generator: Fix bug in documentation of guestfs_free_* functions.
  * fish: Ensure print_inspect_prompt can only be called by guestfish.
  * inspector: Ensure low-level inspection functions can only be called by virt-inspector.
  * virt-cat, virt-filesystems, virt-ls don't use libconfig.
  * resize: Move roundup64 function into common utilities.
  * fuse: provide a stub "flush" implementation (RHBZ#660687).
  * recipes: Use new style -a/-d options in virt-edit example.
  * daemon: mkfs: Use -I option to force mkfs.fat to write a filesystem over a whole device (RHBZ#1039995).
  * proto: Remove another error message which hides earlier error.
  * proto: Remove error message which hides earlier error.
  * lib: fix newline in error output (RHBZ#923355).
  * recipes: Add a recipe for masking a systemd service.
  * launch: direct: Pass -enable-fips option if qemu supports it.
  * fish: improve the command error messages

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=250
2014-01-07 14:04:04 +00:00
e6c81ca38c - Update to version 1.24.2
* launch: Print program and version as part of standard debug output when launching the handle.
  * lua: Don't redefine lua_objlen if already defined.
  * lib: Make sure -lselinux is used when linking libguestfs.so.
  * daemon: btrfs: Upstream 'btrfs device add' command now needs '--force' option to work.
  * perl: Give error instead of crashing if optarg is not an array reference.
  * Avoid modulo bias in random password generation
  * mllib: Add a utility function for safely reading from /dev/urandom.
  * podwrapper: virt-install is not a libguestfs page.
  * Update to latest gnulib to get hash relicensing change (thanks Jim Meyering).
  * Fix fstab block device resolution for FreeBSD

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=248
2013-12-17 21:35:11 +00:00
d9504cc043 - Update to version 1.24.1
* virt-resize & virt-sysprep can now use URIs to work on remote disks
  * many new virt-sysprep operations
  * many bug fixes
  * full release notes: http://libguestfs.org/guestfs-release-notes.1.html
- guestfsd needs at least libaugeas0 >= 1.0.0
- Recommend bash-completion to avoid completion errors

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=246
2013-11-26 10:30:37 +00:00
6081a81c51 - Update to version 1.22.7
* fish: CVE-2013-4419: Fix insecure temporary directory handling for remote guestfish (bnc#845720).
  * sysprep: firstboot: Don't set `Created_files flag unless files are created.
  * firstboot: Add some debugging to the control script.
  * firstboot: Fix test for installing sysvinit scripts.
  * firstboot: Install both systemd and SysV init scripts.
  * firstboot: Start service after network only.
  * firstboot: Fix firstboot scripts so they work on Ubuntu.
  * edit: Add virt-edit --edit as an alias for virt-edit -e.
  * btrfs: Fix improper memmove usage in do_btrfs_subvolume_list (RHBZ#1018149).
  * daemon: xattr: Fix scope of cleanup buf to avoid memory leaks.
  * daemon: parted: Fix memory leak of list of strings.
  * daemon: Fix scope of cleanup functions to avoid memory leaks.
  * df: parallel: Add a debug message when work function returns an error.
  * daemon: 'exists' API should not follow broken symlinks.
  * sysprep: Don't remove /var/cache/apt/archives/partial directory.
  * firstboot: Invoke firstboot.sh script with 'start' parameter.
  * daemon: Don't set LD_PRELOAD for guestfsd children.
  * daemon: Fix xfs_info parser because of new format.
  * sysprep: Fix option quoting in manual page.
  * virt-df: parallel: Send debugging messages to stderr.
  * inspection: Don't print a warning if \Windows\explorer.exe does not exist.
  * launch: direct: Set QEMU_AUDIO_DRV=none to stop qemu opening audio devices.
  * virt-df: parallel: Compile debugging messages in always.
  * daemon: augeas: Don't test if AUG_NO_ERR_CLOSE is defined.
  * daemon: augeas: Enhance error reporting for aug_init failures.
  * drives: Don't need to call free_drive_servers since preceding code checks servers == NULL.
  * sparsify: Fix signal handling.
  * daemon: tar: Use a temporary file to pass excludes to tar command (RHBZ#1001875).
  * format: Set MBR partition type byte appropriately (RHBZ#1000428).

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=242
2013-10-18 08:33:16 +00:00
4a4dd959ce - Keep setup-dm.sh, required to copy dm rules (bnc#837595)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=241
2013-10-14 17:33:15 +00:00
622249e305 - Remove BuildRequires: qemu-tools
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=239
2013-09-23 13:36:05 +00:00
30af1da679 - Add static 169.254.0.0/16 network addresses (bnc#835949)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=238
2013-09-23 09:52:04 +00:00
de9c98eadf - Update to version 1.22.6
* Initialize CLEANUP_* stack variables with NULL in various places.
  * daemon: sh: Fix missing initializer which caused segfault (RHBZ#1000121).
  * fish: Document that guestfish --remote --add won't work as expected (RHBZ#998513).
  * launch: direct: Don't try to wait for qemu if parent process forked (RHBZ#998482).
  * list-filesystems: Don't fail if there are no filesystems found (RHBZ#995711).
  * virt-list-filesystems: Fix to use $g->canonical_device_name instead of homebrew function.
  * daemon: If /proc/modules doesn't exist, linuxmodules optgroup is disabled.
  * launch: direct: Print \n after printing qemu command line.
  * conn: Make sure we display all log messages when qemu goes away.
  * lib: Turn 'random_chars' function used by libvirt backend into utility function.
  * daemon: ldm: Don't return an error if /dev/mapper doesn't exist.
  * daemon: Move all RESOLVE macros to daemon/stubs.c.
  * proto: Fix --enable-packet-dump mode.
  * daemon: Close augeas, hivex handles in unmount_all.
  * Fix parsing of boot flag in do_part_get_bootable()
  * Update gnulib to latest version.
  * augeas: Improve error reporting.
  * launch: direct: Add drives after machine parameters.
  * fish: Fix guestfish so it can recognize sheepdog://... as a valid URI.
  * resize: Move isatty_stdout function to separate module (TTY.isatty_stdout).
  * daemon: cap-get-file: Return empty string if no capability on file (RHBZ#989356).
  * src/file.c: Be sure to call guestfs___lazy_make_tmpdir before using g->tmpdir.
  * generator: Fix the case where a daemon function has one FileIn/FileOut parameter and no other parameters.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=237
2013-09-19 18:30:37 +00:00
a67e5e3dfe - Create symlink from /etc/mtab to /proc/self/mounts (bnc#840662)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=236
2013-09-19 13:45:26 +00:00
0d55f19c38 - add ppc64 to Exclusive arch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=234
2013-09-02 12:00:49 +00:00
8554e57958 - Add support for lvm (bnc#837595)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=233
2013-08-29 21:22:03 +00:00
9c9bcc4217 - Add support for lvm (bnv#837595)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=232
2013-08-29 19:37:04 +00:00
cf3506976f - Update libguestfs.mkinitrd.1210.patch to create /usr/*bin in 11.4
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=230
2013-08-22 09:37:10 +00:00
cf8b279489 - Handle rw option in ext4.ko
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=229
2013-08-22 08:10:28 +00:00
79b4b7a5ae - Add network related modules to initrd (bnc#835949)
- Remove supermin.d
- Mount also /dev/pts in mount-rootfs-and-do-chroot.sh

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=228
2013-08-22 07:48:54 +00:00
7fb13a547c - Update to version 1.22.5
* full support for btrfs guests
  * large performance improvements in virt-df and virt-alignment-scan tools
  * many bug fixes
  * full release notes: http://libguestfs.org/guestfs-release-notes.1.html

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=221
2013-08-19 21:24:42 +00:00
7bfe3eca01 - Package /lib/udev or /usr/lib/udev in guestfsd subpackage
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=218
2013-08-05 15:48:49 +00:00
158ee81960 - Preserve permissions for /lib/udev in guestfsd subpackage
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=217
2013-08-05 15:17:23 +00:00
3db8c6d279 - Update to version 1.20.10
* sysprep: On RHEL, firstboot script should be called S99... not 99.
  * fish: For -N option, add drive with explicit format = "raw".
  * daemon: Implement set-label for XFS and fix it for btrfs (RHBZ#986875).
  * mkfs: Use -b size=<size> for xfs (RHBZ#981715).
  * cmd: Allow callers to override file-closing behaviour after fork.
  * daemon: hivex: Check that hivex_commit is passed an absolute path (RHBZ#981683).
  * daemon: Verify ext2/3/4 filesystem name before passing to mke2fs (RHBZ#978302).
  * virt-resize: Add notes about Windows and disk consistency (RHBZ#975753).
  * virt-resize: Take into account large start offset of the first partition when calculating overhead (RHBZ#974904).
  * launch: direct: Calculate appliance root correctly when iface drives are added (RHBZ#975797).

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=215
2013-07-30 19:01:17 +00:00
d5edf456dc - Update to version 1.20.9
* txz-out: Fix this API to produce xz files again (RHBZ#972775).
  * inspect: Fix bogus warning for partitions without /boot.ini
  * inspect: Partial support for non-standard windows system root

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=211
2013-06-16 06:37:47 +00:00
0520a0a155 - Update to version 1.20.8
* events: Avoid event handler limit if program allocates and deallocates handlers.
  * proto: Fix for rare FileIn hangs. (RHBZ#969845)
  * inspection: Don't segfault if /etc/SuSE-release is an empty file.
  * fuse: Allow specifying the fstype of a mount
  * is_lv: Does not need to depend on lvm2.
  * add --with-supermin-extra-options configure option
  * Remove use of gnulib progname module.
  * inspection: Fix double-free when certain guest files are empty. (CVE-2013-2124)
  * daemon: Properly quote arguments for tar-out, base64-out commands (RHBZ#957772).
  * inspection: Don't fail if libosinfo database is not found (RHBZ#948324).
  * daemon/copy: Ensure errno is preserved along error
  * Better error messages for FUSE and other things not supported.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=210
2013-06-04 12:02:49 +00:00
c59d75c301 - force paths to supermin/supermin-helper even if package is not available at buildtime
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=209
2013-04-08 18:55:30 +00:00
2b0d4a3ae1 - Update to version 1.20.5
* daemon: file: Remove extraneous space after output of 'file' command (RHBZ#928995).
  * lib: Add missing cases in switch statements.
  * appliance: Make sure cachedir has mode 0755 (RHBZ#921292).
  * appliance: Use ignore_value() macro instead of casting return to (void).
  * launch: Print attach-method, tmpdir, umask, euid when launching.
  * utils: Fix error messages for external commands that fail (RHBZ#921040).

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=208
2013-04-02 12:45:37 +00:00
c0212c17f9 - make sure /etc/lvm/lvm.conf exists (bnc#812931)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=207
2013-04-02 12:39:51 +00:00
95c541568a Accepting request 160930 from Cloud:OpenStack:Master
- use proper build conditionals so that it can be influenced
  outside spec file (via e.g. prjconf)

OBS-URL: https://build.opensuse.org/request/show/160930
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=206
2013-03-25 14:22:09 +00:00
ca1dd9405a - Update to version 1.20.4
* launch: appliance: Add custom parameters last.
  * filearch: Don't print errno if cpio command fails, print command status instead.
  * proto: send_to_daemon is not an exported function.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=204
2013-03-22 19:00:53 +00:00
17bac18d58 revert the build conditionals, its not fully working yet. back to r191
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=203
2013-03-22 18:51:52 +00:00
c6969c8773 - use proper build conditionals so that it can be influenced
outside spec file (via e.g. prjconf)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=194
2013-03-18 18:46:58 +00:00
e9e4eddbe0 - Update to version 1.20.3
* trace: Put trace buffer on the stack instead of in the handle.
  * FAQ: Add question about running fsck on live filesystems
  * lib: Check calls to xmlXPathEvalExpression for nodesetval == NULL.
  * recipes: Add example converting from one format/filesystem to another
  * daemon: protocol: Fix memory leak when receiving FileIn file (RHBZ#914934).
  * protocol: Don't segfault if appliance crashes during FileIn upload (RHBZ#914931).
  * libutils: Add guestfs___count_strings utility function to common library
  * lib: Create libutils convenience library.
  * docs: Rewrite security section (thanks Dan Berrange)
  * lib: Fix memory leak when the 'lpj' setting is read from dmesg.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=191
2013-03-06 19:31:00 +00:00
518efff326 - Update to version 1.20.2
* proto: Fix stack overflow when there are many progress events (RHBZ#909624).
  * rescue: Count the mountable filesystems when displaying the 'suggest' message.
  * lib: Define CLEANUP_CMD_CLOSE macro and use it throughout the library.
  * lib: Allow guestfs_free_* functions to be safely called with a NULL pointer.
  * btrfs: Fix btrfs_subvolume_list on F18 (RHBZ#903620).
  * daemon: Check parameter of base64-out and tar-out before running external command (RHBZ#908322).
  * daemon: download: Add extra check that download file is not a directory (RHBZ#908321).
  * daemon: Add more information to certain calls to perror.
  * daemon: Call wipefs before mkfs to work around pathological behaviour in btrfs.
  * lib: Add CLEANUP_* macros which automatically free things when leaving scope.
  * header: Deprecate LIBGUESTFS_HAVE_* in favour of GUESTFS_HAVE_*.
  * fuse: Use guestfs_rename to implement rename(2) syscall (RHBZ#895910).
  * New API: rename: Rename file within the same filesystem (RHBZ#895910).
  * fuse: If guestfs_last_errno returns 0, don't return no error to FUSE layer.
  * daemon: Change ln, ln-f (hard-link) APIs to use link(2) instead of external ln (RHBZ#895905).
  * Fix checksums-out command (RHBZ#895904).
  * launch: appliance: Fix parsing of QEMU_OPTIONS.
  * launch: appliance: Small refactoring of virtio-scsi detection code.

- enable ruby bindings only in 12.2 or later, ruby is too fragile

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=190
2013-02-25 20:54:52 +00:00
63ec84ea32 - BuildRequire: perl-macros only in sles11 builds to fix build in 11.4
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=189
2013-02-24 17:14:05 +00:00
453ca336fc - more fixes for copying entire /etc/lvm directory (bnc#795503)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=187
2013-01-18 13:29:34 +00:00
d0e8379b20 - disable strip and /usr/lib/rpm/find-debuginfo.sh for non-opt builds
it destroys bytecode binaries

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=184
2013-01-16 17:04:26 +00:00
65e25759b6 - handle more architectures than just x86 when looking for guest kernel
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=178
2013-01-03 13:02:54 +00:00
065556b434 - Update to version 1.20.1
* inspection: Set fs->device field on swap devices.
  * Pass noapic on i686 kernel command line.
  * daemon: Use pvcreate --force option (RHBZ#887971).
  * daemon: Fold stdout on stderr when running e2fsck.
  * other minor changes

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=174
2013-01-02 15:24:24 +00:00
a99740fbc4 - copy entire /etc/lvm directory in guestfsd (bnc#795503)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=173
2013-01-02 15:00:55 +00:00
d21d21363c revert change, lacks ocaml support: - Enable build also on s390x
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=172
2013-01-02 14:59:35 +00:00
13c51ecf91 - Enable build also on s390x
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=171
2012-12-18 22:54:13 +00:00
b473d0c552 - correct initrd filename on i586 (bnc#794819)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=170
2012-12-17 22:49:06 +00:00
cbc2ab9c2a - Update to stable branch, version 1.20.0
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=169
2012-12-13 16:10:28 +00:00
a2881333c2 - add Conflicts: (libguestfs0|guestfs-data) with old versions to
guestfs-tools to make sure all parts match the same API

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=168
2012-12-11 16:56:12 +00:00
460bc6a95d - make perl-bindings (perl-Sys-Guestfs) optional, disabled for sles11
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=167
2012-11-29 19:34:52 +00:00
4235031d54 - update BuildRequire ext4-writeable-kmp-default handling
enable it unconditional in sles11 builds, but not in the
  Virtualization repo because its a private package.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=166
2012-11-29 19:27:20 +00:00
f38ba01f5e - make perl-bindings optional, disabled for sles11
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=165
2012-11-29 19:17:06 +00:00
48bec672c0 - Update to version 1.19.64 (fate#312159)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=164
2012-11-25 17:17:22 +00:00
65b6f4ec6c - Update to version 1.19.63 (fate#312159)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=163
2012-11-23 19:21:05 +00:00
8deec0c776 - include Pod-Simple-3.23.tar.gz to get perl(Pod::Simple::XHTML)
at build time (bnc#789653)
- Update to version 1.19.62 (fate#312159)
- Update to version 1.19.61

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=162
2012-11-23 16:48:22 +00:00
bab2869d01 - Update to version 1.19.61 (fate#312159)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=161
2012-11-20 14:35:33 +00:00
7d49b08650 - readd autoreconf -fi if automake is newer than 1.10
it fixes ruby build failures due to RPATH ending up in libraries
  in 11.4 and 12.1

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=159
2012-11-19 17:28:37 +00:00
5a75091a73 - Update to version 1.19.61
new subpackage lua-libguestfs, disabled for sles11

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=158
2012-11-19 16:25:26 +00:00