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.
-Dfoo and -Dfoo= mean different things to the JVM, so make sure the format of the parameter on the command-line is carried through to the mvn invocation.
This creates a new koji task type and CLI option called
image-build-indirection
This task builds an output image using the Image Factory "Indirection"
plugin
It takes as its input two already built images, either as explicit
task numbers of NVR and arch. It also requires a modified TDL
file as described in the Image Factory source.
The two input images are referred to as the base_image, which contains
content to be turned into another output image, and the utility_image,
which is a full system that will be booted to do the transformation.
The TDL, or "indirection_template" describes the tasks to be performed
inside of the running base image to generate the output.
This feature has the potential to build all of the following types of
images:
Disk Image Builder disk images, built with DIB elements using DIB itself
Live ISO images created using Live Media Creator
Docker layered images built using an arbitrary Docker version and a
Docker base image already built inside of koji
The config file tries to explain to the admin how to specify
allowed_scms, but one option (source_cmd) was missing.
This just reuses the wording of the docstring from the function parsing
this option, providing a complete documentation to admins when they read
the config file.