Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 31, 2015
  1. @rwmjones

    dib: Fix typo in documentation.

    rwmjones authored
    Thanks: Yuri Chornoivan
Commits on Jul 30, 2015
  1. @rwmjones

    Version 1.31.1.

    rwmjones authored
  2. @rwmjones
Commits on Jul 29, 2015
  1. @rwmjones

    appliance init: find NIC name for dhcpcd

    Cédric Bosdonnat authored rwmjones committed
    dhcpcd requires an interface name as parameter to work. We are now
    getting it from /proc/sys/net/ipv4/conf/ folder children. dhclient
    on Debian also has the problem, thus use the guessed interface name
    for it too.
  2. @ptoscano

    sysprep: machine_id: handle /var/lib/dbus/machine-id

    ptoscano authored
    Another machine-id file, used by D-Bus.
  3. @ptoscano

    sysprep: machine_id: simplify implementation

    ptoscano authored
    Instead of rm + touch, just truncate the file if existing.
    In case there was no file previously, now nothing is created, as most
    probably the system was fine even without it.
    
    Also, turn the single path into a list, so more machine-id files can be
    handled at once.
Commits on Jul 28, 2015
  1. @rwmjones
  2. @ptoscano

    builder: add Sigchecker.verify_and_remove_signature

    ptoscano authored
    New helper to remove the signature from a file, returning a temporary
    file without the signature.
  3. @ptoscano

    builder: expose Sigchecker.verifying_signatures

    ptoscano authored
    Useful to know whether a Sigchecker instance is verifying signatures,
    hence it is possible to decide whether download signed content or not.
  4. @ptoscano

    builder: split Index_parser.index in an own module

    ptoscano authored
    Move the index and entry definitions in an own Index module, together
    with the (previously internal to Index_parser) print_entry debugging
    function.
  5. @ptoscano

    builder: allow signatures from subkeys

    ptoscano authored
    When importing a key, read the list of the valid subkeys of it, and use
    it to check whether a signature was done by one of them.
    This allows index provides to sign them using a subkey instead of the
    main key.
  6. @ptoscano

    builder: internally use a list of checksums for indexes

    ptoscano authored
    Extend Index_parser.entry to hold a list of checksums to validate, and
    validate all of them.
    
    This does change nothing currently, as only sha512 is read, while still
    allowing us to fetch more checksums if needed.
  7. @ptoscano
  8. @ptoscano

    builder: create and use a new Checksums module

    ptoscano authored
    Introduce a new Checksums module to handle the check of checksums,
    moving part of the Sigchecker code to it.
    
    Adapt the rest of virt-builder to this new module.
  9. @ptoscano

    builder: add format=FMT in repository .conf files

    ptoscano authored
    First step in allow different formats for indexes of images, aside the
    current one.
    
    The only accepted value is "native".
Commits on Jul 24, 2015
  1. @ptoscano

    customize: password: improve unknown default crypto message

    ptoscano authored
    When warning that there is no known default password encryption for the
    current guest, print also its minor version (help debugging unsupported
    guests).
    
    Also, fix wrapping (and indentation) of the message.
  2. @ptoscano

    customize: random_seed: add CirrOS location

    ptoscano authored
    CirrOS has its random-seed file in /etc.
Commits on Jul 23, 2015
  1. @rwmjones

    appliance: Exclude /usr/lib/modules as well as /lib/modules.

    rwmjones authored
    It normally makes no difference to the final size of the appliance,
    because 'supermin --build' will copy back the host kernel modules.
  2. @rwmjones

    appliance: exclude /lib/firmware

    rwmjones authored
    Brings the size of the appliance down to 95 MB [xz-compressed], which
    is the same as for libguestfs 1.28.
  3. @rwmjones

    appliance: exclude /usr/share/fonts and /usr/share/icons.

    rwmjones authored
    I also sorted the list.
    
    Between libguestfs 1.28 and 1.30, the appliance grew from 95MB to 213MB.
    
    Using guestmount and filelight (see link below) I could see that the
    main contributor was these two directories, which should not be
    necessary.
    
    With this change, the size goes down to 119MB.
    
    See also:
    https://rwmj.wordpress.com/2015/07/23/why-has-the-libguestfs-appliance-grown-by-118-mb/
Commits on Jul 21, 2015
  1. @ptoscano

    actions: tar_in: add xattrs, selinux, and acls optargs

    ptoscano authored
    Add additional arguments for tar, so extended attributes and/or SELinux
    contexts and/or POSIX ACLs can be restored from input tars.
  2. @ptoscano

    actions: tar_out: add xattrs, selinux, and acl optargs

    ptoscano authored
    Add additional arguments for tar, so extended attributes and/or SELinux
    contexts and/or POSIX ACLs can be saved in output tars.
  3. @rwmjones
  4. @ptoscano

    tests/nbd: pass --format to qemu-nbd if possible

    ptoscano authored
    Run `qemu-nbd --help` to know whether it supports --format, and if so
    pass it explicitly.  This avoids warnings with newer qemu versions,
    where they really recommends to explicit the format of disk images being
    specified on command line.
  5. @ptoscano

    tests/syslinux: add /usr/lib/SYSLINUX as directory for mbr.bin

    ptoscano authored
    Yet another new location (found on recent Debian/sid) for mbr.bin.
  6. @rwmjones
  7. @rwmjones

    Version 1.31.0.

    rwmjones authored
  8. @rwmjones

    Version 1.30.0.

    rwmjones authored
  9. @rwmjones
  10. @rwmjones

    Update gnulib to latest.

    rwmjones authored
  11. @rwmjones

    p2v: tests: Don't fail when test machine has only a single hard disk.

    rwmjones authored
    virt-p2v looks in /sys/block to find disks, and ignores the hard disk
    containing the root device.  This is correct when virt-p2v runs off
    the ISO, but when running the tests on a machine that has a single
    hard disk, all_disks would be NULL, resulting in a test failure.
    
    Fix this by allowing all_disks to be NULL, but adding an extra check
    later so that we don't perform the conversion with no hard disks (the
    gui.c path already has this check, so it is only needed in the
    kernel.c path).
  12. @ptoscano

    tests: fix string comparison

    ptoscano authored
    Use 'eq' for comparing strings instead of '=='.
  13. @ptoscano

    appliance: adding qemu-img and which dependencies for more distros

    ptoscano authored
    In particular, add them for Archlinux, openSUSE, Frugalware, and Mageia.
Commits on Jul 17, 2015
  1. @ptoscano

    customize: add basic subscription-manager operations

    ptoscano authored
    Add simple operations for RHEL guests using subscription-manager, so it
    is possible to e.g. install software on them.
  2. @ptoscano

    mllib: add and use read_first_line_from_file

    ptoscano authored
    Move the read_password_from_file helper in Password to mllib with a more
    generic name, and use it in place of the former.
    
    Also, use it in v2v instead of reading the whole file contaning a
    password: given that the documentation says that the whole content is
    used, there will not be newlines in the password file, so the behaviour
    will be preserved. The oly difference is that newline is no more an
    acceptable character for passwords, but that is a really unlikely
    (if not impossible at all) situation.
Something went wrong with that request. Please try again.