summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* WIPjjardon/franred/use-1.1.3-BuildStream-releaseJavier Jardón2018-06-261-18/+5
|
* Add configure commands to libjpeg.bst elementFrancisco Redondo Marchena2018-06-251-0/+4
| | | | | This will create the m4 element for autoconf which was missing when calling ./configure without running autoreconf or ./autogen.sh
* Fix /bin /sbin links to systemdFrancisco Redondo Marchena2018-06-251-2/+2
| | | | | | `$prefix` was pointing to ../usr but links don't need relative path anymore. Removing $prefix from the links make the link to work again.
* Update buildstream to 1.1.3franred/point-to-Update-buildstream-1.1.3Francisco Redondo Marchena2018-06-048-14/+14
| | | | | | | | | | Set up/Hard code STAGE2_SYSROOT to the root directory instead of calculating it depending on the current directory because buildstream has changed the default value of "build-root" directory and this was causing issues in the stage2 packages. See https://gitlab.com/BuildStream/buildstream/issues/414 for more information. Bump also the SHA of bst-external to fcd1fc365d0250bffe02937c89dcc31d11c299cf
* Use new version of bst-external when testingsam/bst-1.0.0jjardon/testSam Thursfield2018-02-231-1/+1
| | | | | This doesn't fix anything we specifically need, but it's good to keep on top of upstream changes.
* Update to build with BuildStream 1.0.1Sam Thursfield2018-02-239-16/+28
| | | | | | | | | | | | | We were previously building with an old 0.x version. This requires a fix to how we import the 'x86image' plugin from the bst-external plugins repo. It also requires a couple of fixes to elements which need to add things to the CMake configure commandline. These should use the new 'cmake-local' variable rather than overriding the configure-commands as a whole; the builds of these elements were breaking because the default commands changed upstream to expect out-of-tree builds.
* Add coreutils-common to the build systembenbrown/build-system-coreutilsBen Brown2018-02-091-0/+1
|
* README.md: Fix formatting and numbering issuesSam Thursfield2018-02-011-10/+10
|
* .gitlab-ci.yml: Only build one converted system, use the current bst ↵jjardon/buildstream_transitionJavier Jardón2017-12-121-25/+22
| | | | definition for the rest
* Remove all .morph files and files from the old formatJavier Jardón2017-12-121055-58351/+0
|
* Add BuildStream converted filesJavier Jardón2017-12-12937-18/+16682
| | | | | | | This is made by a conversion made in commit 8f8992a18d55c3abf28d4b6fc8036bd39d3dc1cf of definitions Check there to know what exact versions of YBD and defs2bst was used
* CI: keep conversion of the last commit with definition in YBD formatJavier Jardón2017-12-122-1/+5
|
* .gitlab-ci.yml: Remove YBD and old format systems from the CIJavier Jardón2017-12-111-133/+0
| | | | Keep the conversion though
* .gitlab-ci.yml: Add image deployment test for BuildStreamsam/minimal-vm-imagemorphsSam Thursfield2017-12-061-12/+36
| | | | | Drumroll... we actually boot the VM in QEMU, run a command, and check its output is sane.
* Add script to test that minimal-system boots in QEMUSam Thursfield2017-12-061-0/+103
| | | | | | | | | This is the first thing I have ever written with asyncio and it spits out lots of warnings and exceptions in some cases that I don't really understand. However the basics are there: if the VM boots and can run `uname -a`, the test succeeds; otherwise it fails.
* Add minimal-system-image-x86_64Sam Thursfield2017-12-069-3/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | This element produces a disk image that boots in QEMU. It has a kernel, BusyBox, and little else; but should be suitable as a basis for more grand endeavours. This disk image we produce is 53MB. I spent a while trying to get this as small as possible and this is as far as I got: * The boot partition seems to have a minimum size just over 32MB; lower than that and SYSLINUX fails to write the boot sector. The combined size of the initramfs and kernel is about 32MB, so I imagine that's what limits us. * The main partition is limited in size only by the amount of binaries that we put there. * We have a useless 40KB swap partition, which the x86image plugin insists on creating for us. Again 40KB is the minimum size that `mkswap` will allow. It's possible to override or modify the x86image plugin to avoid swap altogether but I'm not sure of the best way to proceed. There are a few dependency cleanups in the bsp-generic stack; previously we'd build the whole 'foundation' stack which took ages and wasn't needed at all.
* Add support for building an initramfsSam Thursfield2017-12-065-0/+243
| | | | | | | | | | | | The scripts are taken from https://gitlab.com/BuildStream/buildstream-tests (branch build-gnome). Those in turn were taken from http://git.baserock.org/baserock/baserock/initramfs-scripts.git We manually set the executable permissions in the init scripts using chmod, because https://gitlab.com/BuildStream/buildstream/issues/84
* gnu-toolchain: Split rule improvementssam/split-rulesSam Thursfield2017-12-049-5/+156
| | | | | | | | | | | | | | | | | | | | | | This includes many fixes that result in us being able to produce a minimal OS image or initramfs of a reasonable size. I have built an initramfs of 16MB uncompressed with this change: still a bit bigger than necessary, but much better than the comical ~700MB thing complete with kernel source code and C++ compiler that I got before these changes. Note that the gnu-toolchain stack now puts all the toolchain binaries into the 'devel' artifact. The 'runtime' artifact just contains libraries needed to run programs that are built with that toolchain. We should split this up further in future so that C programs don't depend on libstdc++. Special care is taken for GCC and GLIBC to handle the lib/ and lib64/ split that they do on some 64-bit platforms. We also globally put /usr/src into the devel artifact, which is only useful for the linux.bsp element at present but makes sense as a global rule.
* gnu-toolchain: Use correct target names in Binutils and GCCSam Thursfield2017-12-042-2/+8
| | | | | | | | | | | | | We intended to set the architecture triplet for systems we build to something like x86_64-baserock-linux-gnu. This wasn't actually happening though as nobody had passed the message on to the GCC and Binutils build systems, so we got mixed defaults of x86_64-pc-linux-gnu and x86_64-unknown-linux-gnu. Both GCC and Binutils install files that have the target name in their path, and it's useful when writing split rules if we know in advance what that's actually going to be. Plus it looks neater if we set the vendor field in the architecture triplet correctly!
* Update SambaSam Thursfield2017-12-041-0/+134
| | | | | | | | | To hopefully fix a build issue that has randomly reared its head: [3104/3492] Linking default/lib/tdb/tdbrestore /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../libcom_err.a(error_message.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../libcom_err.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status
* Update PostgreSQL to fix autoreconf issuesam/buildstream-artifact-cache-updateSam Thursfield2017-12-041-4/+4
|
* Fix elements where we can't run autoreconfSam Thursfield2017-12-0415-2/+65
| | | | | | | | BuildStream changed its defaults in be08caa06d6b8ba780aa so that autoreconf always runs. A few components need fixing as a result, mostly those which were not correctly depending on autotools
* Update cross-build wrapper to use new `--option arch`Sam Thursfield2017-11-291-3/+3
| | | | It was still using --target-arch which BuildStream no longer supports.
* Update to latest BuildStreamSam Thursfield2017-11-272-10/+9
| | | | | This version changes how artifact caches are specified, so the project.conf file needs updating too.
* .gitlab-ci.tml: Remove weston-qt system from CIjjardon/ci_remove_systemsJavier Jardón2017-11-271-36/+0
| | | | The component on it are already build in the IVI system
* .gitlab-ci.yml: Remove genivi-baseline-system-x86_64-generic from the CIJavier Jardón2017-11-271-9/+0
| | | | The components on it are already build in the GDP system
* Move -devel systems to the unmaintained/ folderJavier Jardón2017-11-2728-19/+6
|
* .gitlab-ci.yml: Remove -devel systems from the ciJavier Jardón2017-11-261-17/+0
| | | | They are not really used/maintained
* .gitlab-ci.yml: Move bst-build-minimal-system to build-1 stageJavier Jardón2017-11-261-1/+1
| | | | So we build the same systems in build-1 for ybd and buildstream
* .gitlab-ci.yml: Remove build-3 stage to save timeJavier Jardón2017-11-261-9/+8
|
* Update Sambasam/update-e2fsprogsSam Thursfield2017-11-131-2/+2
| | | | | | | | | To hopefully fix a build issue that has randomly reared its head: [3104/3492] Linking default/lib/tdb/tdbrestore /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../libcom_err.a(error_message.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../libcom_err.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status
* core: Update e2fsprogs to latest (1.43.7)Sam Thursfield2017-11-101-2/+2
| | | | | This gains us support for `mkfs.ext4 -d`, which is great when making disk images.
* Actually use specific versions of YBD and BuildStreamsam/ci-fixSam Thursfield2017-11-101-19/+21
| | | | | | | | | | | | | The approach from commit 56885a36e5c3830a6c6c7a663730a8a297a5825c was neater, but it doesn't work due to this GitLab issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/20615 I can't see any way to make this work apart from putting the SHA1s into the job before_script sections directly. I moved them upwards to make it more obvious. Of course once we stop using YBD we can clean this up nicely.
* gnu-toolchain: Fix comment in base.bstsam/base.bst-commentSam Thursfield2017-11-081-1/+5
|
* .gitlab-ci.yml: Update defs2bst versionsam/buildstream-1.0Sam Thursfield2017-11-051-1/+1
| | | | | This version uses %{arch} instead of %{bst-arch}, and uses list composition operations instead of pre- and post- commands.
* Replace use of architecture conditionals with generic project conditionsSam Thursfield2017-11-0512-304/+284
| | | | | | | | | | | | The initial implementation of architecture conditionals has been removed, as the same behaviours can be implemented using the more generic mechanism for conditionals that is being introduced for BuildStream 1.0. We now have two architecture options: build_arch and arch. They are documented in project.conf. The first one controls the build sandbox while the second controls the host and target of the binaries we produce.
* Add scripts/baserock-release-metadataSam Thursfield2017-11-031-0/+66
| | | | | This was meant to be added as part of MR !58, but of course I forgot to `git add`.
* README.md: Remove stray ` characterSam Thursfield2017-11-031-1/+1
|
* gnu-toolchain: Use new version of base sysrootsam/bootstrap-from-baserock-binariesSam Thursfield2017-10-301-1/+1
|
* README.md: Fix command, and note about OSTree update delaySam Thursfield2017-10-301-2/+4
|
* gnu-toolchain: Be specific about which `ldconfig` we useSam Thursfield2017-10-301-1/+1
| | | | | | Otherwise, cross builds can try and run a version of `ldconfig` that is built for the target architecture rather than the host, resulting in brokenness.
* bootstrap: Remove .la files from the stage3 sysrootSam Thursfield2017-10-301-0/+9
| | | | | | | | | This fixes cross-compilation of stage2-gcc against our stage3 base sysroot. If the `.la` files are not removed, Libtool insanity kicks in and we end up with the x86_64 version of libstdc++ included in the cross-build commandlines.
* Add extra split rule for GLIBC locale-archive fileSam Thursfield2017-10-271-0/+5
| | | | | This reduces the output size of bootstrap/stage3-sysroot.bst from 500MB to 350MB.
* README.md: Add instructions on how to release sysrootsSam Thursfield2017-10-261-0/+59
|
* README.md: UpdateSam Thursfield2017-10-261-2/+1
|
* Rename README so it gets rendered as Markdown in gitlab.comSam Thursfield2017-10-261-0/+0
|
* Merge remote-tracking branch 'origin/master' into ↵Sam Thursfield2017-10-261-2/+16
|\ | | | | | | sam/bootstrap-from-baserock-binaries
| * .gitlab-ci.yml: Use specific version of ybd, spec, defs2bstjjardon/no_master2Javier Jardón2017-10-261-2/+8
| | | | | | | | Current master of all those
| * .gitlab-ci.yml: Use specific version of BuildStream instead current masterJavier Jardón2017-10-261-4/+4
| |
| * Revert "Remove BuildStream update task"Javier Jardón2017-10-261-0/+8
| | | | | | | | | | | | | | | | We do want to control what version of BuildStream are we using in the CI, not as part as the image; an update can break the build and the same commit that built today can break tomorrow This reverts commit 3de7f8086cfc89e11ffdf88651ab415e661e2609.