summaryrefslogtreecommitdiff
path: root/strata
Commit message (Collapse)AuthorAgeFilesLines
...
* Move dbus-glib to audio-bluethooh stratumJavier Jardón2015-08-172-6/+6
| | | | Change-Id: I95d488831b13b978ea289d91a55be73f75c87fc7
* Upgrade some GENIVI components for Kronos K-0.2Pedro Alvarez2015-08-153-14/+10
| | | | | | | | - common API to 3.1.2 - udiomanager to 7.0 - node-health-monitor to 1.3.5 Change-Id: Ided9707f30fe9f1f532af36430ee827403bf4195
* Update multimedia-commonPaul Martin2015-08-142-5/+32
| | | | | | | | Add newer versions of existing codec sources ogg and vorbis. Add new codecs: tremor (integer vorbis decoder), flac and libmad (integer MP3 decoder). Change-Id: I39ff6c10451ad51b722ae3ef39de4fe5572af86b
* Move GNU File into core to fix MIPS buildPaul Martin2015-08-072-6/+16
| | | | | | | | | | | | | Recent autoconf (and autoconf generated ./configure files) uses the "file" program to work out what binary format is currently being produced by the compiler when the architecture is MIPS. If "file" doesn't exist, or it fails to identify the binary format, autoconf/configure silently disables the building of shared libraries, which causes later chunks to fail to build at link stage due to missing .so files. Change-Id: Ia98a22d121fc8cb95d36bcb1d3ae2ce44cc6ddf5
* Update libsoup referencePaul Martin2015-08-031-2/+2
| | | | | | This later version will be needed by rygel and its dependents. Change-Id: I5fd1f14108d722b5cb76f8fb74954fbe248ba2a3
* cpython: Use system libffi and libexpat librariesJavier Jardón2015-08-032-9/+15
| | | | Change-Id: I1e96327e30051079968e39db0032b98e0c81d352
* Update Morph build tool in reference systemsSam Thursfield2015-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes the following changes: Add support for Baserock definitions version 6 Remove support for Baserock definitions format versions 0, 1 and 2 Don't provide default strip-commands for 'manual' build system Extract downloaded tarball as current user Add bitbucket repo alias to default aliases sourceresolver_tests: Remove bogus test sourceresolver_tests: Fix invalid backup definition distbuild: Fix cache status message distbuild: Fix crash when worker disconnects distbuild: Fix partial distbuilding distbuild: Add __str__() and __repr__() to ArtifactReference distbuild: Hide a log message distbuild: Check cache status each time we enqueue new artifacts distbuild: Add docstrings to BuildController state machine Fix crash in `morph distbuild` command Make `morph show-build-log` look in local repo cache for build logs Make more commands work outside a system-branch/workspace Determine whether to include_local_changes from app.settings Raise exception if show-build-log doesn't find the build log Fix `morph show-build-log` for chunks of a different architecture localrepocache: Count freshly cloned repositories as updated Fix anchor yarn Add script to run a distbuild network on the local machine Don't ignore the 'cwd' parameter Expose reset_workdir in GitDirectory class Swap repr() for str() in ref add errmsg Improve error when local HEAD of definitions repo is not found in remote Use DefinitionsRepo class in deploy plugin Use DefinitionsRepo in build command Add DefinitionsRepo class Treat True and False as actual commands, rather than booleans. buildsystem: Comment strip command Change-Id: Ic55e12bfe5e98f4a1a4df875c23ad3d447f7038c
* Remove completely xml-catalog from strata/virtualization.morphPedro Alvarez2015-07-271-1/+0
| | | | | | | | It was moved to strata/docutils.morph in the commit 490f87c9ccc4046caeb3ab41a067a9a5ad3ad95c and we missed this build depenency. Change-Id: Ic40ca21f2d066d5fe859e44c647fe5b42faaf9b3
* Upgrade perl to v5.22Richard Ipsum2015-07-2711-25/+232
| | | | Change-Id: I309f2ee3d9ff0569907c51ee9984b365b31cdbf5
* Add a simple samba stratumPaul Martin2015-07-272-0/+139
| | | | Change-Id: I46ca2add3ec07be66053bdf8b2a9956c680855b8
* strata/devtools.morph: Change wget's gnulib submodule locationJavier Jardón2015-07-191-2/+2
| | | | | | And upgrade from 1.16 to 1.16.3 at the same time Change-Id: I592f49b671ad0c4ea93f4be9a8231a7f87560a29
* Reformat all definitions according to a consistent styleSam Thursfield2015-07-1940-147/+167
| | | | | | | | | | | | | | | | | This was done using the 'indent' tool, which uses a fork of PyYAML named 'ruamel.yaml' to rewrite YAML files without losing comments, ordering, or certain elements of formatting. My aim with doing this is to open the door to automated editing of the reference system definitions using the 'ruamel.yaml' library. This can be used to implement automated migration when we want to make changes to the YAML format that we use to represent Baserock system definitions. Although this looks drastic, remember that it's actually only altered 65 out of 608 .morph files -- the vast majority already pass unchanged through my version of ruamel.yaml. Change-Id: I95ec978714b5bd1c02c90183336a9fbb846cb692
* Add ruamel.yaml library to 'build' and 'devel' systemsSam Thursfield2015-07-191-0/+12
| | | | | | | | | | | | This is currently done by adding it to the 'morph-utils' stratum, because it is used as a tool for working with .morph files. The ruamel.yaml library allows writing YAML files while preserving comments, ordering and some formatting form the input files. This makes it more practical for us to write automated migration scripts for Baserock definitions. Change-Id: I886232dad4d64bcf1803f52e94ae25b0fa2d9969
* Update cpython Python interpreter to latest stable versionsSam Thursfield2015-07-182-4/+4
| | | | Change-Id: I1faa4db9e3bb5c2e8e3ef80d88b3ef3e5cf2ae26
* Add wgetRichard Ipsum2015-07-172-0/+15
| | | | Change-Id: I2cd784c45a4e96f59b124ca9b9bb06993b9e3f12
* Update lorry to gain two new featuresRichard Ipsum2015-07-161-1/+1
| | | | | | | * "reproducible" tar lorries * zip support Change-Id: Id12e868c511996d7e44651bfb4b4c885cf9748c4
* Fix chunk name mismatches in 'build-depends' listsPedro Alvarez2015-07-152-2/+2
| | | | | | We forgot about this in 4a81346961031aecc50c657423bd8d68250fc40d Change-Id: I60c73295f622abff4bafeaebfa830db0d7efcd9a
* Fix 'name' field mismatchesSam Thursfield2015-07-0711-11/+11
| | | | | | | | | | | | | The 'name' field is set in both a chunk's definition, and in the chunk reference point in each stratum where that chunk is included. Some of them didn't agree on the name of the chunk. In all cases I've made 'name' match the filename of the chunk .morph file, either by fixing the chunk .morph file or the stratum .morph file (and in one case, the filename). This should have no effect on behaviour, it's just a tidyup. Change-Id: I90bcd3fa382e24c8aa2d370ea5f545491169d1db
* babel: Don't include the date in the version numberAdam Coldrick2015-07-031-3/+4
| | | | | | | | A patch to fix this has been sent upstream, but the upstream repository seems inactive. Pull request is here: https://github.com/mitsuhiko/babel/pull/164 Change-Id: I1170e8b66c3975459dfed8ffdf66f053c2c477a5
* ca-certificates: This chunk doesnt use autotools build systemJavier Jardón2015-06-291-4/+5
| | | | | | But a simple Makefile instead Change-Id: I0d73e2cf44fc97ba9f6452ea417c1b317b68efa6
* attr: separate bootstrap and configure commandsJavier Jardón2015-06-232-2/+2
| | | | | | Also attr doesnt depend on automake to build Change-Id: Ied3ba4af7991c44ed080362a8dae5d00092e5514
* OpenStack: integrate the OpenStack unified CLI clientTiago Gomes2015-06-227-0/+54
| | | | | | | | | "OpenStackClient (aka OSC) is a command-line client for OpenStack that brings the command set for Compute, Identity, Image, Object Store and Volume APIs together in a single shell with a uniform command structure." Change-Id: Icf3200e99100f46e5d8044844232025e7bada75d
* Move ebtables to networking-utilsFrancisco Redondo Marchena2015-06-183-8/+8
| | | | | | | Makes more sense to have ebtables in networking-utils than in virtualization. Change-Id: Ic71d89b5997f3b5ea020ab2a8d81fe6755df0a87
* Add conntrack-tools to networking-utilsFrancisco Redondo Marchena2015-06-187-0/+66
| | | | | | | | conntrack-tools are a set of userspace tools for interacting with the Connetion Tracking System, module for inspecting packets for iptables. Change-Id: I7b66c5a366501bb15a5e0e073f62d23b2a82580b
* Fix liberasurecode buildTiago Gomes2015-06-172-0/+6
| | | | Change-Id: Id05778e81b4231b6c1ba0d0053527976396359e5
* Improve ntpd systemd unit and configurationTiago Gomes2015-06-171-3/+3
| | | | | | | | | | | | Start ntpd with the `-N` and `-g` options, as recommended in the man page. `-N` will, to the extent permitted by the operating system, run the ntpd at the highest priority. `-g` will make ntpd to update the time even if the offset with the current time is greater than 1000s. Add 'limited' to the restrict options to avoid the following warning in the log: 'restrict ::: KOD does nothing without LIMITED'. Change-Id: I23e264533ef27af7a0504e8cd5b69c7e01843728
* Update shadow to latest stable (4.2.1)Javier Jardón2015-06-162-3/+5
| | | | Change-Id: I7947f088ed59948deb68760a03714d722840a00a
* pulseaudio: do not run configure command twiceJavier Jardón2015-06-161-1/+2
| | | | Change-Id: I4bd097d1607231f5e9dd11684b705d2d821ad900
* core: build libtool from gitJavier Jardón2015-06-162-38/+59
| | | | | libtool-tarball is still needed to build the libtool dependencies Change-Id: Icd90c0c92574812f860a649f40343bf13930b0ad
* strata/core.morph: patch doesnt depend on shadowJavier Jardón2015-06-161-1/+4
| | | | | | But in automake, autoconf, mini-utils and bison Change-Id: I6333bd5a6665697805c0acbd8f18928e32cdbde6
* Fix 'sed' invocation to work with BSD 'sed'Sam Thursfield2015-06-161-1/+4
| | | | | | The BSD 'sed' used on Mac OS X is a bit rubbish compared with GNU 'sed'. Change-Id: Ic26878301b49099252b04d8a0854e551c352ad54
* Workaround for util-linux to not depend on gitJavier Jardón2015-06-162-2/+6
| | | | | | At least systemd fails to build if you remove the git dependency from util-linux and you dont apply this workaround Change-Id: Ife649e811aea2ffb2eb4fa6d042e2dfbaf390430
* core: build autoconf from git instead from a tarballJavier Jardón2015-06-162-26/+44
| | | | | | | Also, backport a patch needed to build with latest texinfo Change-Id: I1f1e0e81091fb4212bd111e16c8054ce548f4ae8
* busybox: Don't include build date in --help outputSam Thursfield2015-06-162-6/+8
| | | | | | | | I did two builds of 'busybox' on the same system, using YBD, and found that the only difference between the two artifacts was the /baserock/busybox.meta file, as this contains an 'elapsed_time' field. Change-Id: Id6d65e68286cdd47eb44ad838a15c599b91c4e8d
* Upgrade to wayland and weston 1.8.0Javier Jardón2015-06-162-4/+4
| | | | Change-Id: Ib161f0cc2d574481c2ca4afbe29553e676e5a9c6
* patch: Fix version reportedJavier Jardón2015-06-162-0/+4
| | | | | | | | Without this patch, you get: ~ #patch --version GNU patch UNKNOWN Change-Id: I63c554ac9372306a5c8faa8324a31237ae6c9972
* Disable 'sse' optimization when compiling gf-completeFrancisco Redondo Marchena2015-06-152-0/+21
| | | | | | | | | | | | | | | | | | | | | | | Add --disable-sse on configuration time to avoid to use the sse4 instructions. Mason 32-bits is failing to compile gf-complete because it tries to use this set of instructions which are specific for 64 bits machines, showing the following error: gf_w128.c:393:5: error: incompatible types when assigning to type '__m128i' from type 'int' a = _mm_insert_epi64(prod, a128[1], 0x0); ^ gf_w128.c:394:5: error: incompatible types when assigning to type '__m128i' from type 'int' a = _mm_insert_epi64(a, a128[0], 0x1); ^ gf_w128.c:395:5: error: incompatible types when assigning to type '__m128i' from type 'int' b = _mm_insert_epi64(prod, b128[1], 0x0); ^ gf_w128.c:396:5: error: incompatible types when assigning to type '__m128i' from type 'int' b = _mm_insert_epi64(b, b128[0], 0x1); ^ Change-Id: I5162cf7722f36925dd082f99478afdaf83d55b80
* Fix missing unpetrify-ref in xorg-lib-libxshmfencePaul Sherwood2015-06-121-0/+1
| | | | Change-Id: I08b803c39c9882aab25bec6485a184357eef4431
* Fix unpretrify typo in openstack-commonPaul Sherwood2015-06-121-1/+1
| | | | Change-Id: I0f5a6eb11de1c62eaaa7e2b1bb9b34f6ac507ef9
* Update the version of morph in definitionsAdam Coldrick2015-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gets the following changes: 2579391 buildsystem: Comment strip command 7f2ccd3 sourceresolver: Support version 5 c80c676 Set PYTHONPATH when running deployment extensions d95bd9e cachekey/builder: Use and cache strip commands acdc5ce sourceresolver: Use versioned morphology loader afee581 morphloader: Smoke test strip command inclusion 600f264 morphloader: Allow build-system lookup to be customised de977c0 morphloader: When given definitions v5, include strip commands 15da1e3 buildsystems: Add strip commands 0feb10b sourceresolver: Re-order method definitions in use order 4ceaa8c sourceresolver: Pass all hidden state 117413f Fix test suite d8e7abe CacheKeyComputer: Only attempt to include commands present in morphology 0ed681e morphloader: Hoist buildsystem lookup outside of loops 22232a8 morphloader: Add test-commands to key order 7f3b39d sourceresolver: bind util.sanitise_morphology_path 8101068 sourceresolver: Remove cache_repo_locally 4ed27e0 sourceresolver: Use context managers for cleanup and cache writeback d873baa morphlib: Use new temp_dir helper context manager 061834b morphlib.util: Add temp_dir context manager eb3eb47 sourceresolver: Pass build system directly to morphology creation e7027e5 Add separate_mount_namespace kwarg to ext runner 56c7db5 Do not call str() on None types in sanitize_env 7929082 Ignore the configuration extensions when generating the cache-key 501181a Use keystoneclient python api in openstack.check 9a831cc deploy: Don't imply --upgrade in subsystems 87bfac4 morph deploy: Allow overriding UPGRADE in definition or on command line 4ce4366 Ignore --upgrade flag rather than exiting 05b2b06 Move 'git config' wrapper into its own class 5387806 check: Allow yarns to be run with --snapshot 4e07f7e yarns: Fix typo in cross-bootstrap yarn 31ddf5d yarns: Add a test for `morph list-artifacts` 8eef287 yarns: Add a test for `morph certify` 4dcc23b yarns: Add a test for `morph generate-manifest-csv` 6fd766d generate-manifest-csv: Catch NoRemote error when cloning lorries repo f72b4dc Give exact filename when an artifact is not found in the cache. 5dd1f23 Use protocol to validate incoming requests ddef6ab Disable WC exec-output messages in log by default 88967bf Disable logging of build output by default c373f5a Bump supported definitions version to version 4 4131947 distbuild: Handle errors from socket 8625124 distbuild: Condense Initiator class to remove unnecessary duplication 2c2b113 Add .gitreview file 2607fa3 Fix crash in handling of recursive submodules Change-Id: Ib7e2db60a9ec4f6196e6a4b4ecd53ed9b0b0c3cc
* Alter ZooKeeper to use new java structureJim MacArthur2015-06-122-24/+1
| | | | Change-Id: I3362201333cf51c11311cca4d65b675832d83738
* Move java-ant from zookeeper stratum to javaJim MacArthur2015-06-121-1/+1
| | | | Change-Id: Ia235fa69851d138a93ac02023af05ee21bec3324
* Add java-build stratum, contaniing things necessary to build OpenJDKJim MacArthur2015-06-122-0/+38
| | | | | | | | | | The use of the java-binary repo from Github goes against the policy we have defined for the Baserock reference systems, of having everything built from source code that is mirrored on git.baserock.org. However, building a Java compiler from source code super difficult so we can't really avoid this hack at present if we want to build other Java components from source using Baserock tooling. Change-Id: I9bc1892cbdbb3d3234b06d8a650b0c568254c0b5
* Add --no-same-owner when unpacking JDKJim MacArthur2015-06-121-1/+1
| | | | | | | This is necessary because of the build sandboxing we do using 'linux-user-chroot', which drops the privileges necessary for changing ownership permissions inside the staging area. Change-Id: If56f7eb6bb8ba10de319cc616b43c3022237c385
* Add libXt, libSM and libICE to x-common strataJim MacArthur2015-06-121-0/+21
| | | | Change-Id: I2d398b8b884009423af4fc8b645af8c3166baaf5
* iputils: Install all the iputils utilitiesbaserock/update-openstack-to-kiloPedro Alvarez2015-06-113-7/+28
| | | | | | | | | | | | | | | | | | | | | Utilities added are: - clockdiff - rdisc - tracepath - tracepath6 - ninfod - rarpd. Also it overwrites the following busybox network utilities: - traceroute6 - arping - tftpd - ping - ping6 Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Change-Id: Ie925709677c2a83d7e512911fc4cfa7de749e967
* OpenStack: Add custom configuration for the componentsPedro Alvarez2015-06-111-31/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | Add custom configuration for Keystone, Nova, Neutron, Cinder, Glance, Ironic, Swift, Ceilometer, Horizon and Tempest for Openstack Kilo release. Notes: - Horizon configuration has change in order to be less error prone and to be close to the default configuration, the following changes has been made to achive this purpose: - Install the openstack_dashboard django project in /var/lib/horizon avoiding: - to write in /usr/lib/python2.7/site-packages/static - to maintain a copy of local_settings.py - to create a symlink as workaround to make django.wsgi to work with the previous configuration. - Change the path of django.wsgi file - Remove the 'horizon/' suffix to access Horizon via URL. - Grant permissions to access to /var/lib/horizon/static Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Signed-off-by: Patrick Darley <patrick.darley@codethink.co.uk> Signed-off-by: Tiago Gomes <tiago.gomes@codethink.co.uk> Change-Id: I1fda4f85eb334b1b5bfec54dfcd9780a6112ea3b
* OpenStack: Install default configuration filesPedro Alvarez2015-06-117-17/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add the default configuration files for Keystone, Nova, Neutron, Glance, Cinder, Swift, Ceilometer, Ironic and Tempest. Also install configuration files which will are not going to be modified in the following commit, in the post-install-commands for the chunk; as opposite to having them laying around in the repo and installing them with the install-files configuration extension. Note: - Some configuration files have been created using commands given in their documentations or they .conf.sample files. - To generate cinder.conf use the following command on the top of the cinder repository: ./tools/config/generate_sample.sh -b . -p cinder -o etc/cinder - Nova.conf has been taken from: http://pkgs.fedoraproject.org/cgit/openstack-nova.git/tree/nova.conf.sample commit 69755b4a072edff0957ee256290395600edbab9e - tempest.conf has been taken from the tag version '4'. Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Signed-off-by: Patrick Darley <patrick.darley@codethink.co.uk> Signed-off-by: Tiago Gomes <tiago.gomes@codethink.co.uk> Change-Id: Id26886aaaa9edd8509412615a65e681d5c8117ed
* Use a version of Babel with Unicode CLDR includedPedro Alvarez2015-06-112-2/+14
| | | | | | | | | | | | | Babel was failing with the following error: RuntimeError: The babel data files are not available. This usually happens because you are using a source checkout from Babel and you did not build the data files. Just make sure to run "python setup.py import_cldr" before installing the library. This commit fixes the problem. Change-Id: I9b3fbe8ea2c9ead276271dfab831da8c3e2ae465
* OpenStack: Add python-requests-aws required by CeilometerFrancisco Redondo Marchena2015-06-111-0/+5
| | | | | | | | AWS authentication for Amazon S3 for python request library. This is required by Ceilometer because of the following bug: https://bugs.launchpad.net/ceilometer/+bug/1424746 Change-Id: I2652a6491c4e0852a95e83ed81d01ae309585645