| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
That means that bootstrapping Baserock is currently not possible with
this branch of Morph, but there's no reason it cannot be bootstrapped
using an older version of Morph instead.
|
|
|
|
|
| |
Tests are currently broken, one because invalid JSON
can be valid YAML, and coverage is incomplete.
|
|
|
|
|
|
|
|
|
|
| |
ssh://git.baserock.org/baserock/baserock/morph
This includes the following fixups:
- altering the bootstrap script to install ordereddict and simplejson.
- Adding a comment to clarify that it is intentional to use simplejson
if collections does not have OrderedDict
- Amending the copyright years to include 2013
|
| |
|
|
|
|
|
| |
This is required to bootstrap on Fedora, where debootstrap fails to
autodetect the architecture due to dpkg not being present.
|
|\
| |
| |
| | |
Split a few long lines into shorter ones to make ./check pass.
|
|/
|
|
|
|
|
|
|
| |
Cliapp for arm isn't maintained, so build it from source every time
rather than rely on the .deb
This also removes the out-dated comment about installing a newer
version of tar. This tar didn't work on some ARM architectures and
wasn't needed, since we don't support building over NFS any more.
|
|
|
|
|
|
|
|
|
| |
This somehow just sits there chewing CPU. It was included to allow
for extracting tarballs to NFS, which the stable version of GNU tar
has problems with.
We don't do this any more, so it should be safe to use the standard
debian squeeze tar.
|
|
|
|
|
|
| |
When bootstrap updated morph it printed every file which moved, given
this is a git repository, a lot of objects get listed. This made it
harder to find real problems, so it is now removed.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
--include sets a list of packages to append, instead of appending
the packages given to the list to install.
Only the last --include is used, so add it all at once.
I think it looks nicer to build up the list of packages first, rather
than break the indentation
|
|/
|
|
|
| |
By default, apt will ask the user yes/no, but we want it to assume
the user answered yes.
|
|
|
|
|
|
|
|
| |
It is possible that the hostname setting code will be reached
without squeeze-chroot being extracted, so /etc won't exist
Since this will be overwritten by later snapshot values anyway
this step may as well only be done while making the squeeze
chroot
|
|
|
|
|
|
| |
If there are later snapshots available, we should not extract
the squeeze chroot. This follows similar logic to the rest of
the build stages.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This will be useful for Jenkins jobs, so that we can have the bootstrap
test job build in the Jenkins workarea. And that is useful for artifact
archival and inspecting the bootstrap work tree after a failure via
the Jenkins interface.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit cc2690e9f864ecbcb7d1db6dbe97aa386f8c1a3a.
The programs and libraries need to be installed in PREFIX as
the gcc in /tree/tools/bin will be used, and that searches in
its prefix for libraries, headers and support programs.
|
| |
| |
| |
| |
| |
| | |
Git's build depends on curl and openssl headers
the openssl dependency can be broken, but curl is needed
and curl can be built to use openssl anyway
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
This should stop tar from replacing symbolic links with directories
and instead follow the symbolic links, extracting the files into
the linked directories
|
| | |
|
| |
| |
| |
| |
| |
| | |
cliapp is needed in the squeeze-chroot and it is already available
from code.liw.fi, so re-add code.liw.fi to sources.list as it is
not required to be in debrock
|
|\ \
| |/ |
|
| |
| |
| |
| | |
This is only needed for the backport tar package, for the bootstrap.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
baserock-bootstrap: set cachedir so that the git cache
can be reused in pass 2 onwards
run-bootstrap-in-chroot: add more passes
|
|/
|
|
|
|
|
|
|
|
|
|
| |
run-bootstrap-in-chroot: add cliapp to squeeze-chroot
baserock-bootstrap:
* remove use of sudo, the script expects to be run with
sufficient privilidges
* remove multiple unused variables and functions
* replace the build instructions with a call to morph with a
stratum that should have all the required programs
with --prefix and --toolchain-target set
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This variable can optionally be set outside the squeeze chroot (that is,
outside the run-bootstrap-in-chroot script. The directory is then bind
mounted into the chroot and baserock-bootstrap will set its CCACHE_DIR
to the location inside the chroot.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
run-bootstrap-in-chroot would not build a stage if it had a snapshot
for the next stage.
If the same directory had previously run while snapshotting then
it would skip earlier stages without building them as it used to be
able to extract that tarball.
This fails as stages depend on earlier stages.
This change is so that it will build if it is not snapshotting or
if the stage has not been snapshotted.
|
|
|
|
|
|
|
|
| |
Set the #! to bash, as it uses bashisms
Everywhere where it would try to run tar has a check for $snapshot
Allows the snapshot variable to be set in the environment for the
script to use that, it seemed easier than adding an option
Use run_pass for stage 3 since it can have snapshotting disabled
|
|
|
|
|
|
| |
If the TMPDIR variable is not yet set, then setting it without
exporting will not make it available to child processes. Thus,
let's just make sure we export it and everyone will be happy.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This changes the meaning of $1 for baserock-bootstrap: $1 now specifies
which pass to run. When building passX, X > 1, the previous passes
are assumed to have been built successfully.
|