| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
This makes a non-backward-compatible change to morph which switches it to using
tarballs instead of bundles when initialising cached git repositories. This is
faster because it doesn't require index-pack --fix-thin operations on the
machine running morph.
|
|
|
|
|
|
|
|
|
| |
This gives us consistency with morphologies, where the triplets are
repo|ref|morphology, not repo|ref|filename
Anyone who runs 'morph build baserock:morphs master system.morph' will
now see an error ending with 'was looking for system.morph.morph', which
should make it clear where they have gone wrong.
|
| |
|
|
|
|
|
|
|
|
|
| |
This should no longer be needed, since gitano on our own server is
more stable and faster than gitorious.org was for us.
Ideally we would have update-gits have a set of repositories to
update and if one fails, increment the fail count and move on to
the next if it hasn't exceeded the retries limit.
|
| |
|
|
|
|
|
|
| |
We need to support ARMv5, so we need to set different flags.
If uname -m has armv7 then use the configuration we had before,
if it has armv5 then use one with -march=armv5 and without the fpu.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change of strata into chunk lists broke being able to use the
strata as staging filler. The assemble-stratum script should be
able to provide this stratum
This requires not removing the built chunks from the artifact cache
any more, and preferably not moving them around.
Removing them should no longer be required, since cache keys have
become more advanced since it used to reuse chunks build in
prior stages. If it reuses them now, they should actually be
usable.
|
| |
|
|
|
|
|
|
| |
This should fix our "nasm not found when building syslinux" problems.
The new strata also bundle all the desired results of pass 3 together
for each platform we support bootstrapping on.
|
|
|
|
|
|
|
| |
This reverts commit 600218313a655815d902afad40c1eff5c45a20fd.
I think we should now be able to log build times again, as the .meta
files are being created again.
|
| |
|
| |
|
|
|
|
| |
--option=path*foo won't be glob expanded, but --option path*foo will
|
|
|
|
|
|
|
| |
The changes to the cache directory layout meant that this failed to
find the strata.
This also fixes it extracting both pass1 and pass2's strata.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
chroot is used in morph, an absolute path would cause problems
later in the build, when /tools is the prefix, so PATH needs
to be able to find chroot, so the usual sbin needs to be included.
|
|
|
|
|
| |
The required metadata is not written to the cache any more. This
should be re-implemented.
|
|
|
|
|
|
| |
This commit renames extract-build-times.py to dump-build-times and
makes use of it after every pass in baserock-bootstrap. This will
add the build times of all chunks to the bootstrap log.
|
| |
|
|
|
|
|
|
| |
At some point we will want to have a concept of a target architecture
that includes default compiler flags etc. but for now, --target-cflags
will do.
|
|
|
|
|
|
|
|
|
|
|
| |
The combination -mfpu=vfpv3-d16 =mfloat-abi=hard is only supported from
GCC > 4.5, according to
http://wiki.debian.org/ArmHardFloatPort/VfpComparison
If we want hard float we'll have to switch to a more recent version of
GCC installed in the squeeze chroot we run baserock-bootstrap in.
Upstream GCC 4.5 supports it, as does the CodeSourcery 2009q1 compiler.
|
|
|
|
|
|
|
|
| |
The --target-cflags option is really just a temporary solution. At some
point we will want to have a proper target architecture/device
description that morph uses to define compiler flags etc.
For now, I hope this will do.
|
| |
|
|
|
|
| |
It might be the cause of weird internal binutils and gcc errors.
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
bash variable expansion behaves a little differently to sed
the final section's / are not treated specially
|
| |
| |
| |
| |
| |
| |
| |
| | |
pwd may be just /, at which point LFS begins with //
Python's distutils fails to compile when --prefix is //tree/tools
and --root is given as it installs to //tree/tools but tries to
compile files in --root.
This works without the double slash, so fix it
|
| |
| |
| |
| |
| | |
This reverts commit e522e8d4798dec4092fabaeb89b532e970c3296f.
pwd does not always end with /
|
| |
| |
| |
| |
| |
| |
| | |
This strangely breaks python's distutils so setup.py fails.
if --prefix is //tree/tools then it ignores --root when it copies
the files, however when it later goes to compile the scripts
it does use --root so it fails to find the files.
|
| |
| |
| |
| |
| | |
Pass 1 should have $tools first in the path, otherwise the wrong
compiler will be used
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
This should stop tar from replacing symbolic links with directories
and instead follow the symbolic links, extracting the files into
the linked directories
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a strange issue where the file binary will segfault in
__libc_start_main() because it uses the host runtime dynamic linker
and not the on in /tree/tools. The host's ld-linux comes from eglibc
2.12 and the rtld_global_ro struct in 2.12 has a different size than the
one in eglibc 2.15. This, the _rtld_global_ro.dl_audit pointer gets
corrupted and __libc_start_main() segfaults.
This is miraculously fixed by building file immediately after zlib.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This was mentioned on
http://www.linuxfromscratch.org/hints/downloads/files/lfs70armhint.txt
as one of the things that need to be changed to build LFS 7.0 on ARM.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
that meant that options weren't being passed
|
| |
| |
| |
| |
| |
| |
| | |
flex is needed in binutils
tempdir needs to be set as binutils' install script expects the
files to be in an absolute path
also use $LFS in paths
|
| |
| |
| |
| |
| |
| | |
binutils ./configure fails because distcc is not found in the
debian squeeze chroot. I am not sure how it is trying to invoke
distcc, but we probably don't want it in pass1 anyway
|
| |
| |
| |
| |
| |
| | |
baserock-bootstrap: set cachedir so that the git cache
can be reused in pass 2 onwards
run-bootstrap-in-chroot: add more passes
|