summaryrefslogtreecommitdiffstats
path: root/package/systemd
Commit message (Collapse)AuthorAgeFilesLines
* package/systemd: fix "Timed out waiting for device /dev/console."Xavier Ruppen2019-03-041-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | Buildroot built with systemd fails to open a login prompt on the serial port when /dev/console is specified as BR2_TARGET_GENERIC_GETTY_PORT (which is its default value): systemd[1]: dev-console.device: Job dev-console.device/start timed out. systemd[1]: Timed out waiting for device /dev/console. systemd[1]: Dependency failed for Serial Getty on console. systemd[1]: serial-getty@console.service: Job serial-getty@console.service/start failed with result 'dependency'. systemd[1]: dev-console.device: Job dev-console.device/start failed with result 'timeout'. systemd[1]: Reached target Login Prompts. systemd[1]: Reached target Multi-User System. According to this issue on Github [1], serial-getty@.service should not be instantiated on /dev/console, console-getty@.service should be used instead. This stems from the fact that there should be no dependency on /dev/console. [1] https://github.com/systemd/systemd/issues/10914 Signed-off-by: Xavier Ruppen <xruppen@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Peter: drop SERVICE variable as suggested by Yann] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/systemd: add upstream security fixesBaruch Siach2019-02-262-0/+247
| | | | | | | | | | CVE-2019-6454: systemd (PID1) crash with specially crafted D-Bus message from unprivileged user Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/systemd: fix build with older kernelsFabrice Fontaine2019-02-244-0/+133
| | | | | | | | | | | | These 4 patches have been sent upstream and merged in version 241: https://github.com/systemd/systemd/pull/11641 Fixes: - http://autobuild.buildroot.org/results/970b09e1d49b53dff12a07ca4ad424ef9dd29a69 - http://autobuild.buildroot.org/results/0a671b08d5e74ff0b04024e729c498c4444e3e92 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: Remove instance name usage in a non-template unit fileGervais, Francois2019-02-201-1/+1
| | | | | | | | | | | | | console-getty.service is not a template unit file (it doesn't have the @ specifier), so %I doesn't get properly expanded in it. Thus, getty startup will fail due to invalid options and no getty prompt is launched on the console. Fixes: No getty prompt on boot Signed-off-by: Francois Gervais <fgervais@distech-controls.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/systemd: add optional bash-completion dependencyFabrice Fontaine2019-02-101-0/+1
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: add optional cryptsetup dependencyFabrice Fontaine2019-02-101-1/+7
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: add optional valgrind dependencyFabrice Fontaine2019-02-101-0/+7
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: set vconsole support option to default yDavid J. Fogle2019-02-061-0/+1
| | | | | | | | | | | | | | | | | | Without support for vconsole, systemd will abruptly kill anything spawned on the console, thus preventing users from loging in from the console, effectively locking them out if the target does not have another mean of logging in (no sshd, no serial line...) We fix that by making support for vconsole default to y, since logging in from the console if more frequent than not. Users can still de-activate it when they know they don't need it. Note that logging from a serial line is not impacted, and still works whether vconsole is enabled or not. Signed-off-by: David Fogle <david.j.fogle@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: fix build on mips32Fabrice Fontaine2019-02-041-0/+116
| | | | | | | | | Fixes: - http://autobuild.buildroot.org/results/e484bc976266633029b26c8e21959ae4e9137da3 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Titouan Christophe <titouan.christophe@railnova.eu> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: add optional iptables dependencyFabrice Fontaine2019-02-041-0/+7
| | | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: add upstream fix for CVE-2018-16865James Hilliard2019-01-163-0/+250
| | | | | Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/systemd: add upstream fix for CVE-2018-16864James Hilliard2019-01-161-0/+205
| | | | | Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/systemd: fix build with older kernelsFabrice Fontaine2019-01-125-0/+206
| | | | | | | | Fixes: - http://autobuild.buildroot.org/results/699c078aa078240c6741da4dbd0871450ceeca92 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: fix build on toolchain without C++James Hilliard2018-12-301-0/+60
| | | | | | | | This is a backport from upstream. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: bump to v240Adam Duskett2018-12-267-259/+6
| | | | | | | | | | | | | | | | | | In addition: - Remove unused option -Dkill-path. (See commit 9a85778412fa3e3f8d4561064131ba69f3259b28) - Change option -Dmyhostname to -Dnss-myhostname. - Remove patches from upstream. - Update hash of README file. The changes are unrelated to licensing. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Tested-by: Jérémy Rosen <jeremy.rosen@smile.fr> [Thomas: update the hash of the README file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: fix build with gcc <= 4.7Fabrice Fontaine2018-11-291-0/+34
| | | | | | | | | | | | | | | | | | | | | | Pass -Werror=shadow in args of cc.compiles in meson.build otherwise test will always succeed, causing -Werror=shadow to be passed, even on older gcc versions. GCC 4.8 changed the behaviour of -Werror=shadow to no longer complain about local variable declariations shadowing functions, which systemd has. From the changelog: The option -Wshadow no longer warns if a declaration shadows a function declaration, unless the former declares a function or pointer to function, because this is a common and valid case in real-world code. https://www.gnu.org/software/gcc/gcc-4.8/changes.html Fixes: - http://autobuild.buildroot.org/results/ffd71c473d3b29618c18cd2e04705370266696f2 [Peter: extend commit message, add gcc 4.8 link] Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/systemd: needs glibcYann E. MORIN2018-11-222-13/+1
| | | | | | | | | | | | | | | | | | | | Since version v239, systemd-nspawn unconditioanlly uses prlimit(2), which is not implemented in uClibc-ng. systemd-nspawn can not be disabled. This makes systemd glibc-only again. After a bit of discussion with upstream (om IRC), it looks very improbable that they accept a patch making systemd-nspawn optional. They would probably consider a patch that provides that syscall wrapper if it is missing, though, but that's less trivial... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Waldemar Brodkorb <wbx@openadk.org> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Peter Korsgaard <peter@korsgaard.com> Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/systemd: explicitly configure split-usr=false and split-bin=trueAlexander Sverdlin2018-11-111-0/+2
| | | | | | | | | | | | | | | | | | | | meson-based build of systemd runs a couple of checks on the structure of the *host* system which will incorrectly configure systemd if build host configuration doesn't match Buildroot target. One can also find the following in the NEWS file: * A new -Dsplit-bin= build configuration switch may be used to specify whether bin and sbin directories are merged, or if they should be included separately in $PATH and various listings of executable directories. The build configuration scripts will try to autodetect the proper values of -Dsplit-usr= and -Dsplit-bin= based on build system, but distributions are encouraged to configure this explicitly. Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: Add upstream patch to fix CVE-2018-15688Bernd Kuhls2018-10-301-0/+30
| | | | | | | | | | | | Systemd-networkd is vulnerable to an out out-of-bounds heap write in the DHCPv6 client when handling options sent by network adjacent DHCP servers. A attacker could exploit this via malicious DHCP server to corrupt heap memory on client machines, resulting in a denial of service or potential code execution. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Peter: add description] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2018-09-073-1/+189
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * systemd: enable on the ARC architectureAlexey Brodkin2018-09-051-1/+1
| | | | | | | | | | | | | | | | ARC port was merged in v234, see https://github.com/systemd/systemd/commit/27b09f1f1ed29edb9c52ad8414c2344974a07a23 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/systemd: fix statx support with glibc >= 2.28Romain Naour2018-08-092-0/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport 2 patches fixing statx redefinition: In file included from ../src/basic/missing.h:18, from ../src/basic/util.h:28, from ../src/basic/hashmap.h:10, from ../src/shared/bus-util.h:12, from ../src/libsystemd/sd-bus/bus-creds.c:11: /usr/include/linux/stat.h:99:8: error: redefinition of ‘struct statx’ Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* | systemd: add optional dependency on elfutilsKeith Mok2018-08-211-0/+7
|/ | | | | | | | systemd can use elfutils when available, so this commit adds the detection of this library. Signed-off-by: Keith Mok <ek9852@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/polkit: needs glibcYann E. MORIN2018-08-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | The recent bump of polkit introduced a version that now unconditionally uses glibc-specific functions from the getnetgrent() familly, which are not available on musl or uClibc-ng. Hide away polkit when the C library is not glibc. Propagate the dependency to packages that select polkit: udisks and systemd. For systemd, add a comment. Fixes: http://autobuild.buildroot.org/results/d78/d783e6db60b187aa591f4b0150c590ab3aa5252f/ (musl) http://autobuild.buildroot.org/results/ba5/ba5da960c70c765bee753a79b9ad2c10967d05d6/ (uclibc) [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Marek Belisko <marek.belisko@open-nandra.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Artem Panfilov <apanfilov@spectracom.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/busybox: invert dependency with systemdYann E. MORIN2018-07-081-6/+0
| | | | | Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* systemd: Fix polkit build orderAsgeir Bjarni Ingvarsson2018-07-081-0/+1
| | | | | | | | | | | We need to install polkit before systemd if we want to enable polkit integration, because systemd will not install polkit policy files unless it finds polkit-gobject-1. Signed-off-by: Asgeir Bjarni Ingvarsson <asgeir@appdynamic.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* systemd: fix nogroupJérémy Rosen2018-07-011-1/+2
| | | | | | | | | The special 65534 group is named nogroup (not nobody) in buildroot tell systemd about that Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: add optional dependency on pcre2Jérémy Rosen2018-07-011-0/+7
| | | | | | | | systemd can use libpcre2 when available, so this commit adds the detection of this library. Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: drop patch 0003-fix-am-path-libgcrypt-no-found.patchThomas Petazzoni2018-07-011-159/+0
| | | | | | | | | | Since commit db860d7837ca8665524f4046030beaf3d7f5e932 ("systemd: bump to 236, convert to meson"), we're no longer using the autotools build system, and have switched to meson. Therefore, patching m4 files is no longer useful. Suggested-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: bump to v239Jérémy Rosen2018-07-017-295/+52
| | | | | | | | | | | | | | * remove upstreamed patches * refresh patch 0002 which didn't apply cleanly * update patch 0001 to catch more uses of agetty * the README file hash has changed because some parts of this file were modified between v237 and v239, but the modifications are not related to licensing aspects Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> [Thomas: regenerate patches with less "noise", update README file hash.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: convert to pkg-meson infraEric Le Bihan2018-05-301-29/+3
| | | | | Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: fix -Dlibidn2 option when libidn2 is not availableThomas Petazzoni2018-05-231-1/+1
| | | | | | | | | | Commit 4ded5d6af4f0198036183f00de190569d7578bc3 ("systemd: add optional dependency on libidn2") contained a mistake: -Dlibidn2=true was passed even when neither libidn nor libidn2 are available. Obviously it should be -Dlibidn2=false. Reported-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: add optional dependency on libidn2Fabrice Fontaine2018-05-201-3/+7
| | | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Thomas: simplify ifeq/else/endif sequence.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: add compatibility symlink for 'shutdown'Anssi Hannula2018-04-151-0/+1
| | | | | | | | | In addition to the 'halt', 'poweroff', 'reboot' symlinks pointing to systemctl, add 'shutdown'. Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: add upstream build fix #8456Stefan Becker2018-04-031-0/+201
| | | | | | Signed-off-by: Stefan Becker <chemobejk@gmail.com> Tested-by: Joseph Kogut <joseph.kogut@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/*/Config.in: fix attributes orderRicardo Martincoski2018-04-011-2/+2
| | | | | | | ... to follow the convention: type, default, depends on, select, help. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: add upstream build fixStefan Becker2018-03-261-0/+75
| | | | | | | | | | | Fixes: http://autobuild.buildroot.org/results/4c439ee000354f90b4e59ee4006530f77263db47/ Signed-off-by: Stefan Becker <chemobejk@gmail.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: do not use host system-uid/gid rangesAnssi Hannula2018-03-091-0/+2
| | | | | | | | | | | | | | systemd meson.build uses values from host /etc/login.defs if system-uid-max and system-gid-max build options are not explicitly specified. Avoid that by setting system-uid-max and system-gid-max to 999 which is the systemd default if SYSTEM_UID_MAX and SYSTEM_GID_MAX are not set in /etc/login.defs. Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2018-03-052-0/+14
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * systemd: allow to build with uClibc toolchainsWaldemar Brodkorb2018-02-142-0/+14
| | | | | | | | | | | | | | | | | | | | | | We need to disable any systemd parts using either IDN, NSS or gshadow. IDN is only disabled in C library function call to getnameinfo(), it does not effect libidn/libidn2 usage in systemd. Tested with qemu-system-arm. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* | package/systemd: needs any UTF-8 localeYann E. MORIN2018-03-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not all distributions have the language-agnostic C.UTF-8 locale (Gentoo, I'm frowning at you!). Instead, use any UTF-8 locale provided by the system. Reported-by: Christian Stewart <kidovate@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Julius Kriukas <julius@kriukas.lt> Cc: Christian Stewart <kidovate@gmail.com> Cc: Trent Piepho <tpiepho@impinj.com> Cc: Adam Duskett <aduskett@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/systemd: create groups required for udevdYann E. MORIN2018-03-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | udevd needs extra groups for its bundled rules: Mar 03 12:21:30 buildroot systemd-udevd[732]: Specified group 'render' unknown Mar 03 12:21:30 buildroot systemd-udevd[732]: Specified group 'kvm' unknown Add those missing groups. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Julius Kriukas <julius@kriukas.lt> Cc: Trent Piepho <tpiepho@impinj.com> Cc: Adam Duskett <aduskett@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | systemd: switch to C.UTF-8 locale when buildingJulius Kriukas2018-03-022-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When BR2_REPRODUCIBLE is enabled or host uses non UTF-8 capable locale building systemd fails with an error: [1/1080] Generating systemd.bg.catalog with a meson_exe.py custom command. FAILED: catalog/systemd.bg.catalog /buildroot/output/host/bin/python3 /buildroot/output/host/bin/meson --internal exe /buildroot/output/build/systemd-236/build/meson-private/meson_exe_sed_232a0623cc7ce2cd67ec72ed784b76307102ed76.dat Warning: You are using 'ANSI_X3.4-1968' which is not a Unicode-compatible locale. You might see errors if you use UTF-8 strings as filenames, as strings, or as file contents. Please switch to a UTF-8 locale for your platform. ... UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1079: ordinal not in range(128) package/pkg-generic.mk:247: recipe for target '/buildroot/output/build/systemd-236/.stamp_built' failed make: *** [/buildroot/output/build/systemd-236/.stamp_built] Error 1 This patch changes default host system locale from C to C.UTF-8 when building systemd package to fix this issue. It also introduces BR2_NEEDS_HOST_C_UTF8_LOCALE flag that checks if this locale is available on the host system. If locale is not available error message is show and build process is stopped. Signed-off-by: Julius Kriukas <julius@kriukas.lt> [Thomas: use C.UTF-8 instead of en_US.UTF-8.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* | systemd: correct README hash after bump to version 237Peter Korsgaard2018-03-011-1/+1
| | | | | | | | | | | | | | systemd-237 slightly changed the README, but the hash was not updated leading to legal-info failing. Fix it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | systemd: Fix relative ln add-wants wrapperTrent Piepho2018-02-271-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch to allow systemd to work with old "ln" versions that don't support --relative didn't work properly in the the meson-add-wants.sh script. This results in all the links in systemd's "*.wants" directories being broken, e.g. /usr/lib/systemd/system/multi-user.target.wants/getty.target -> ../../../../usr/lib/systemd/system/getty.target There is one too few ".." in that relative link. The problem is that the script is called with the link name being either a file or an existing directory. In the latter case, ln creates the link in the directory using the name of the target. This means the link is one level deeper than the relative link making code thinks. The solution used is to only dirname the link, moving up a level, if it's not a directory, to mimic ln's logic in how it creates links. Signed-off-by: Trent Piepho <tpiepho@impinj.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | systemd: resolved was renamed to resolve in meson buildWaldemar Brodkorb2018-02-131-2/+2
|/ | | | | | | | While the conversion to meson, this seems to be missed. Found while trying to build systemd with uClibc toolchain. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* systemd: update to v237Adam Duskett2018-02-035-160/+10
| | | | | | | | Also refresh patches and remove 0004-add-false-option-for-tests.patch as it has been added upstream. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/systemd: fix build with fallback hostnameStefan Becker2018-01-291-1/+1
| | | | | | | | | | Commit aebabb2780da4c5f85fec00b56f4690feb646073 used an automoake configuration option. Replace it with the meson version. Fixes #10716 Signed-off-by: Stefan Becker <chemobejk@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/systemd: Set fallback hostnameChris Lesiak2018-01-281-0/+5
| | | | | | | | | | When BR2_TARGET_GENERIC_HOSTNAME is set, use the config option --with-fallback-hostname to specify the fallback hostname to use if none is configured in /etc/hostname. This is useful in a pristine installation with an empty /etc. Signed-off-by: Chris Lesiak <chris.lesiak@licor.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: bump to 236, convert to mesonAdam Duskett2018-01-175-224/+357
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | systemd is no longer an autotools package, as such, it has now been converted over to meson. Even though systemd234 has meson support, it is broken with gcc7, as such the revision bump and conversion to meson must be in a single patch. Changes include: - Change systemd from an autotools package to a generic package - Changing all the options from --enable/disable to -Doption=true/false - Remove --without-python (no longer an option) - Remove all of the ac_cv_path_ variables, and move them into CONF_OPTS with the prefix -Doption-path=/path. - Add sha256sum's for the license files. - Remove 0002-build-check-for-ln-relative.patch and add 0002-install-dont-use-ln-relative.patch in its place, the old patch relied on autotools and is no longer relevant. - Add 0004-add-false-option-for-tests.patch. With the conversion to meson, systemd no longer has the option to disable unit tests from being built. This patch re-adds the functionality. This prevents 381 files from being built, and prevents gcrypt from becoming a dependency. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Tested-by: Jérémy Rosen <jeremy.rosen@smile.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: gitlab-ci https://gitlab.com/ymorin/buildroot-ci/pipelines/15857672/builds Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud