summaryrefslogtreecommitdiff
path: root/baserock-bootstrap
Commit message (Collapse)AuthorAgeFilesLines
...
* | bootstrap: convert pass1 to use morphRichard Maw2012-03-151-812/+70
|/ | | | | | | | | | | | 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
* Add untested support for ccache through the CCACHE_HOST_DIR variable.Jannis Pohlmann2012-03-091-0/+1
| | | | | | | 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.
* Fix the path to eglibc's config.guess.Jannis Pohlmann2012-03-081-1/+1
|
* Use cliapp 0.27 in baserock-bootstrap and wget-list.Jannis Pohlmann2012-03-081-6/+6
|
* Detect number of CPUs in baserock-bootstrap using case-insens. grep.Jannis Pohlmann2012-03-071-1/+1
|
* bootstrap: don't move cache if already movedRichard Maw2012-03-061-3/+5
| | | | | This makes it easier to re-run the bootstrap script to resume building.
* bootstrap: remove redundant options, add quotesRichard Maw2012-02-291-13/+5
| | | | | | | The git-base-urls specified are now the defaults, so specifying them should be redundant. Also quoted the output for staging-filler
* Make ./check check for long lines (with excptions); fix long linesLars Wirzenius2012-02-271-12/+19
|
* Expand TAB characters and make check check for themLars Wirzenius2012-02-271-7/+7
|
* bootstrap script: remove exit 1 if it succeededRichard Maw2012-02-271-1/+0
|
* Drop all references to glibc, use eglibc tarball from roadtrain.Jannis Pohlmann2012-02-241-29/+0
|
* Use eglibc instead of glibc in pass1.Jannis Pohlmann2012-02-241-1/+34
|
* baserock-bootstrap: always recreate do-chrootRichard Maw2012-02-171-12/+6
| | | | | if it doesn't get replaced then a command may try to use /tools/bin/env
* baserock-bootstrap: use --no-git-update in buildRichard Maw2012-02-171-0/+2
|
* baserock-bootstrap: cache the sources in pass 3Richard Maw2012-02-171-4/+59
| | | | | | this is pretty much just a copy of the pass 2 thing this needs a cleanup, as there is duplicated functionality and clashing names
* Remove unnecessary stuff from passesLars Wirzenius2012-02-171-0/+25
| | | | | This is to make snapshots of them be small. pass2a and 2b pretty much halved in size.
* baserock-bootstrap: keep git cache between stagesRichard Maw2012-02-171-3/+4
| | | | | | | | The git cache is currently under the chunk cache, so moving the chunk cache moves the gits. We don't want to have to do that all again. Also added quotes in case $LFS ever has spaces in it
* baserock-bootstrap: Allow submodules in stage 2Richard Maw2012-02-171-2/+0
|
* Do not use pass2 morph cache in pass3Lars Wirzenius2012-02-161-3/+8
|
* Remove pointless re-freshing of cached git repos from pass3 buildLars Wirzenius2012-02-161-15/+0
|
* Simplify bootstrap dir tree; split pass2 into two partsLars Wirzenius2012-02-161-8/+53
|
* baserock-bootstrap: add pass 3 buildRichard Maw2012-02-151-0/+64
| | | | | | this builds devel.morph instead of devel-bootstrap.morph it may fail to rebuild foundation and linux as it already built them
* Change order of git-base-url settings during bootstrapLars Wirzenius2012-02-151-4/+4
| | | | | Use the most common one first, for a little bit of speedup, and to avoid having so many errors in the build log.
* Remove /tools for pass3Lars Wirzenius2012-02-151-1/+8
| | | | | We're going to be building using only things from pass2, and /tools contains stuff built in pass1, so it needs to be removed.
* Merge branch 'master', remote branch 'origin'Lars Wirzenius2012-02-151-2/+2
|\
| * baserock-bootstrap: use devel-bootstrap.morphRichard Maw2012-02-141-2/+2
| | | | | | | | | | this is unsuitable for non-bootstrap builds use a separate morph
* | Add missing case terminatorLars Wirzenius2012-02-141-0/+1
| |
* | Make run-bootstrap-in-chroot snapshot pass2Lars Wirzenius2012-02-141-54/+54
|/ | | | | | 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.
* Disable building of the pass2 system imageLars Wirzenius2012-02-141-1/+1
| | | | We want to build pass3 instead of building a system image.
* scripts: use EXIT traps to unmountRichard Maw2012-02-141-5/+5
| | | | | | | | | | | Jenkins failed to build because proc and sys were still mounted after a forced termination of a build. The exit traps will be run when the shell exits, so there are fewer code paths that can avoid unmounting EXIT is not the only signal that can be used INT and TERM will be executed when Interrupted (by ^C) or Terminated (by kill)
* Use the correct (master) branch for foundation during bootstrapLars Wirzenius2012-02-131-2/+2
|
* baserock-bootstrap: bump version number for cliapp in build scriptRichard Maw2012-02-101-6/+6
|
* Make bootstrap use the new --ignore-submodules optionLars Wirzenius2012-02-091-0/+2
| | | | In pass2 we do not want to use submodules (at least not yet).
* Use the morphs repo that is relative to --git-base-url instead of hardcoding ↵Lars Wirzenius2012-02-091-6/+6
| | | | | | path This way we don't need to copy in the repo into the chroot.
* Make bootstrap build use git bundlesLars Wirzenius2012-02-091-1/+22
| | | | | | Also, run morph update-gits in loop until it succeeds. Gitorious or git or the office network are unreliable enough that otherwise the build pretty much is guaranteed to fail during the initial cloning and fetching.
* baserock-bootstrap: Fix "$1: unbound variable" errorJavier Jardón2012-02-091-1/+1
|
* baserock-bootstrap: fix typoRichard Maw2012-02-071-1/+1
|
* baserock-bootstrap: wait for /dev/mapper/*Richard Maw2012-02-071-0/+2
| | | | | | | kpartx sets up device mapper tables, but creating the device node is queued, so it may not be ready when kpartx returns assuming it will eventually appear, it is easiest to just loop until it is created
* baserock-bootstrap: remove umountRichard Maw2012-02-071-2/+0
| | | | | umount is run in trap, don't run it manually it makes the kpartx not run as the umount in trap fails
* Merge branch 'richardmaw/run-to-sysimg'Richard Maw2012-01-311-9/+19
|\
| * baserock-bootstrap: build devel before linuxRichard Maw2012-01-301-1/+1
| | | | | | | | | | linux "make defconfig" is failing to build, it does not need to be built now presumably something eglibc did stopped it finding crt?.o
| * baserock-bootstrap: make morph build a bootstrap branch of foundationRichard Maw2012-01-301-1/+1
| | | | | | | | | | | | busybox does not compile with the /tools gcc that will be built eventually, but until then, use a foundation that does not include busybox
| * baserock-bootstrap: reorder strata buildsRichard Maw2012-01-301-3/+2
| | | | | | | | | | foundation has eglibc, which is needed to build gcc and pretty much everything else also removed --jobs=1 from options, these need to be set per morph really
| * scripts: use true/false instead of yes/noRichard Maw2012-01-261-2/+8
| |
| * Make sure the do-chroot script unmounts proc, sys in case of failureLars Wirzenius2012-01-201-0/+1
| |
| * Make builds in chroot fail if any command failsLars Wirzenius2012-01-201-0/+2
| | | | | | | | Also, print all commands, for easier debugging.
| * Remove pointless empty element from PATHLars Wirzenius2012-01-201-1/+1
| |
| * Change snapshot handling to be more flexibleLars Wirzenius2012-01-201-5/+4
| | | | | | | | Also, do snapshot of the debootstrapped thing too.
| * build devel stratum firstLars Wirzenius2012-01-191-1/+1
| |
| * force a PATH that has /tools at the endLars Wirzenius2012-01-191-0/+2
| |