summaryrefslogtreecommitdiff
path: root/strata/core
Commit message (Collapse)AuthorAgeFilesLines
* strata/foundation/systemd.morph: simplify systemd cofiguration a bitJavier Jardón2016-03-191-3/+3
| | | | | | | - xz is enabled by default - Use the default install directories, ie, /usr/lib and /usr/bin Change-Id: I038113fcbf0288703fbb06cc4b64b34d09d8fc72
* strata/core: no need to run bootstrap in a separate stepJavier Jardón2016-03-091-5/+0
| | | | | | This is already done in DEFAULT 'configure-commands' Change-Id: I43b29165a42c9951c17647dbba935135dae6f633
* strata/core/python3.morph: Add missing symlink for python-configJavier Jardón2016-02-081-0/+2
| | | | | | python-config will not exist otherwise Change-Id: I5ef4f680ceb770b9d18490fc33abcb3f1b2554aa
* Updated ca-certificates chunkTristan Van Berkom2015-11-141-13/+9
| | | | | | | | | | | This patch uses the new upstream delta based on the 2015 default certificates used by debian, and drops the delta which was used to force an update-ca-certificates invokation at make install time. Now we no longer run the update-ca-certificates at make install time and only run it at system-integration time. Change-Id: I0de520d64f45c64aa3d213b9099211b5ab8a50dd
* Provide certificate path to libcurl in core stratumTristan Van Berkom2015-11-141-1/+7
| | | | | | | | | | | Without this, compilation of libcurl succeeds but does not have a default path to search for CA certs at runtime, and most libcurl depending software does not provide it's own certificates or set the default path. Also removed build dependency on ca-certificates. Change-Id: I5f3d33858e3fe65d57d93a38397239c1a421e69a
* Added comment to ca-certificates.morph in core.Tristan Van Berkom2015-11-121-0/+7
| | | | | | | Added comment to highlight the reason why we run update-ca-certificates in the make install phase. Change-Id: Ic2f19ebe562067fd86038b5ed49e64632ece617d
* e2fsprogs: Compile with explicit -fPICTristan Van Berkom2015-10-291-0/+5
| | | | | | | | This causes the objects going into the static library libcom_err.a to be compiled with -fPIC, making it possible to include the archive into a shared library; as samba does. Change-Id: I556d594b2cb25c8e7d4f9621fd3089608a213e1d
* RFC: Build git with man pagesRichard Ipsum2015-10-191-1/+1
| | | | | | | | | | | | | | | This commit renames git in core to git-minimal and adds a git chunk into devtools, the git chunk will replace git-minimal and will build and install git's man pages. It seems difficult to modify git in core so that it builds with docs without creating circular dependencies, chunks such as libtool depend on git, libxml2 depends on libtool, so libxml2 depends on git, but docutils depends on libxml2, and we need to make git depend on docutils, the fact that python2 is no longer in core also adds to the difficulty since asciidoc's build process depends on python2. Change-Id: Ifc64019b941740c85db058d36183b4a210c60e15
* core: Use python3 instead python2Javier Jardón2015-10-162-12/+13
| | | | | | | | | | | | | | | From [1]: "Python 2.x is legacy, Python 3.x is the present and future of the language" As a reference, python3 is already the default python version in Arch, and other distros like Ubuntu/Debian [2] or Fedora [3] are planning to switch soon [1] https://wiki.python.org/moin/Python2orPython3 [2] https://wiki.ubuntu.com/Python/3 [3] https://fedoraproject.org/wiki/Changes/Python_3_as_Default Change-Id: I6d4d11844d4424bfa49b37fe7d9a3639547c0139
* Set --sysconfdir=/etc all aroundTristan Van Berkom2015-10-121-1/+1
| | | | | | | | Technically this is not needed for core OS packages with a / prefix, and not needed for anything which does not install to/read from the sysconfdir... however it's all around safer to just specify it everywhere. Change-Id: I3d8cc58b26c5c2332d6dc08bc87007f774e449af
* Fix bison buildTiago Gomes2015-09-281-1/+2
| | | | | | | | Run ./bootstrap on the configure commands, otherwise it will be run again by the build tool but this time without the right arguments. This would result in a build failure. Change-Id: Ib93e5398229fa9f2fc00bfcd74a502553e5f92d6
* Remove python-setuptools.morphJavier Jardón2015-09-231-6/+0
| | | | | | | This chunk .morph file is actually unnecessary, those are the default build commands for the 'python-distutils' build system anyway. Change-Id: I51e73d408b9dc2b4fda9318753aa29b4ddf25ae7
* Force Readline to link against the libncurses library.Pedro Alvarez2015-09-231-0/+2
| | | | | | | | | | | | | | | | | This is to fix the following error: ld: warning: cannot find entry symbol _start; not setting start address /usr/lib/libreadline.so: undefined reference to `tputs' /usr/lib/libreadline.so: undefined reference to `tgoto' /usr/lib/libreadline.so: undefined reference to `tgetflag' /usr/lib/libreadline.so: undefined reference to `UP' /usr/lib/libreadline.so: undefined reference to `tgetent' /usr/lib/libreadline.so: undefined reference to `tgetnum' /usr/lib/libreadline.so: undefined reference to `PC' /usr/lib/libreadline.so: undefined reference to `tgetstr' /usr/lib/libreadline.so: undefined reference to `BC' Change-Id: I27e246f1c43b39f22b9761d0c062e7441872c5b4
* Remove pip chunk: its already included in python >2.7.9 and python >3.4Javier Jardón2015-09-171-0/+1
| | | | Change-Id: I6f2765bb246243d9fbeca463c93cd6110cb6c796
* Use git as a build dependency instead hack morphologies manuallyJavier Jardón2015-08-214-4/+0
| | | | | | | | | | | | This actually revert some changes we made a while back (74ce6a18, 7cb71771, 7c2bfac9) I realize we will have to patch a lot of modules manually following this route. Also, I remember to see some commands from chunks that, even they build fine, they will show UNKNOWN if you type <command> --version Basically the chunks assume that if you are building from git, you have git installed Change-Id: I886288553e8edf05ffc1cb497fabbadb468819b7
* cpython: Use system libffi and libexpat librariesJavier Jardón2015-08-031-1/+5
| | | | Change-Id: I1e96327e30051079968e39db0032b98e0c81d352
* 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-231-1/+2
| | | | | | Also attr doesnt depend on automake to build Change-Id: Ied3ba4af7991c44ed080362a8dae5d00092e5514
* Update shadow to latest stable (4.2.1)Javier Jardón2015-06-161-1/+3
| | | | Change-Id: I7947f088ed59948deb68760a03714d722840a00a
* core: build libtool from gitJavier Jardón2015-06-161-0/+6
| | | | | libtool-tarball is still needed to build the libtool dependencies Change-Id: Icd90c0c92574812f860a649f40343bf13930b0ad
* Workaround for util-linux to not depend on gitJavier Jardón2015-06-161-1/+3
| | | | | | 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-161-0/+5
| | | | | | | Also, backport a patch needed to build with latest texinfo Change-Id: I1f1e0e81091fb4212bd111e16c8054ce548f4ae8
* patch: Fix version reportedJavier Jardón2015-06-161-0/+1
| | | | | | | | Without this patch, you get: ~ #patch --version GNU patch UNKNOWN Change-Id: I63c554ac9372306a5c8faa8324a31237ae6c9972
* mini-utils: This chunk doesnt use autotools build systemJavier Jardón2015-06-101-2/+3
| | | | | | But a simple Makefile Change-Id: I83c0f5ce88512988011fb839655d9cc2cee9fce3
* Fix bison dependencies so that it builds without git and bashRichard Dale2015-06-021-1/+2
| | | | Change-Id: Idd1a0c155f2872c2b4aba64fa388e505e04fe7ab
* Move libffi.morph to strata/core/Javier Jardón2015-06-011-0/+8
| | | | Change-Id: I6bd38c933bcb86376a31fb36a6e40d2bd156822d
* Make gettext depend in libexpat to add support to translate XML filesJavier Jardón2015-05-261-6/+4
| | | | | | | | | | | Also, use autotools instead the experimental cmake system as It doesnt seem to generate the correct libexpat.so.x files. Thanks to Daniel Silverstone for the automake line to add the missing automake files (like install-sh) as upstream doesnt have them Change-Id: Ide6ad8ecb9ed35a42348a882cb9acc3b36fc4e34
* Move e2fsprogs from foundation to core stratumJavier Jardón2015-05-191-0/+22
| | | | | | | | So cross- systems doesnt depend on the whole foundation (cross- systems include morph, which depends on ostree, wich depends on e2fsprogs) Change-Id: I77918e2a2a66e9bd7c8ce77d2447e390d192a1c8
* Configure shadow to work with PAM.Pedro Alvarez2015-05-071-3/+6
| | | | | | | | | | | | | Also modify some /etc/pam.d files: - Make the requirement on pam_selinux.so optional in shadow default pam.d configuration files. - Modify 'system-auth' when installing systemd to add pam_deny.so, so that login attempts with wrong passwords fail now that shadow is configured to use PAM. Change-Id: I7110d27b6b46ce33eeaeae904dea854deb46c759
* shadow/PAM: Use SHA512 rather than DES for password hashesRichard Maw2015-05-051-2/+13
| | | | | | DES truncates passwords, so is an insecure default. Change-Id: I3fc7fe55a855ff762e51ef9d71fd6741b1cbc428
* Fix linux-pamJonathan Maw2015-04-296-2/+79
| | | | | | | | | | | | | | | | This involves: * Reordering the chunks linux-pam, acl, attr and libcap2 - this means moving them into the 'core' stratum, and fixing errors that occur because of the move. * Configuring pam correctly. * Fix acl failing to build in core. * Fix shadow to build against pam and reconfigure shadow to not do things covered by pam. * Fix tar not building - I am not sure what caused this to fail to build, but fixing it involved stopping it from trying to init submodules that were already checked out. Change-Id: I1b00ca0158c31ce5f31c11fe60816434508a05a1
* strata/core/bash.morph: Add configuration file /etc/bash.bashrcJavier Jardon2015-04-291-5/+34
| | | | | | | | This will: - Enable bash autocompletion if it's installed - Reset the terminal title when exit the current process Change-Id: Ic46a1edd1f84cf54f189956559344a85d8b64638
* Fix and update nano.Michael Drake2015-03-311-4/+0
| | | | | | | | | | | | Nano was broken; its binary not ending up in the systems. Here we fix that, update to 2.4.0 (which has full undo/redo functionality), and provide useful default config (enabling syntax highlighting, etc). Nano has also been moved from core to devtools. This stops morph from wanting to rebuild the world when you update Nano. Change-Id: I702b070cde6731fde04fc8a0810e2191e0bd4e6d
* Revert "strata/core.morph: bison doesnt depend on bash"Edward Cragg2015-03-201-1/+1
| | | | | | | | | | | | | This reverts commit c5240343053398d288cc500ff54379a3b0de5309. The original clean-up patch breaks the native build phase of cross-bootstrap on tested platforms - armv8l64, armv8b64, and x86_64. In the bootstrap environment, the native build of bison does rely on being run with bash rather than sh. Change-Id: Id8ed8793f8a179615a2f8733e867445cac544043
* Move sgdisk morph file to correct location (chef stratum)baserock/jjardon/core_cleanupJavier Jardón2015-02-261-7/+0
|
* Move libopt morph file to correct location (chef stratum)Javier Jardón2015-02-261-10/+0
|
* strata/core/patch: Use default autotools commands instead hardcode themJavier Jardón2015-02-261-6/+2
|
* strata/core: patch doesnt depend on bashJavier Jardón2015-02-261-1/+1
|
* strata/core: Upgrade to latest version of help2man (1.46.5)Javier Jardón2015-02-261-9/+0
|
* strata/core.morph: bison doesnt depend on bashJavier Jardón2015-02-261-1/+1
|
* strata/core/bison: Do not use workaround to get package versionJavier Jardón2015-02-261-1/+0
|
* strata/core/bison: Use default autotools commands instead hardcode themJavier Jardón2015-02-261-6/+2
|
* Move pyyalm from core to python-coreJavier Jardón2015-02-201-6/+0
|
* Regenerate config.{guess,sub} scriptsTiago Gomes2015-02-123-0/+12
| | | | | | | | | | | Some packages have old config.guess and config.sub scripts which don't recognize the aarch64-linux-gnu GNU triplet. For some cases, it is enough to do a `autoreconfig -if` to update those scripts. However, this approach cannot be used because when the configure scripts are not compatible with the current automake, autoheader, aclocal and friends; or when the project doesn't use automake at all (it has Makefile.in files, but not Makefile.am files). For those cases, we copy the system config.guess and config.sub scripts installed by automake.
* Update to libexpat 2.0.1Tiago Gomes2015-02-121-4/+3
| | | | | Also change the build system to cmake, as the autotools based one doesn't seem to work with the current automake version.
* Update to ncurses 5.9-20150131Tiago Gomes2015-02-121-1/+37
| | | | | | | | The new ref points to a tarball import which contains the machinery to build on aarch64. This commit also moves the contents of the ncurses-morph-postinstall.sh script to the chunk morph to avoid having a delta.
* strata/core: Use git and upgrade pkg-config to latest (0.28)baserock/jjardon/updated_autotoolsJavier Jardón2015-02-021-1/+1
|
* strata/core: Upgrade xz to latest stable (5.2.0)Javier Jardón2015-02-021-3/+0
|
* strata/core: Upgrade libtool to latest tarball version (2.4.5)Javier Jardón2015-02-021-2/+1
|
* strata/core: Use latest gettext tarball (0.19.4)Javier Jardón2015-02-022-9/+5
|