summaryrefslogtreecommitdiff
path: root/src/import
Commit message (Collapse)AuthorAge
...
* util: make http url validity checks more generic, and move them to util.cLennart Poettering2015-01-20
|
* import: clarify when we are unpacking the qcow2 deviceLennart Poettering2015-01-19
|
* import: make sure don't leak the LZMA contextLennart Poettering2015-01-19
|
* qcow2: when dissecting qcow2, use btrfs clone ioctls for reflinking blocks ↵Lennart Poettering2015-01-19
| | | | to target
* import: when downloading raw files, show simple progress reportsLennart Poettering2015-01-19
|
* import: simplify the code a bitLennart Poettering2015-01-19
|
* import-raw: when downloading raw images, generate sparse files if we canLennart Poettering2015-01-19
|
* import-raw: set NOCOW flag on all raw images we createLennart Poettering2015-01-19
|
* Move DEFINE_TRIVIAL_CLEANUP_FUNC to macro.hZbigniew Jędrzejewski-Szmek2015-01-18
| | | | | This remove the need for various header files to include the (relatively heavyweight) util.h.
* util: replace RUN_WITH_LOCALE with extended locale functionsCristian Rodríguez2015-01-18
| | | | | | There were two callers, one can use strtod_l() and the other strptime_l(). (David: fix up commit-msg and coding-style)
* import: support importing qcow2 imagesLennart Poettering2015-01-16
| | | | | | | | With this change the import tool will now unpack qcow2 images into normal raw disk images, suitable for usage with nspawn. This allows has the benefit of also allowing importing Ubuntu Cloud images for usage with nspawn.
* import: support downloading .xz compressed imagesLennart Poettering2015-01-16
| | | | | That way we can download fedora cloud raw images as-is and decompress them on-the-fly.
* nspawn,machined: change default container image location from ↵Lennart Poettering2015-01-15
| | | | | | | | | | | /var/lib/container to /var/lib/machines Given that this is also the place to store raw disk images which are very much bootable with qemu/kvm it sounds like a misnomer to call the directory "container". Hence, let's change this sooner rather than later, and use the generic name, in particular since we otherwise try to use the generic "machine" preferably over the more specific "container" or "vm".
* import: rename "gpt" disk image type to "raw"Lennart Poettering2015-01-15
| | | | | | | After all, nspawn can now dissect MBR partition levels, too, hence ".gpt" appears a misnomer. Moreover, the the .raw suffix for these files is already pretty popular (the Fedora disk images use it for example), hence sounds like an OK scheme to adopt.
* import: make sure we don't mangle file ownerships with the local passwd ↵Lennart Poettering2015-01-13
| | | | database when untarring
* import: also set NOCOW for gpt disk imagesLennart Poettering2015-01-08
| | | | | | | Given the write patterns on disk images, we better should turn COW off for them. In particular as the file systems used inside the disk images should do their own data integrity checks anyway and we don't need multiple layers of it.
* import: fix mem-leak in CurlGlueDavid Herrmann2014-12-31
| | | | Make sure to actually free the underlying object in CurlGlue unref.
* import: make image root directory configurable, instead of hardcoding ↵Lennart Poettering2014-12-26
| | | | /var/lib/container
* import: properly remove pre-existing images if --force is usedLennart Poettering2014-12-26
|
* import: beef up gpt importer to optionally make writable copy of read-only ↵Lennart Poettering2014-12-26
| | | | vendor image
* import: minor improvements to dkr importerLennart Poettering2014-12-26
|
* machined: beef up machined image listing with creation/modification times of ↵Lennart Poettering2014-12-25
| | | | | | | subvolumes We make use of the btrfs subvol crtime for this, and for gpt images of a manually managed xattr, if we can.
* import: prefer usec_t over time_tLennart Poettering2014-12-25
|
* import: add a new "pull-gpt" verb for downloading GPT disk images from the ↵Lennart Poettering2014-12-24
| | | | internet
* import: three minor fixesLennart Poettering2014-12-24
|
* import: print friendly error messages on errorsLennart Poettering2014-12-24
|
* import: remember when we were finished importingLennart Poettering2014-12-24
|
* import: make the dkr import URL a part of the import object, not the import ↵Lennart Poettering2014-12-24
| | | | name object
* import: fix compiler warningLennart Poettering2014-12-23
|
* import: rename 'poll-dck' to 'pull-dkr'Lennart Poettering2014-12-23
| | | | | | | | I figure "pull-dck" is not a good name, given that one could certainly read the verb in a way that might be funny for 16year-olds. ;-) Also, don't hardcode the index URL to use, make it runtime and configure time configurable instead.
* import: Verb[] array can be static, tooLennart Poettering2014-12-19
|
* import: dck - fix curl error handlingTom Gundersen2014-12-19
|
* import: add new minimal tool "systemd-import" for pulling down foreign ↵Lennart Poettering2014-12-19
containers and install them locally This adds a simply but powerful tool for downloading container images from the most popular container solution used today. Use it like this: # systemd-import pull-dck mattdm/fedora # systemd-nspawn -M fedora This will donwload the layers for "mattdm/fedora", and make them available locally as /var/lib/container/fedora. The tool is pretty complete, as long as it's only about pulling down images, or updating them. Pushing or searching is not supported yet.