summaryrefslogtreecommitdiffstats
path: root/package/systemd
Commit message (Collapse)AuthorAgeFilesLines
* package/systemd: Respect BR2_TARGET_GENERIC_GETTY_BAUDRATECyril Bur2016-03-311-1/+6
| | | | | | | | | | Currently systemd getty services ignore baudrates set in buildroot in favour of a hardcoded 115200. This patch SEDs out that hardcoded value with what is selected. Signed-off-by: Cyril Bur <cyrilbur@gmail.com> Reviewed-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: fix build with libgcrypt enabledThomas Petazzoni2016-03-291-1/+2
| | | | | | | | | | | When gcrypt support is enabled, we need to tell systemd where libgpg-error is installed. Fixes: http://autobuild.buildroot.org/results/1fd6193ff33250565c95e53614f5aa7fc6f4581c/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2016-03-023-18/+107
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package/systemd: add optional support for quotacheckGabe Evans2016-02-292-0/+16
| | | | | | | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> [Thomas: rewrap Config.in help text.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: add optional support for bootchartGabe Evans2016-02-292-0/+16
| | | | | | | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> [Thomas: rewrap Config.in help text.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: add optional support for vconsoleGabe Evans2016-02-292-0/+14
| | | | | | | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> [Thomas: rewrap Config.in help text.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: add optional support for binfmtGabe Evans2016-02-292-0/+14
| | | | | | | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> [Thomas: rewrap Config.in help text.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: fix wrong capitalizationThomas Petazzoni2016-02-291-1/+1
| | | | | | | | | | Reported-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: remove networkd depends from timesyncdGabe Evans2016-02-291-1/+0
| | | | | | | | | | | | | | | | systemd-timesyncd can function without systemd-networkd. Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: explicitly --enable-microhttpdGabe Evans2016-02-291-0/+1
| | | | | | | | | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Thomas: fix commit title.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: add --enable/disable-libcurlGabe Evans2016-02-292-0/+8
| | | | | | | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: add --enable/disable-zlibGabe Evans2016-02-291-0/+7
| | | | | | | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: add --enable/disable-lz4Gabe Evans2016-02-292-1/+9
| | | | | | | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: add --enable/disable-bzip2Gabe Evans2016-02-291-0/+7
| | | | | | | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: remove BR2_PACKAGE_SYSTEMD_ALL_EXTRASGabe Evans2016-02-292-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The option was a bit misleading since it only selected additional libraries without --enable/disabling any features. Including all of them here would add a lot of bloat so instead, it is replaced with notes detailing which features each library enables. Signed-off-by: Gabe Evans <gabe@hashrabbit.co> [Thomas: - slightly tweak Config.in help text, as suggested by Arnout. - add Config.in.legacy handling for BR2_PACKAGE_SYSTEMD_ALL_EXTRAS, as suggested by Arnout.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * package/systemd: bump version to 229Gabe Evans2016-02-202-2/+2
| | | | | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | systemd: remove redundant configure optionsGabe Evans2016-02-141-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * --with-dbuspolicydir, --with-dbussessionservicedir, and --with-dbussystemservicedir are no longer needed since these are defaults in recent releases. * --disable-dbus has no effect when combined with --disable-tests. The option itself only applies to tests, not the runtime. Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | systemd: fix dbus activationGabe Evans2016-02-141-7/+1
|/ | | | | | | | | | | | | | | | | | | | Various DBus activated services fail to start with errors similar to: Unit dbus-org.freedesktop.hostname1.service failed to load: File exists. The message itself is rather vague and can be seen as a warning in systemd-networkd logs. Meanwhile, tools like hostnamectl don't work at all. The post-install target hook SYSTEMD_SANITIZE_PATH_IN_UNITS was replacing symlinks with duplicate files. The find command could have used -type f to avoid this but I instead chose to remove the hook since this fix doesn't seem to be needed anymore. Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: Bump versionMaxime Hadjinlian2015-11-242-2/+2
| | | | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: disable ldconfig through configure optionGabe Evans2015-11-031-7/+1
| | | | | | | Systemd v216+ includes a configure option to disable ldconfig. Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: bump to 227Maxime Hadjinlian2015-10-172-1/+3
| | | | | | | | | Added back the hash as it was discussed during the last Buildroot Dev Days. Signed-off-by Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* system: add options for /bin /sbin and /lib to be symlinks into /usrYann E. MORIN2015-10-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | systemd is increasingly expecting things to live in /usr/bin, /usr/sbin or /usr/lib nad not in /bin, /sbin or /lib. It has inherited those expectations from a Fedora change: https://fedoraproject.org/wiki/Features/UsrMove Note however, that systemd does support /usr being on a separate filesystem; it just expects an initramfs to mount it before the final switchroot over to the actual rootfs. But the traditional use-case for Buildroot is not to boot with an initramfs; although that is totally feasible, that's probably not what is commonly done in the vast majority of cases. However, a lot of packages still install stuff directly into /bin, /sbin or /lib, which systemd may need early-on in the boot process, even before it may have a chance to mount /usr. Even though we can tell systemd, at configure-time, where it should expect programs to be at runtime, it does not make sense to go head-first against an upstream wa^Hill. Add an option so that /bin, /sbin and /lib be symlinks to /usr/bin and /usr/sbin. That option is forcibly enabled when the init system is systemd. Note: we need not handle /lib32 or /lib64, as they already are symlinks to /lib, which means they will automatically be redirected to /usr/lib, as /usr/lib32 and /usr/lib64 already are. Furthermore, this means we're no longer supporting a split-usr setup, so the corresponding configure options have been removed as well for systemd and, when using a merged /usr, for eudev as well. In Buildroot, we decided (with this patch) not to support a split-usr when systemd is used as an init system. This is a design decision, not a systemd issue. Thus the select is with BR2_INIT_SYSTEMD rather than with BR2_PACKAGE_SYSTEMD. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Mike Williams <mike@mikebwilliams.com> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Cc: Baruch Siach <baruch@tkos.co.il> Tested-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: Bump version and change hostingMaxime Hadjinlian2015-10-142-5/+7
| | | | | | | | | | | | | | systemd seems to do its release using their github repository up from the 221 version. Since they use the auto generated release, we can't have a hash file. They don't provide the Makefile.in file in the 'po' directory. We need to run intltoolize so it's created for us. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Tested-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libgudev: New packageNathaniel Roach2015-08-251-1/+0
| | | | | | | | | | | | | | | | | | As libgudev recently was split from the main systemd/udev source, this library is now required to build certain packages. This library is only relevant to systemd, as the code it contains is still contained in eudev. [Thomas: - don't show the dependency comment when systemd is not available, since libgudev is anyway useless when you're not using systemd. - fix the license, it's LGPLv2.1+ and not GPLv2+ - remove useless empty lines in the .mk file.] Signed-off-by: Nathaniel Roach <nroach44@gmail.com> Tested-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: add option to enable kdbus supportRyan Barnett2015-07-132-0/+11
| | | | | | | | | In the future when the kernel offically supports kdbus, this option should automatically enable the kernel kdbus config option(s). Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com> Tested-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add missing dependenciesMaxim Mikityanskiy2015-07-131-0/+3
| | | | | | | | | | | | Systemd depends on mount and nologin from util-linux. Mount from busybox is not fine, because its behavior differs from util-linux mount. Busybox mount does not handle correctly 'mount / -o remount' (should apply options from /etc/fstab). Nologin should be present, because systemd-sysusers uses it as shell for newly created system users. Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Remove shell completion at finalize stageMaxime Hadjinlian2015-07-121-8/+0
| | | | | | | | | | | | Instead of doing a removal of the completion file package per package, do it all at the finalize stage so it's done once and for all. Note: This fixes an issue with systemd where passing a --bashcompletiondir or --zshcompletiondir would be evaluated to '.' by the autotools macro. This would create a 'target./' directory. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: fix some coding style issuesMaxime Hadjinlian2015-07-121-8/+7
| | | | | | | [Thomas: adjust commit title, some additioanl coding style fixes.] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: fix license according to README fileVicente Olivert Riera2015-06-301-2/+2
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/6e3/6e3dace5892a589225a93c896917833ebc8028f3 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: bump to version 221Vicente Olivert Riera2015-06-292-9/+3
| | | | | | | | | | | | | | | | | | | | | - Bump to version 221 - Update hash file - Add --disable-gnuefi to configure options to avoid a failure like this one: checking for /usr/lib/gnuefi/elf_ia32_efi.lds... configure: error: cannot check for file existence when cross compiling - Remove gudev logic since it has been removed from the systemd tree and it is now an external project. Announcement URL: http://lists.freedesktop.org/archives/systemd-devel/2015-June/033170.html Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* system: drop IPv6 depend for systemdGustavo Zacarias2015-04-221-1/+0
| | | | | | | The option is a non-option now and will be removed. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-1/+0
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: bump version to 219Vicente Olivert Riera2015-02-193-15/+4
| | | | | | | | | | | | | - Bump version to 219 - Update the hash file - Remove non-existent configure options - Adapt patch to make it apply on version 219 Packages depending on systemd (bluez5-utils, dbus, liblogging, pulseaudio) have been built successfully with this new version. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: install bash-completion files only with bashMaxim Mikityanskiy2015-01-261-0/+8
| | | | | | | | | | | | | | | | | package/systemd, package/kmod, package/util-linux: don't install bash-completion files if bash is not selected to be installed. Otherwise, install bash-completion files. package/systemd: don't install zsh-completion files is zsh is not selected to be installed. Otherwise, install zsh-completion files. package/util-linux: don't install empty /usr/share/bash-completion/completions directory if bash is not going to be installed, and install bash-completion files if bash is selected to be installed. Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* systemd: bump version to v218Vicente Olivert Riera2014-12-114-52/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trivial changes: - Bump version to v218 - Update the hash file Non-trivial changes: - Remove upstreamed patch The patch was added by this upstream commit: http://cgit.freedesktop.org/systemd/systemd/commit/?id=e6c019026b8cfd27a997e6e6ed1349f8f289b7e2 - Remove non-existent configure options --with-firmware-path option was removed by this upstream commit: http://cgit.freedesktop.org/systemd/systemd/commit/?id=be2ea723b1d023b3d385d3b791ee4607cbfb20ca --disable-tcpwrap option was removed by this upstream commit: http://cgit.freedesktop.org/systemd/systemd/commit/?id=7f8aa67131cfc03ddcbd31c0420754864fc122f0 - Select a required dependency libmount dependency was added by this upstream commit: http://cgit.freedesktop.org/systemd/systemd/commit/?id=8d3ae2bd4c9bf9fc2e57f7b3776325a1c750ca30 The error for not satisfying this required dependency looks like this: checking for MOUNT... no configure: error: *** libmount support required but libraries not found Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* 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>
OpenPOWER on IntegriCloud