summaryrefslogtreecommitdiffstats
path: root/package/systemd
Commit message (Collapse)AuthorAgeFilesLines
* systemd: bump version to v217Vicente Olivert Riera2014-11-143-29/+19
| | | | | | | | | - Bump version to v217 - Add a hash file - Adapt the needed patches Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: Properly define the __NR_memfd_create macro for MIPSVicente Olivert Riera2014-11-071-0/+60
| | | | | | | | | | | | | | | | This is an upstream patch which has been applied to the master branch and I have adapted it to make it apply to the v216 version. v217 is not fixed. This patch can be removed when we bump to v218. Upstream commit: http://cgit.freedesktop.org/systemd/systemd/commit/?id=e6c019026b8cfd27a997e6e6ed1349f8f289b7e2 Fixes: http://autobuild.buildroot.net/results/596/59617a822fb2c8961881dd78a0dc8e41bdb14ede/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: rename patches to follow the new name structureVicente Olivert Riera2014-11-073-0/+0
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "package/libcap: Fix build error with kernel headers < 3.6"Thomas Petazzoni2014-10-281-1/+0
| | | | This reverts commit a759931c9b0cb4337dc30fd35d03ce123271c5a4.
* package/libcap: Fix build error with kernel headers < 3.6Bernd Kuhls2014-10-271-0/+1
| | | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/cce/cceb1ccacec36fb7ef41bb7cdb13b3014813b599/ XATTR_NAME_CAPS appears in kernel headers since 3.7: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/include/uapi/linux/xattr.h?id=v3.7 Before it was an internal define of the kernel: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/linux/xattr.h?id=607ca46e97a1b6594b29647d98a32d545c24bdff Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: add input groupGustavo Zacarias2014-10-221-0/+1
| | | | | | | | It's used by 50-default-udev.rules for input-class devices. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* infra: Remove --disable-gtk-doc from packages, already defined in ↵Bernd Kuhls2014-10-191-1/+0
| | | | | | | | pkg-autotools.mk Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/.mk files: remove --localstatedir=/var from autotools packagesJörg Krause2014-10-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Remove --localstatedir=/var from all autotools packages where it is no longer needed. Also remove --localstatedir=/var/lib/dhcp from package dhcp. localstatedir is used by dhcp to set the default directory for the leases files. This can also be done by setting --with-*-lease-file=/var/lib/dhcp/*, which is done in dhcp.mk. A custom --localstatedir is left in: * proftpd.mk * mysql.mk This is safe to do: One of the good thing with autoconf is that if you pass: --localstatedir=/var ... --localstatedir=/var/something Then /var/something will be used. So, we can set --localstatedir=/var by default in the infrastructure, and still have certain packages doing weird things override it. [Thanks to Thomas Petazzoni] Signed-off-by: Jörg Krause <jkrause@posteo.de> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: check BR2_TARGET_GENERIC_GETTYAndré Erdmann2014-10-121-0/+2
| | | | | | | | | Do not create a [serial-]getty link if BR2_TARGET_GENERIC_GETTY is not set. Might be useful for custom setups (rootfs overlay). [Peter: use BR2_TARGET_GENERIC_GETTY_PORT to match the code below] Signed-off-by: André Erdmann <dywi@mailerd.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/systemd: fix getty setupAndré Erdmann2014-10-121-2/+14
| | | | | | | | | | | | | | | | | | | | | | When trying to run a buildroot system configured with BR2_TARGET_GENERIC_GETTY_PORT="tty1" (x86_64), the boot process hangs with the following message: "A start job is running for dev-tty1.device (<time> / 1min 30s)" Replacing /etc/systemd/system/getty.target.wants/serial-getty@tty1.service (linking to serial-getty@) with getty@tty1.service (-> getty@) fixes the issue. This patch adds a check that "detects" the tty type by removing digits at the end of BR2_TARGET_GENERIC_GETTY_PORT and comparing the resulting base name. An instance of getty@service gets created if the name matches "tty", otherwise serial-getty@ gets instantiated (as before). So, tty1,tty2,... are created as links getty@tty1.service -> getty@, while ttyS0, ttyAMA0, ... are created as instances of serial-getty@. [Peter: simplify logic] Signed-off-by: André Erdmann <dywi@mailerd.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-18/+18
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTSThomas De Schampheleire2014-10-041-2/+2
| | | | | | | | | | | | | | | | | | | | | While the autotools infrastructure was using FOO_MAKE_OPT, generic packages were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem when a new infrastructure is introduced that wants to make use of FOO_MAKE_OPT(S), and can live alongside either generic-package or autotools-package. The new infrastructure will have to choose between either OPT or OPTS, and thus rule out transparent usage by respectively generic packages or generic packages. An example of such an infrastructure is kconfig-package, which provides kconfig-related make targets. The OPTS variant is more logical, as there are typically multiple options. This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS. Sed command used: find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: make libseccomp usage deterministicJérôme Pouiller2014-09-231-0/+7
| | | | | | | [Thomas: fix minor typo in commit title.] Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: bump to version 216Eric Le Bihan2014-09-163-170/+3
| | | | | | | | | | | | Bump systemd to version 216. This new version provides two new tools to manage the journal (systemd-journal-upload and systemd-journal-remote) which resulted in the addition of new users. Also remove backported patches. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: fix endian detection for powerpcPeter Korsgaard2014-08-312-0/+169
| | | | | | | | | | Fixes http://autobuild.buildroot.net/results/d53/d5305af6e47da7a577e391c96328ca952c149cd1/ Apply two patches from upstream git to fix powerpc endian detection. These patches are already part of systemd v216, so they should be dropped when the package is bumped. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: disable link time optimizationEric Le Bihan2014-08-151-0/+3
| | | | | | | | | | | | | | As reported in https://bugs.busybox.net/show_bug.cgi?id=7286, systemd fails to build with BR2_OPTIMIZE_2=y. This mode activates the GCC options -flto and -ffat-lto-objects, which do not mix well with the GCC tricks used in src/compat-libs/linkwarning.h to build the compatibility libraries. As a temporary workaround, this patch disables link time optimization for systemd. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: add hook to disable ldconfig.serviceEric Le Bihan2014-07-261-0/+7
| | | | | | | | | | | | | | Since version 215, systemd installs a service to execute /sbin/ldconfig when the sysinit target is reached. Unfortunately, /sbin/ldconfig is not installed on a target built using a glibc-based toolchain. As this service is not mandatory, it is now disabled, thus avoiding a warning in the journal. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: bump to version 215Eric Le Bihan2014-07-262-63/+26
| | | | | | | | | Bump systemd to version 215. Also refresh the patch reverting the use of `ln --relative`. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: install timesync service if selectedEric Le Bihan2014-07-181-0/+6
| | | | | | | | If support for systemd-timesyncd is selected, install the associated service. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: bump to version 214Eric Le Bihan2014-07-183-36/+10
| | | | | | | | | | | | | | | | | This patch bumps systemd to version 214. Changes: - add new users: systemd-bus-proxy, systemd-network and systemd-resolve. - remove gtk-doc patch, as it is no longer needed. - remove attr dependency (extended attributes functions are provided by glibc). - enable nss-myhostname, so local hostname changes are properly handled. - add hook to install symlink to resolv.conf when using systemd-networkd. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: fix path for kmod in service filesEric Le Bihan2014-07-151-0/+4
| | | | | | | | | | | The path for kmod used in kmod-static-nodes.service is the one found by the ./configure script, which ends up being the path to the host kmod program. This patch forces the path to the target kmod program. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: rework network/tty units installationEric Le Bihan2014-06-291-18/+17
| | | | | | | | | | The installation of the network.service and serial-getty.service unit files are now performed via the <pkg>_INIT_SYSTEMD mechanism instead of an installation hook. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: add network unit fileIvan Sergeev2014-06-142-0/+33
| | | | | | | | | | | | Add and enable a systemd unit file to bring up or down network with ifup / ifdown, analogous to the skeleton/etc/init.d/S40network init script. Signed-off-by: Ivan Sergeev <vsergeev@kumunetworks.com> [eric.le.bihan.dev@free.fr: - rebase - install service only if systemd-networkd is not selected] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: fix AM_PATH_LIBGCRYPT not foundEric Le Bihan2014-06-131-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | This patch installs a copy of libgcrypt.m4 from the libgcrypt source tarball to systemd m4 directory. Libgcrypt uses a custom m4 macro and not pkg-config to check if the development files are available. Though libgcrypt support is optional in systemd, this macro should be available whenever autoreconf is used, otherwise the re-configuration will fail with: configure.ac:616: warning: macro 'AM_PATH_LIBGCRYPT' not found in library The call to autoreconf is required, as it is needed by the patch which solves the `ln --relative` issue. As asking the user to install the development package of libgcrypt on the host machine or adding libgcrypt as a build dependency to systemd is not acceptable, the required file is added to the m4 directory. Fixes: http://autobuild.buildroot.net/results/1524d346fa17749e2ae62e063b9cfdd0de95c76a/ Fixes: http://autobuild.buildroot.net/results/10bcd92437eaa27eb61f8281c93efcb53d555e35/ Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: add SMACK support option.Eric Le Bihan2014-06-082-0/+27
| | | | | | | | | | | A new configuration option is available in systemd menu, to enable support for SMACK. For this feature to properly work, systemd requires attr (build dependency, also used for other features) and smack (runtime dependency). Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: bump to v213Eric Le Bihan2014-06-084-30/+92
| | | | | | | | | | | | | | | | | | | | This patch bumps systemd to v213. This new version introduces systemd-timesyncd, a SNTP daemon. This feature can be enabled if systemd-networkd is selected via the configuration menu. It is a simple alternative to ntpd, useful for machines without a RTC. The patch for reverting the use of --relative option when calling `ln` has been refreshed, as the configure script now checks if `ln` supports the --relative option and fails if it does not. Another patch for the proper deactivation of gtk-doc has been added. All these steps now require an autoreconf. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2014-06-011-1/+2
|\ | | | | | | | | | | | | Conflicts: package/gdb/Config.in.host Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * powerpc: add powerpc64 and powerpc64le supportCody P Schafer2014-05-261-1/+2
| | | | | | | | | | | | | | | | | | | | This enables powerpc64 and powerpc64le. Currently, le needs at least glibc 2.19 and gcc 4.9.0. For gdb, 7.7.1 works (added in an earlier patch). [Peter: also disallow gcc 4.8 for ppc64le] Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | packages: make providers declare what they provideYann E. MORIN2014-05-211-0/+2
|/ | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.org/results/285/2851069d6964aa46d26b4aabe7d84e8c0c6c72ce http://autobuild.buildroot.net/results/9b7/9b7870354d70e27e42d3d9c1f131ab54706bf20e [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: add option to enable compatibility libsEric Le Bihan2014-04-162-0/+19
| | | | | | | | | | | | | | | | | | | | Since systemd 209, some libraries have been merged into libsystemd.so: - libsystemd-daemon.so - libsystemd-id128.so - libsystemd-journal.so - libsystemd-login.so A new configuration menu entry has been added to enable the installation of compatibility pkg-config files, so that programs that depend on them can still be built. [Thomas: as suggested by Yann during the review, add an else clause with --disable-compat-libs.] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: revert use of ln relative option.Eric Le Bihan2014-04-041-0/+115
| | | | | | | | | | | | Systemd build system now uses the `--relative` option from `ln(1)`. This option was added to GNU coreutils 8.16, which is not widely deployed yet by GNU/Linux distributions (not available in Debian Wheezy for example). Fixes: http://autobuild.buildroot.net/results/354/3546c003a8fcbb36ef5ba29c00a96e473b927ecb/ Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: enable build for supported architectures.Eric Le Bihan2014-03-291-1/+8
| | | | | | | | | | | | Systemd only supports the architectures defined in src/shared/architecture.h. So via a new parameter named BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS, we enable the build of this package only for those architectures. Fixes http://autobuild.buildroot.net/results/bcc/bcce95eb0748505c0d62db21a6e420aae3c3181b/ Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: bump to version 212.Eric Le Bihan2014-03-273-205/+11
| | | | | | | Also adjust the license details and refresh patches. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: bump to version 210.Eric Le Bihan2014-03-175-42/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch bumps systemd to version 210. Systemd 209 introduced some majors changes, which generated a lot of feedback and bugfixes. This lead to version 210 a few days later. Notable changes in 210: - dropped dependency on libdbus in favor of internal sd-bus library. - experimental support for kdbus. - introduction of systemd-networkd, a simple network configuration manager. - merge of libsystemd-*.so libraries into libsystemd.so. - changes in Gudev API. See NEWS file in the tarball for an exhaustive list. Changes introduced by this bump: - new configuration menu entry to enable systemd-networkd, which is an alternative to ISC dhcp and dhcpcd. - remove EFI patch for version 208. - update of the getty unit patch. - new patch to remove the *.service files accidentally shipped in the official tarball (contain some invalid hardcoded paths) and force their re-generation. [Peter: add a note that dbus is only a runtime dependency now] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: bump to v208.Eric Le Bihan2014-03-122-1/+30
| | | | | | | | This version bump comes with a patch, backported from v209, to fix a linker error when EFI support is disabled. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: fix license infoGustavo Zacarias2014-03-021-1/+1
| | | | | | | | File is LICENSE.GPL2, not LICENSE.GPLV2, fixes: http://autobuild.buildroot.net/results/e6c/e6c4dc22c014e62ce35273945a2a2307315ec3f7/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: add missing host-gperf dependencyThomas Petazzoni2014-03-021-1/+2
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/910/91010b43e63b82e050046b8f10c2c42f31a8a620/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: ditch autoreconfGustavo Zacarias2014-03-011-2/+0
| | | | | | | | It needs AM_PATH_LIBGCRYPT and will bail out if ALL_EXTRAS (libgcrypt) isn't around - and it doesn't seem to be used at all. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2014-02-285-179/+144
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile package/dmraid/Config.in package/gdb/Config.in.host package/linux-headers/linux-headers.mk package/python/python.mk package/python3/python3.mk package/rt-tests/Config.in package/sdl/sdl.mk package/systemd/systemd-01-fix-getty-unit.patch package/systemd/systemd-02-fix-page-size.patch package/systemd/systemd-03-uclibc-fix.patch package/udev/Config.in package/udisks/Config.in package/vlc/vlc.mk system/Config.in Quite some merge conflicts, hopefully I didn't screw up anything. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * systemd: enable required kernel features.eric.le.bihan.dev@free.fr2014-02-251-2/+14
| | | | | | | | | | | | | | | | | | When systemd is chosen as init system, the required kernel features are enabled. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * udev: update udev to new virtual package infra.eric.le.bihan.dev@free.fr2014-02-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | The udev virtual package and its current providers (eudev and systemd) have been updated to use the latest version of virtual package infrastructure. A provider should now select BR2_PACKAGE_HAS_UDEV and well as set a value for BR2_PACKAGE_PROVIDES_UDEV. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * systemd: fix sed line in "sanitize path in units" hookIvan Sergeev2014-02-151-1/+1
| | | | | | | | | | | | | | | | The expanded SED variable already contains -e, so the extra -e was being interpreted as the sed command and causing sed to fail. Signed-off-by: Ivan Sergeev <vsergeev@kumunetworks.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * systemd: bump to v207eric.le.bihan.dev@free.fr2014-02-125-154/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch bumps systemd to v207 but also declares it as a provider for the udev virtual package. Starting with systemd 183, udev has been merged into systemd. The udev daemon is now installed as /lib/systemd/systemd-udevd. This means that /dev management using udev is only available if systemd is chosen as init system. When configuring systemd, the following options are available: - activation of systemd-journal-gatewayd, to access the journal via HTTP. - activation of extra features like journal compression and sealing. Support for uClibc has also been removed because: - upstream has no interest in supporting uClibc. - using a shrinked libc brings no advantage, given the size of all the programs included in Systemd. So using glibc does not matter. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * udev: convert to virtual packageeric.le.bihan.dev@free.fr2014-02-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch converts udev to a virtual package. For the moment, there is only one provider for the udev features: eudev. Packages meant to provide udev-like features must select the symbol BR2_PACKAGE_HAS_UDEV. Packages depending on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV or BR2_PACKAGE_UDEV have been converted to use the new symbol. [Peter: move legacy symbols under 2014.05] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | systemd: fix build with uClibc toolchainsThomas Petazzoni2014-02-134-19/+46
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the build of systemd is broken with the internal toolchain backend, because we have uClibc patches that add support for execvpe(), but we also have a patch for systemd that adds execvpe(), which was added when the internal uClibc didn't support execvpe(). However, simply dropping the patch is not a solution, as it would break the build of systemd with any other uClibc than the ones built with Buildroot. For example, a Crosstool-NG uClibc toolchain would fail. Beyond this execvpe() problem, there are also other problems that prevented systemd from being built with unpatched uClibc. This patch does the following: * Add sequence numbers of systemd patches. * Regenerate them to avoid fuzz. * Improve the uClibc compatibility patch so that it: - Detects whether execvpe() is available or not, and if not available provide an implementation. - Detects if dup3() is available or not, and if not available provide an implementation. - Detects if MSG_CMSG_CLOEXEC is defined or not, and if not, define it to the appropriate value. This has been tested with uClibc internal toolchain, uClibc external toolchain built with Buildroot, uClibc external toolchain built with Crosstool-NG, and glibc external toolchain. Fixes bug #6776. Fixes: http://autobuild.buildroot.org/results/591/591c6055430da334bd1e46e7d01497add45da837/build-end.log http://autobuild.buildroot.org/results/e58/e5851939d2837d4e35a4c1d9ca6df3c93ed5a34b/build-end.log http://autobuild.buildroot.org/results/92e/92e4c40c69a3feb4046b2fe5a0d8c69d5a44a157/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comment dependency on udev /dev managementThomas De Schampheleire2013-12-191-1/+1
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: Replace busybox' binaries only if applicablePaul Cercueil2013-12-171-1/+4
| | | | | | | | Previously, the package would overwrite busybox' binaries even if Busybox was set in the config as the default init system. Signed-Off-By: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: add missing dependencies to toolchain option commentsThomas De Schampheleire2013-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: add license informationPhil Eichinger2013-10-221-0/+2
| | | | | Signed-off-by: Phil Eichinger <phil@zankapfel.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud