summaryrefslogtreecommitdiff
path: root/strata/foundation
Commit message (Collapse)AuthorAgeFilesLines
* Add --enable-split-usr to systemd configurationBen Brown2016-05-041-0/+1
| | | | | | | | | | | | | | | systemd assumes /bin and /sbin are symlinks into /usr unless HAVE_SPLIT_USR is defined, and so does not append them (/bin and /sbin) to the PATH for spawned processes. Fixes trove-setup.service failing due to /sbin and /bin not being in PATH: TASK: [trove-setup | Change the hostname to HOSTNAME] ****************** failed: [localhost] => {"changed": true, "cmd": "hostname emon", "delta": "0:00:00.002074", "end": "2016-05-03 14:58:31.459438", "rc": 127, "start": "2016-05-03 14:58:31.457364", "warnings": []} stderr: /bin/sh: hostname: not found Change-Id: I6f4d49363554e8b55265027cff4b52b0f8689cc4
* Move libarchive to foundationJavier Jardón2016-04-041-0/+6
| | | | | | | Its a common dependency between gnome and genivi strata, also a optional one for the ostree stratum Change-Id: I19f5df84e1f10319d3a7268a9da729545d52fd55
* strata/foundation/systemd.morph: Remove workaround about strict mountsJavier Jardón2016-03-211-2/+0
| | | | | | | | | systemd uses libmount from util-linux now, it doesn't try to run the system's `mount` program directly any more. So we no longer need to hack it into working with Busybox's `mount`. Change-Id: I798635cba1407f96cdd66ecc36bd5958364edda1
* strata/foundation/systemd.morph: simplify systemd cofiguration a bitJavier Jardón2016-03-191-9/+8
| | | | | | | - xz is enabled by default - Use the default install directories, ie, /usr/lib and /usr/bin Change-Id: I038113fcbf0288703fbb06cc4b64b34d09d8fc72
* strata/foundation/systemd.morph: Remove workaround to configure the shellJavier Jardón2016-03-191-1/+0
| | | | | | | This doesnt seem to be needed: the service file is configured correctly to use '/bin/sh' even without using this workaround Change-Id: I8cb9ff567c5e1b3f75a3101a958f5421ed87d571
* Use integration commands to enable opensshd serviceJavier Jardón2016-03-181-3/+6
| | | | | | | So the location of the service files is not harcoded in /lib/systemd/system Change-Id: Ifa771678b11391a5759f370805b8b23b043042e4
* strata/foundation/systemd.morph: Move some stuff to post-install-commandsJavier Jardón2016-03-161-3/+1
| | | | Change-Id: Ifa0b08168ed9910a7c405f1fee076fc7d51cc205
* strata/foundation/systemd.morph: Do not build compat librariesJavier Jardón2016-03-141-1/+1
| | | | | | | Nothing should depend on them anymore (As a reference, Arch systems dont include them anymore) Change-Id: I0b74bff2968b388bbd797ca626ffa2ac65a09fff
* strata/foundation: Update libgcrypt to 1.5.5Javier Jardón2016-03-011-0/+5
| | | | | | | | Minor upgrade (we currently use 1.5.4) to fix: - CVE-2015-7511 - CVE-2014-3591 Change-Id: Idf138a5e8369fcb23f136c56e0eee500f6b9969f
* Build systemd with --enable-compat-libsTristan Van Berkom2015-10-121-1/+1
| | | | | | | This enables building of libsystemd-daemon, which is a requirement for the new xserver to build. Change-Id: I6ee2305a960e33d922fe5c120c662ce8344d1af5
* Build OpenSSH --with-pamTristan Van Berkom2015-10-121-1/+2
| | | | | | Using PAM is the preferred authentication with logind Change-Id: I734bc56db2cd545a4921f4289902204658be7431
* strata/foundation.morph: Upgrade systemd to v225Javier Jardón2015-09-141-9/+0
| | | | | | | | | | Also: - Remove --disable-gudev, as it has been removed upstream - Hack for units/user@.service.m4.in is not needed anymore as it has been solved in 58ea275a68cd242ad60161bcb7582614d1d89f13, with the introduction of the KillMode=mixed Change-Id: I21024c56c5714ce0f9009d2825a90b0dc79b7db5
* Reformat all definitions according to a consistent styleSam Thursfield2015-07-192-3/+3
| | | | | | | | | | | | | | | | | 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
* fuse.morph: simplify morphologyJavier Jardón2015-06-091-2/+1
| | | | Change-Id: Ia283e3d4aa5b09f388d16d271fd308f129d523fa
* Use unbundled version of gudev instead of the version bundled with systemdJavier Jardón2015-06-051-0/+1
| | | | | | | | gudev now lives in a different repository and will be removed soon from the systemd tree This also means systemd no longer depends on GLib. Change-Id: I316945cb17f3d41b7f4e4693fa645b0acdf03fac
* Move libffi.morph to strata/core/Javier Jardón2015-06-011-8/+0
| | | | Change-Id: I6bd38c933bcb86376a31fb36a6e40d2bd156822d
* btrfs-progs.morph: workaround to fix compilation when compiling for armv5lJavier Jardón2015-05-271-1/+3
| | | | | | | | | | | | This is the error this patch fixes: [CC] cmds-filesystem.o /tmp/ccxlOOZV.s: Assembler messages: /tmp/ccxlOOZV.s:4983: Error: invalid operands (.text and *UND* sections) for `-' Makefile:149: recipe for target 'cmds-filesystem.o' failed make: *** [cmds-filesystem.o] Error 1 Change-Id: I336c28a0ec57ec37d577c58d44dade3c37607fe1
* Upgrade dbus to 1.9.16James Thomas2015-05-221-1/+1
| | | | | | We can also now use enable-user-session to ensure users have a dbus session Change-Id: I80c174d9ef9ea7d848c2828ae03934c6bdb2c8c4
* Move e2fsprogs from foundation to core stratumJavier Jardón2015-05-191-22/+0
| | | | | | | | So cross- systems doesnt depend on the whole foundation (cross- systems include morph, which depends on ostree, wich depends on e2fsprogs) Change-Id: I77918e2a2a66e9bd7c8ce77d2447e390d192a1c8
* Update to btrfs-progs 4.0Tiago Gomes2015-05-151-4/+5
| | | | Change-Id: I1a3c6c9308c79ee81b74c15aee40bffdca312736
* Configure shadow to work with PAM.Pedro Alvarez2015-05-071-0/+5
| | | | | | | | | | | | | 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
* Update libgpg-error to latest release (1.19)Javier Jardon2015-04-291-0/+7
| | | | | | This release fixed problems when compiling with GCC 5.1 Change-Id: I7c5f3f97cb124980eb04cca23bcf6cb5199e9d77
* Configure systemd to support user instancesJonathan Maw2015-04-291-1/+13
| | | | | | | | | This involves: * A workaround to user@.service being shut down prematurely. * Fixing a systemd unit using 'kill' from a path that doesn't necessarily exist. Change-Id: Iacad155da9752313a2e4bbaae34a3e593d6ecc1b
* Fix linux-pamJonathan Maw2015-04-294-45/+0
| | | | | | | | | | | | | | | | 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
* systemd: disable building of testsRichard Maw2015-04-131-3/+5
| | | | Change-Id: I9e0df7e0617d56af0ea827e3a1c4c37d3a1bbad2
* Be explicit with make command in acl.morphPaul Sherwood2015-04-121-0/+2
| | | | Change-Id: I6e86553520f1ef7de14d8b58bdf4141cda1db9b7
* Create kmod symlinks in sbinFrancisco Redondo Marchena2015-04-081-9/+39
| | | | | | | | | | | iSCSI kernel modules and open-iscsi expect modprobe and the rest of the module kernel utils to be in /sbin. This patch create the links in /sbin instead of /bin if /sbin is not a symlink of /usr/bin; if it is a symlink it will create the links in /usr/bin. Also it installs kmod in "$PREFIX" instead of / Change-Id: I89226d0ee7956e294caa66d60101a35daeccf9a1
* Enable python bindings in KmodFrancisco Redondo Marchena2015-04-071-1/+1
| | | | | | | | This enables kmod python bindings required for iscsi tools. Enabling python in the kmod chunk requires cython for compiling so cython is moved to core.morph. Change-Id: Ic394d75f801efcb0be1e4ec17d9bc907f9d086a0
* Don't install systemd units as executableSam Thursfield2015-03-311-1/+1
| | | | | | | | systemd warns about executable unit files. E.G. "Configuration file /usr/lib/systemd/system/rsync.service is marked executable. Please remove executable permission bits. Proceeding anyway." Change-Id: I47721d7a78d6bbe87ebc171ff9b35db293d37e23
* Move rsync to 'foundation' stratumbaserock/sam/rsync-to-foundationSam Thursfield2015-03-111-0/+9
| | | | | Our default upgrade process requires 'rsync'. So it needs to be in all systems, not just those that happen to contain the 'tools' stratum.
* Upgrade attr version and remove DESTDIR hackPedro Alvarez2015-03-051-10/+14
| | | | | | | | | | This chunk was installing things in $DESTDIR$DESTDIR. For some reason when creating the artifact morph ignores this error and creates the artifact successfully, but some paths in files installed by attr were wrong because they were including $DESTDIR on it: # grep attr.inst /usr/lib*/libattr.la libdir='/attr.inst/usr/lib64'
* Install e2fsprogs binaries such as mkfs.ext* and fsck.ext*Sam Thursfield2015-02-251-2/+3
| | | | | | | | | | Commit 57ce68fea03e8985888ab2a875f5efbc79d7b07a changed the install command from `make install` to `make install-libs`. Since then systems have been missing mkfs.ext4 and other important tools. Also, don't disable fsck.ext*. No other component provides these programs, and they are needed to check for disk errors on 'ext' formatted disks.
* strata/foundation/systemd.morph: Allow multiple threads when buildingbaserock/jjardon/systemd219Javier Jardón2015-02-191-1/+0
|
* Remove temporary file which was added accidentallyPedro Alvarez2015-02-131-28/+0
|
* Merge branch 'baserock/pedroalvarez/systemd-v218'Pedro Alvarez2015-02-121-0/+28
|\ | | | | | | | | Reviewed-by: Javier Jardon <jjardon@gnome.org> Reviewed-by: Sam Thursfield <sam.thursfield@codethink.co.uk>
| * Upgrade systemd to v218 to get bug fixesPedro Alvarez2015-02-121-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trove-setup uses `systemctl enable` and it wasn't working for template units (in this case the minion services). With this upgrade we fix the Trove deployments. Also some users have found some problems with the 'systemd-journald' service, which starts logging before the system mounts the '/var' subvolume. This upgrade is supposed to fix that as well. Systemd v218 had an important bug: ~ # ssh localhost Connection closed by ::1 Which was dropping this error in the systemd journal: Assertion 'canonical' failed at src/nss-myhostname/nss-myhostname.c:204, function fill_in_hostent(). Aborting. This bug was fixed upstream in the commit 3fdcecc87eb381ef300719e419d5863dd8a64a97 and it's also been included in this upgrade.
* | Regenerate config.{guess,sub} scriptsTiago Gomes2015-02-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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 btrfs-progs v3.18.2Tiago Gomes2015-02-123-2/+27
| | | | | | | | acl and e2fsprogs are new dependencies of btrfs-progs.
* | Update to groff 1.22.3Tiago Gomes2015-02-121-0/+2
|/
* Fix error in linux-pam when try to run sudo commandbaserock/franred/fix-pam-sudo-errorFrancisco Redondo Marchena2015-02-111-0/+13
| | | | | | | | | | sudo command in an openstack system fails with the following error message: # sudo -u neutron echo sudo: unable to initialize PAM: No such file or directory Adding the "other" file in /etc/pam.d fixes this error.
* Add time-zone-database to foundationSam Thursfield2015-02-041-0/+10
| | | | | | | | This increases the size of each system by about 3MB. It allows Baserock systems to convert local time values between different timezones, and is useful for all systems with users who want to be able to manage their system time relative to a certain timezone.
* Add comment to configure commandbaserock/richardipsum/lspci-fix-v2Richard Ipsum2015-01-221-1/+1
| | | | | At first glance this might seem redundant since the makefile defaults to share/man if the directory is already present
* Quote variablesRichard Ipsum2015-01-221-2/+2
|
* Pass PREFIX to makeRichard Ipsum2015-01-221-4/+4
| | | | Makes lpsci look in the right place for the pci.ids file
* Temporary Networkd fix to configure DHCP also in eth* interfacesbaserock/pedroalvarez/networkd-conf-fixPedro Alvarez2014-12-101-1/+1
| | | | | | | | | We assumed that the ethernet interfaces always were going to be called en* (e.g. ens3) when using the new version of systemd (v217), but sometimes these interfaces can be called eth* (e.g. eth0). If this happens the current configuration is not enough. This patch is to enable DHCP also in eth* interfaces.
* systemd.morph: Configure network using systemdJavier Jardón2014-11-171-2/+9
|
* Build systemd v217Javier Jardón2014-11-171-1/+1
|
* Move coreutils to its own stratumJavier Jardón2014-11-111-9/+0
|
* Bison depends on help2manJavier Jardón2014-09-151-9/+0
| | | | | | Move help2man to core as bison depends on it; the attempt to create manpages without help2man turns from no-op to hard error since automake 1.13
* Re-organise definitions with scripts/organise-morphologies.pyGENIVI-I0.1baserock/release/GENIVI-I0.1Richard Maw2014-08-1816-0/+176