A copy of Jay Greguski's livecd-creator task.
It replaces livecd-creator for livemedia-creator.
For now it does live-iso, ostree-live, and disk-img.
This initial commit needs more work to be functional.
Signed-off-by: Jon Disnard <jdisnard@redhat.com>
armhfp is not a valid arch acording to autoconf. We were using arm
instead. nodejs has a bunch of packages with ExclusiveArch and are
hitting issues with using arm as the arch so switch to armv7hl
instead
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This patch adds support to build squashfs images which are compatible to
anaconda's liveimg directive and dracuts liveimg feature.
The feature is pretty simple, as it just reuses the raw diskimage, and
strips the disklabel, to retrieve the plain filesystem image.
Two open issues:
- Stripping the disk label is a pretty hack
- Database schema upgrade is missing
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
as 32 bit arm can run hardware or software floating point code,
we have a bunch of arches that are not exactly real to
differenciate and keep installs sane. qemu only understands
armv7l, so we need to always use armv7l for virt on 32 bit arm
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
pykickstart isn't setting ks.handler.url.seen when setting url.url, but
it does set seen when using the style in this patch. Having seen set,
the URL line should be written to the kickstart file.
Patch written by Chris Lumens <clumens@redhat.com>
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
First off, it's in the version module, not in the parser. Second, it's
not necessary since makeVersion will take either a string or a constant
as an argument.
Patch by Chris Lumens <clumens@redhat.com>
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
The client CA is only needed to for authentication on the server side,
not for authentication on the client side. Therefore remove it from all
client login code.
We originally added semi-generic parameter passing for OVA support and
then overloaded it for Vagrant support, before breaking that back out
as specific image types.
This change adds a fairly generic mechanism for parameter passthrough
to plugins and the base builder that does not require patching the
builder and CLI each time a new class of parameter is added to Factory.
The immediate reason for doing this is to expose the Docker plugin's
ability to set custom labels, environments and commands, but it is
likely to be useful for other things in the future.
Citing from reindent docs:
Change Python (.py) files to use 4-space indents and no hard tab
characters. Also trim excess spaces and tabs from ends of lines, and
remove empty lines at the end of files. Also ensure the last line
ends with a newline.
Citing from PEP 8:
Use 4 spaces per indentation level.
Python 2 code indented with a mixture of tabs and spaces should be
converted to using spaces exclusively.
Don't write string literals that rely on significant trailing
whitespace. Such trailing whitespace is visually indistinguishable
and some editors (or more recently, reindent.py) will trim them.
Also PyLint recommends not to have trailing whitespace on any line.
We originally added Vagrant support by tweaking options sent
to the existing RHEV-M and vSphere OVA generation code. This was
a bit of a hack and resulted in confusing filenames.
This adds "vagrant-libvirt" and "vagrant-virtualbox" image types,
passes in the correct options to Image Factory and produces output
files with the conventional ".box" extension and more descriptive
and less confusing vagrant name suffixes.
The resolve-plugins goal is not often used during upstream development, and it
causes unnecessary dependencies to be downloaded and builds to take longer.
The data collected during that step hasn't been used for anything, so it is
safe to remove. All dependencies downloaded during the build will still be
recorded after the deploy goal is completed.