| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This changes the cache key generation so that it will ignore unimportant
fields of the morphology, e.g. description, build-depends, chunks.
description is unimportant because it does not affect building, and
build-depends/chunks are unimportant because they are already considered
|
|\
| |
| |
| |
| |
| |
| |
| | |
This is based on, and incorporates, Joe Burmeister's changes to fill
staging areas using hardlinking, for speed reasons. I have reformatted
the code a bit, and fixed it to pass the test suite, and fixed a bug
in how commands are run in the staging area chroot (preserving the
environment).
|
| |
| |
| |
| | |
This also makes coverage.py be silent on Debian squeeze.
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patch gives two things.
Improves morph build time by reusing decompressed files of
chunks/stage-fillers with hardlinks from the chroot. Rather than
decompressing each time into each chroot.
Original: real 5h 17m 47s
Hardlink: real 2h 52m 27s
It uses linux-user-chroot to create the chroot and make all but
the basics readonly.
|
| |
|
| |
|
| |
|
|\ |
|
| |\
| | |
| | |
| | | |
Reviewed-By: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
|
| |/
| |
| |
| |
| |
| |
| | |
gzip files can store the name and date of the uncompressed original, and
this is displayed in some GUI archive managers, or when gunzip -N is used.
In our case the original filename is something like 'tmpXsgaY15', which
is useless information and serves only to confuse.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
git://git.baserock.org/baserock/morph
A couple of nasties are fixed in here. Previously when the disk was
full, Morph logged a backtrace into morph.log and then tried to unmount
the disk image, but as there were still open file handles inside it
the unmount would fail and the user would end up with a backtrace for
a failed unmount and a stuck loopback device that they would need to
fix manually.
|
| |
| |
| |
| | |
Includes new test.
|
| |
| |
| |
| | |
Reported upstream as: http://bugs.python.org/issue16477
|
| |
| |
| |
| |
| |
| |
| | |
This prevents us from leaving file handles open when code throws an
exception. When the file handle is on a loopback mount, this is a real
problem because Morph then cannot unmount the image in its exception
handler. In most cases 'with' is the best option.
|
|/ |
|
|\
| |
| |
| |
| |
| | |
git://git.baserock.org/baserock/morph
Consolidate setup of tests which defined system morphologies.
|
| |
| |
| |
| | |
Code to generate system images was being duplicated in each test needlessly.
|
|\ \
| |/
| |
| | |
git://git.baserock.org/baserock/morph
|
|/
|
|
| |
Be consistent about placement of test description, blank lines, etc.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Most of the bespoke logic for the version check is unnecessary,
since the output to display can be easily inferred from the filename.
This fixes some test failures where the version check would cat a
file to fake the output, but fail because the file was removed.
|
|/
|
|
|
|
|
|
|
|
| |
cmake has a ./configure, which accepts --prefix, but chokes on
--sysconfdir
This means that bootstrap is broken by this commit.
This reverts commit 5f22ded9711a047704fc91b68a182b057e29bc0f, reversing
changes made to e13753d4f3e26f3a4c705fb3e694ae8dea860c2d.
|
|\
| |
| |
| | |
git://git.baserock.org/baserock/morph
|
| |
| |
| |
| |
| | |
Currently the message is still displayed "Updating xxx" but no
update is actually done.
|
| |
| |
| |
| | |
This requires running git-daemon manually in the tests.
|
| |
| |
| |
| |
| | |
This is for users who prefer the old behaviour of building from the
remote repos.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This means that Morph no longer requires changes to be pushed in order
to build them.
The repos from the system branch are currently cached in the local
repo cache as part of the build process, which is far from ideal.
Tests for 'morph build' now test build without push. The build
metadata now includes a repo path that is inside the TMPDIR, so the
tests have been rewritten to avoid having any hardcoded cache keys
because the cache keys are no longer static.
|
| | |
|
|\ \
| |/
| |
| | |
git://git.baserock.org/baserock/morph
|
| |
| |
| |
| | |
Some tests were using test:morphs-repo instead.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some tests already used test: and in order to be able to share the
scripts/setup-3rd-party-strata script they need to all use the same
prefix.
Using baserock: implies that we are using real code from Baserock,
so I picked test: because the tests only ever use mock morphologies
and no real code.
|
| | |
|
|\ \
| | |
| | |
| | | |
git://git.baserock.org/baserock/morph
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | | |
Reviewed-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
Also-reviewed-by: Richard Maw <richard.maw@codethink.co.uk>
|
|/ /
| |
| |
| |
| |
| | |
Some autotools projects default their sysconfdir to $prefix/etc.
This leads to some projects trying to install files to /usr/etc, which
is not desired.
|
|\ \
| |/
|/|
| | |
Unused imports in morphlib/plugins/expand_repo_plugin.py were also removed
|
| | |
|
|/
|
|
|
| |
This is helpful for when the user is not sure what an aliases repo URL
actually expands to.
|
|\
| |
| |
| | |
Reviewed-By: Lars Wirzenius (on IRC)
|
|/
|
|
|
|
|
|
|
|
|
| |
The test tests.merging/rename-stratum could potentially trigger two
different errors in Morph, based on the order that the systems in the
root repo were processed.
This meant that the test would sometimes spuriously fail if TMPDIR
was manually set, because of differences in the way file systems work.
To fix the root cause requires proper 3-way merging, really.
|
|\ |
|
|/
|
|
|
|
| |
BranchAndMergePlugin.load_morphology() would crash if a parse error
occurred while reading a morphology from a specific revision in git,
instead of from on disk.
|
| |
|
|\
| |
| |
| |
| |
| | |
'remotes/origin/baserock/richardmaw/allow-smaller-tmpdir'
Signed-off-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
|