SHA256
1
0
forked from pool/libguestfs
Commit Graph

449 Commits

Author SHA256 Message Date
898c43d60f - add libguestfs-test subpackage, /usr/share/guestfs (fate#316275)
libguestfs.test.simple.run-libugestfs-test-tool.sh
  libguestfs.test.simple.create-opensuse-guest.sh

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=258
2014-01-22 10:15:09 +00:00
99c9087058 - Update to version 1.24.5
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=257
2014-01-22 09:46:40 +00:00
ec60cc521f - Update to version 1.24.4
* launch: Allow backend = "appliance" for backwards compatibility (RHBZ#1055452).
  * daemon: Use wipefs_has_force_option to decide whether to add wipefs --force option.
  * init: Display clocksource (only when debugging is enabled).
  * launch: direct: Make sure we pass lpj= parameter when using TCG.
  * Use recommended timer settings for KVM (RHBZ#1053847).
  * fuse: clear stat structs (RHBZ#660687).
  * fuse: remove extra trailing \n in debug messages

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=256
2014-01-20 22:25:52 +00:00
c9f6f630e1 - Include crypto modules in appliance to enable luks related commands
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=255
2014-01-20 18:42:21 +00:00
2f158c7e68 - Resolve also library dependencies of libnss in mkinitrd (bnc#847785)
- BuildRequire nfs-utils to get mount.nfs, for virt-rescue

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=254
2014-01-20 16:32:24 +00:00
6e1bf6bd40 - Include mkinitrd from 13.1 when building appliance for 13.2 or
later because dracut can not be used as replacement for mkinitrd
  and supermin is not ready yet

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=252
2014-01-16 21:11:35 +00:00
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
1c10e4f73d Accepting request 204260 from Virtualization
after being unable to submit a specific revision to Factory, revert to the desired revision 242 before submitting to Factory.

OBS-URL: https://build.opensuse.org/request/show/204260
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=244
2013-10-22 09:09:06 +00:00
c11c64b00d revert AUG_NO_ERR_CLOSE changes
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=243
2013-10-18 14:15:26 +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
43663c5480 Enable 1000-force-virtio_blk-in-old-guest-kernel.patch again
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=226
2013-08-20 18:43:14 +00:00
2302978e86 bash-completion goes into guestfs-tools, not guestfsd
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=225
2013-08-20 14:50:12 +00:00
032859e39a Add bash-completion
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=224
2013-08-20 12:43:18 +00:00
5fe86c0867 -Requires: perl(Sys::Guestfs::Lib)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=223
2013-08-20 11:45:23 +00:00
a01dec8f28 add libxml2-devel to fix build in <= 11.4
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=222
2013-08-19 21:51:11 +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
Stephan Kulow
f81f2e7585 Accepting request 186009 from Virtualization
dependency for libguestfs (fate#312159)

OBS-URL: https://build.opensuse.org/request/show/186009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=1
2013-08-07 18:45:12 +00:00
db5b9bfb41 Remove config from udevrulesdir.
People (including rpm-lint folks) do not understand the meaning of this misnamed feature.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=219
2013-08-06 06:17:43 +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
2f6028b8c2 +BuildRequires: qemu-tools
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=216
2013-07-30 20:54:11 +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
99efd1b247 export PYTHON_EXT_SUFFIX=.so
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=214
2013-07-02 09:28:20 +00:00
2b7fa96821 Check if python is installed
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=213
2013-06-29 17:34:19 +00:00
1678caf9cc Fix build due to missing python.pc
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=212
2013-06-29 16:59:15 +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
2b8aac626f add missing files
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=205
2013-03-22 19:14:12 +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
c06f893e29 remove duplication. Good eyes, Andreas :)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=202
2013-03-21 14:37:50 +00:00
b38bc9aabb Accepting request 160457 from Cloud:OpenStack:Master
OBS-URL: https://build.opensuse.org/request/show/160457
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=201
2013-03-21 14:21:49 +00:00
1f13976730 another ruby_bindings attempt...
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=200
2013-03-20 10:10:41 +00:00