Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | bootstrap: convert pass1 to use morph | Richard Maw | 2012-03-15 | 1 | -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 Pohlmann | 2012-03-09 | 1 | -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 Pohlmann | 2012-03-08 | 1 | -1/+1 | |
| | ||||||
* | Use cliapp 0.27 in baserock-bootstrap and wget-list. | Jannis Pohlmann | 2012-03-08 | 1 | -6/+6 | |
| | ||||||
* | Detect number of CPUs in baserock-bootstrap using case-insens. grep. | Jannis Pohlmann | 2012-03-07 | 1 | -1/+1 | |
| | ||||||
* | bootstrap: don't move cache if already moved | Richard Maw | 2012-03-06 | 1 | -3/+5 | |
| | | | | | This makes it easier to re-run the bootstrap script to resume building. | |||||
* | bootstrap: remove redundant options, add quotes | Richard Maw | 2012-02-29 | 1 | -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 lines | Lars Wirzenius | 2012-02-27 | 1 | -12/+19 | |
| | ||||||
* | Expand TAB characters and make check check for them | Lars Wirzenius | 2012-02-27 | 1 | -7/+7 | |
| | ||||||
* | bootstrap script: remove exit 1 if it succeeded | Richard Maw | 2012-02-27 | 1 | -1/+0 | |
| | ||||||
* | Drop all references to glibc, use eglibc tarball from roadtrain. | Jannis Pohlmann | 2012-02-24 | 1 | -29/+0 | |
| | ||||||
* | Use eglibc instead of glibc in pass1. | Jannis Pohlmann | 2012-02-24 | 1 | -1/+34 | |
| | ||||||
* | baserock-bootstrap: always recreate do-chroot | Richard Maw | 2012-02-17 | 1 | -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 build | Richard Maw | 2012-02-17 | 1 | -0/+2 | |
| | ||||||
* | baserock-bootstrap: cache the sources in pass 3 | Richard Maw | 2012-02-17 | 1 | -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 passes | Lars Wirzenius | 2012-02-17 | 1 | -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 stages | Richard Maw | 2012-02-17 | 1 | -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 2 | Richard Maw | 2012-02-17 | 1 | -2/+0 | |
| | ||||||
* | Do not use pass2 morph cache in pass3 | Lars Wirzenius | 2012-02-16 | 1 | -3/+8 | |
| | ||||||
* | Remove pointless re-freshing of cached git repos from pass3 build | Lars Wirzenius | 2012-02-16 | 1 | -15/+0 | |
| | ||||||
* | Simplify bootstrap dir tree; split pass2 into two parts | Lars Wirzenius | 2012-02-16 | 1 | -8/+53 | |
| | ||||||
* | baserock-bootstrap: add pass 3 build | Richard Maw | 2012-02-15 | 1 | -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 bootstrap | Lars Wirzenius | 2012-02-15 | 1 | -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 pass3 | Lars Wirzenius | 2012-02-15 | 1 | -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 Wirzenius | 2012-02-15 | 1 | -2/+2 | |
|\ | ||||||
| * | baserock-bootstrap: use devel-bootstrap.morph | Richard Maw | 2012-02-14 | 1 | -2/+2 | |
| | | | | | | | | | | this is unsuitable for non-bootstrap builds use a separate morph | |||||
* | | Add missing case terminator | Lars Wirzenius | 2012-02-14 | 1 | -0/+1 | |
| | | ||||||
* | | Make run-bootstrap-in-chroot snapshot pass2 | Lars Wirzenius | 2012-02-14 | 1 | -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 image | Lars Wirzenius | 2012-02-14 | 1 | -1/+1 | |
| | | | | We want to build pass3 instead of building a system image. | |||||
* | scripts: use EXIT traps to unmount | Richard Maw | 2012-02-14 | 1 | -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 bootstrap | Lars Wirzenius | 2012-02-13 | 1 | -2/+2 | |
| | ||||||
* | baserock-bootstrap: bump version number for cliapp in build script | Richard Maw | 2012-02-10 | 1 | -6/+6 | |
| | ||||||
* | Make bootstrap use the new --ignore-submodules option | Lars Wirzenius | 2012-02-09 | 1 | -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 Wirzenius | 2012-02-09 | 1 | -6/+6 | |
| | | | | | | path This way we don't need to copy in the repo into the chroot. | |||||
* | Make bootstrap build use git bundles | Lars Wirzenius | 2012-02-09 | 1 | -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" error | Javier Jardón | 2012-02-09 | 1 | -1/+1 | |
| | ||||||
* | baserock-bootstrap: fix typo | Richard Maw | 2012-02-07 | 1 | -1/+1 | |
| | ||||||
* | baserock-bootstrap: wait for /dev/mapper/* | Richard Maw | 2012-02-07 | 1 | -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 umount | Richard Maw | 2012-02-07 | 1 | -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 Maw | 2012-01-31 | 1 | -9/+19 | |
|\ | ||||||
| * | baserock-bootstrap: build devel before linux | Richard Maw | 2012-01-30 | 1 | -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 foundation | Richard Maw | 2012-01-30 | 1 | -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 builds | Richard Maw | 2012-01-30 | 1 | -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/no | Richard Maw | 2012-01-26 | 1 | -2/+8 | |
| | | ||||||
| * | Make sure the do-chroot script unmounts proc, sys in case of failure | Lars Wirzenius | 2012-01-20 | 1 | -0/+1 | |
| | | ||||||
| * | Make builds in chroot fail if any command fails | Lars Wirzenius | 2012-01-20 | 1 | -0/+2 | |
| | | | | | | | | Also, print all commands, for easier debugging. | |||||
| * | Remove pointless empty element from PATH | Lars Wirzenius | 2012-01-20 | 1 | -1/+1 | |
| | | ||||||
| * | Change snapshot handling to be more flexible | Lars Wirzenius | 2012-01-20 | 1 | -5/+4 | |
| | | | | | | | | Also, do snapshot of the debootstrapped thing too. | |||||
| * | build devel stratum first | Lars Wirzenius | 2012-01-19 | 1 | -1/+1 | |
| | | ||||||
| * | force a PATH that has /tools at the end | Lars Wirzenius | 2012-01-19 | 1 | -0/+2 | |
| | |