| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
ExtractedTarball is more or less the equivalent to MountableImage for
artifacts that are not mountable images. So in order to inspect root
file system tarballs, ExtractedTarball can be used, for disk images,
MountableImage can be used.
The morphlib.bins.call_in_artifact_directory() method combines these
two classes and provides a way to extract/mount an artifact and call
a callback with the temporary directory / mount point as its first
argument. Using this, a plugin that runs a command relative to an
artifact's root directory can be written easily.
|
|
|
|
|
|
|
| |
This class would be pretty useful in other cases where a system image
needs to be mounted and inspected.
Also updates the Trebuchet plugin to use this class.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This adds a [Build 1/12765] to the output of the building of each
artifact. This makes it easier to see how much work there might
still be remaining.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
git://git.baserock.org/baserock/baserock/morph
This includes a merge fixup in ./check, so that it
does not complain about build-system-autotools' test's tabs.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Building invididual chunks is bad because we have no idea what
build mode to use. Building individual strata would work, but all of
the stratum's build dependencies would need to be built first so there
would be little time saved in any case. There is also no way to test
them beyond checking that the build was successful.
|
| | |
| | |
| | |
| | |
| | | |
We can't rely on this being possible any more. It was mostly only used
for testing in any case.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
git://git.baserock.org/baserock/baserock/morph
This merge includes modifying edit-morph to use self.output.write
instead of print for output.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows programmatic edits of certain kinds to morphologies, to
minimise the need for manual editing.
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
git://git.baserock.org/baserock/baserock/morph
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Remove the special case hacks we had and do a proper comparison
between original and new in-memory dict when writing updates to
user morphologies.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If given an empty string to parse yamlparse.load() will return None,
but this breaks code further down that expects to be dealing with a
dict. Raise an exception to avoid crashing.
Also, avoid catching 'Exception' when we only want to catch JSON
parse errors.
|
| | | | |
|
|\ \ \ \
| | |/ /
| |/| /
| |_|/
|/| | |
|
|/ / |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Making the changes mentioned in the comment would be quite invasive,
and we don't have to do so quite yet.
|
| | |
|
| | |
|
|/
|
|
|
| |
The artifact's build dependencies replace the build order graph
from previously.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously the code would edit strata that dependended on the stratum
being edited, but would ignore the dependency chain beyond that. In
fact, we need to edit all strata in the dependency chain to avoid
having two different versions of a stratum in the same build.
This splits the modification into two steps: changing the stratum that
points to the chunk, and recursively changing references to any strata
that have been altered.
|
|\ \
| | |
| | |
| | | |
Reviewed-By: Richard Maw (in real life)
|
|/ /
| |
| |
| |
| | |
Also, make test use bash instead of sh, so it passes on squeeze
as well as Baserock.
|
|\ \
| | |
| | |
| | | |
Reviewed-By: Richard Maw (on irc)
|
| | |
| | |
| | |
| | | |
Suggested-By: Richard Maw
|
|/ /
| |
| |
| | |
Reported-By: Richard Maw
|
|\ \
| | |
| | |
| | | |
git://git.baserock.org/baserock/baserock/morph
|
| | |
| | |
| | |
| | | |
Reported-By: Richard Maw
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This allows code sharing amongst all the places that create a
system in a raw disk image. This also adds the creation of
a factory-run subvolume, and fixes error messages for errors
that happen during a disk image creation.
Suggested-By: Richard Maw
Suggested-By: Sam Thursfield
|
| | |
| | |
| | |
| | | |
Suggested-By: Richard Maw
|
| | |
| | |
| | |
| | | |
Suggested-By: Richard Maw
|
| | |
| | |
| | |
| | | |
Suggested-By: Richard Maw
|
| | |
| | |
| | |
| | | |
Suggested-By: Richard Maw
|
| | |
| | |
| | |
| | | |
Suggested-By: Sam Thursfield
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This saves a check (and an indentation) in the deployment plugin,
making the code a tiny bit simpler.
Suggested-By: Sam Thursfield
|
| | |
| | |
| | |
| | | |
Suggested-By: Sam Thursfield
|
| | |
| | |
| | |
| | | |
Suggested-By: Sam Thursfield
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is necessary so that the write extension run by cmdtest finds
the morphlib of the source tree we're running ./check in, rather
than the system installed one.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|