summaryrefslogtreecommitdiffstats
path: root/package/systemd
Commit message (Collapse)AuthorAgeFilesLines
...
* systemd: select fsck wrapper from util-linuxCarlos Santos2017-04-121-0/+6
| | | | | | | | | | Select the fsck required by systemd provided by util-linux. This prevents ending up with fsck from busybox, which is incompatible with systemd. Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: better patch to avoid ln --relativeYann E. MORIN2017-04-033-112/+96
| | | | | | | | | | | | | | We currently have two patches that address the ln --relative issue differently. The first one changes the behaviour to generate absolute symlinks, which is incorrect; the second provides an ad-hoc solution for a single case. Replace both of them with a single patch that mimics ln --relative when the host ln does not support it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: fix build on not-recent distrosYann E. MORIN2017-04-011-0/+40
| | | | | | | | | | | | | | | | | systemd is at it again, using ln --relative once more, which is not available but on the most recent distros. Patch it out with a bit of sed magic. Fixes: http://autobuild.buildroot.org/results/48e/48ecf31eca9b22339a770abd3f9abdf1ae41cfd3/ http://autobuild.buildroot.org/results/c62/c6297c61d8c2d3ab9be77b9d398598adacdb33b3/ http://autobuild.buildroot.org/results/22f/22ff106a4626c84422d9a3e69aa9c8fe7c76938c/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: bump version to 233Vicente Olivert Riera2017-03-223-13/+2
| | | | | | | --disable-kdbus no longer exists, so remove everything related to it. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: enable optional PAM supportJames Balean2017-02-271-1/+7
| | | | | | | | | This commit enables PAM support in systemd if BR2_PACKAGE_LINUX_PAM is set. Some essential config files are not installed without the --enable-pam option. Signed-off-by: James Balean <james@balean.com.au> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: add missing dhcp.network fileThomas Petazzoni2017-02-061-0/+4
| | | | | | | | This file was missing from commit 84d997d6890f1d045c4d6084148fd9b2d674a6c7 ("system(d): allow auto net configuration with networkd") Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* system(d): allow auto net configuration with networkdEric Le Bihan2017-02-061-0/+9
| | | | | | | | | | | | | | | Allow automatic network configuration via systemd-networkd if selected. If systemd-networkd is enabled and $BR2_SYSTEM_DHCP is set, then create a .network file to configure the selected network interface via DHCP. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> [Thomas: - merge the two patches from Eric into just one - instead of generating the dhcp.network file completely from the .mk file, use a template file, and "sed" it with the right network interface] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: fix reverse dependencies of util-linuxRahul Bedarkar2017-01-281-1/+0
| | | | | | | | | | | | | | | Commit 006a328ad6be ("util-linux: fix build with ncurses") removed dependency on BR2_USE_WCHAR, but failed to update the reverse dependencies of util-linux. This commit fixes all such reverse dependencies by removing dependency on BR2_USE_WCHAR as it is not required by package itself. Fixes: 006a328ad6be ("util-linux: fix build with ncurses") Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: enable selinux if libselinux is enabledAdam Duskett2016-12-171-1/+7
| | | | | | | | | | systemd currently has selinux disabled unconditionally. This prevents /sys/fs/selinux from being mounted automatically at boot which causes audit to no longer function. This patch fixes the problem by checking if libselinux is enabled and enabling support for selinux in systemd if so. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: don't build systemd-firstboot by defaultFrank Hunleth2016-12-081-1/+0
| | | | | | | | | | | | | | systemd-firstboot is never invoked since systemd's first boot detection logic checks whether /etc/machine-id exists. Since the file is created automatically by systemd.mk, systemd will never detect first boot and therefore the systemd-firstboot.service unit file will never get run. Additionally, if /etc/machine-id is removed to allow systemd-firstboot to run, it interactively prompts for the system locale. This makes it seem unlikely that an embedded system would want to use it. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* systemd: bump version to 232Vicente Olivert Riera2016-11-056-172/+9
| | | | | | | | | | | - 0002 patch tweaked. There is a hunk that has been removed upstream by this commit: https://github.com/systemd/systemd/commit/082210c7a837063fd8b520b18c221b42059d7eff - Patches 0004, 0005 and 0006 were backported from upstream and now they are included in this release, so drop them. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: fix build with old toolchainsYann E. MORIN2016-09-183-0/+159
| | | | | | | | | | | | | | | | | | | | | | | | Toolchains using glibc-2.18 or older do not define O_TMPFILE, which causes build failures on some archs. systemd has a definition for O_TMPFILE if it is missing, but only defines it for i386 or x86_64. Furthermore, the header defining it is not included everywhere O_TMPFILE is used. Fix that with three patches backported from upstream: - include the needed header where it is needed (he!), - define O_TMPFILE for all archs, according to linux-4.8rc3, - no longer guard against undefined O_TMPFILE in fileio. Upstream merge commit: https://github.com/systemd/systemd/commit/4a13100c6a5a0a4b793e90bd43d21c3696c42d46 Fixes: http://autobuild.buildroot.net/results/b0067e72ffcbbe1db9ef49ab297cece951345aeb/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: bump versionMaxime Hadjinlian2016-07-283-37/+29
| | | | | | | | | | | Bump to version v231. Along that, refresh a patch that did not apply anymore. For reference, here is the changelog: https://lists.freedesktop.org/archives/systemd-devel/2016-July/037220.html Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libgpg-error: bump to version 1.23Jörg Krause2016-07-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is based on a patch sent by Vicente Olivert Riera and commented by Arnout Vandecappelle [1]. - Bump version to 1.23 - Add a hook to fix cross-compilation - Fix license and license files - Remove patch applied upstream - Add a BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS variable - Propagate the dependencies using that variable: * package/cppcms * package/crda * package/gnupg2 - package/gcr - package/midori * package/kodi * package/libaacs * package/libassuan * package/libgcrypt * package/libgpgme * package/libksba * package/libmicrohttpd - package/janus-gateway - package/kodi - package/ola - package/systemd * package/libssh * package/libssh2 - package/php-ssh2 * package/netatalk * package/network-manager * package/ntfs-3g * package/opkg * package/php-gnupg * package/rng-tools * package/strongswan * package/vpnc [1] http://patchwork.ozlabs.org/patch/416427/ Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> [Thomas: - rebase on master - changing systemd no longer needed, as it no longer selects libgcrypt.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Maxime: - rebase on master - bump to new version - propagate dependencies to missing packages] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> [Thomas: - fix hash file. - change the way to handle the various arch so that it works properly for uClibc. - add nios2 arch support. - Maxime Hadjinlian learned some basic Emacs-fu to do the final fixups of this commit.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Sort menuconfig alphabeticallyMaxime Hadjinlian2016-07-021-131/+131
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Remove systemd-bootchartMaxime Hadjinlian2016-07-022-16/+0
| | | | | | | | | Since systemd v230, bootchart has been removed from the source of systemd and now lives in its own repository. A new package will be added in the next commit. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Remove SYSTEMD_COMPAT optionMaxime Hadjinlian2016-07-022-19/+0
| | | | | | | | | | Since v230 of systemd, the compat libraries have been fully removed. https://github.com/systemd/systemd/commit/4de282cf9324ab13d17ac334244d0d7cae2df37d Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> [Thomas: rewrap Config.in help text in Config.in.legacy and put the option at the right place.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Default yes for networkdMaxime Hadjinlian2016-07-021-0/+1
| | | | | | | | It seems logical to enable a few options along with systemd when it's the init system. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Default yes for timesyncdMaxime Hadjinlian2016-07-021-1/+2
| | | | | | | | | | It seems logical to enable a few options along with systemd when it's the init system. Also change the help as timesyncd is a daemon that implements an SNTP client. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Create user only when neededMaxime Hadjinlian2016-07-021-4/+8
| | | | | | | | | We don't want to create a bunch of group and users that might not be used, it's more elegant to create them when the associated features is selected. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Add optional support for resolvedMaxime Hadjinlian2016-07-022-0/+17
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Add optional support for myhostnameMaxime Hadjinlian2016-07-022-0/+17
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Force enable blkidMaxime Hadjinlian2016-07-021-0/+1
| | | | | | | | Since systemd select BR2_PACKAGE_UTIL_LINUX_LIBBLKID, we can safely force this option. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Add optional libxkbcommon supportMaxime Hadjinlian2016-07-021-0/+7
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for qrencodeMaxime Hadjinlian2016-07-021-1/+7
| | | | | | | | The support of qrencode depends of the journal gateway feature as it is used to display the key used to seal the journal. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for libidnMaxime Hadjinlian2016-07-021-0/+7
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Disable IMA supportMaxime Hadjinlian2016-07-021-0/+1
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Disable the test coverageMaxime Hadjinlian2016-07-021-0/+1
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for auditMaxime Hadjinlian2016-07-021-0/+7
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: remove unnecessary make optsGabe Evans2016-07-021-4/+0
| | | | | | | | These flags were originally needed to support uClibc in earlier releases. Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: only create 'systemd-journal' groupGabe Evans2016-07-021-4/+4
| | | | | | | | | | | systemd-journal is a group used for controlling user access to the journal when used with tools like journalctl. While we're at it, sort the users list to improve readability. Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: use 'menuconfig'Gabe Evans2016-07-021-1/+1
| | | | | | | | | systemd has a bunch of options now, so use 'menuconfig' to the group the options in a submenu. Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for hibernationGabe Evans2016-07-022-0/+14
| | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for polkitGabe Evans2016-07-022-0/+17
| | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for coredumpGabe Evans2016-07-022-0/+16
| | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for localedGabe Evans2016-07-022-0/+15
| | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for timedatedGabe Evans2016-07-022-0/+16
| | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> [Maxime: Add default y] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for hostnamedGabe Evans2016-07-022-0/+15
| | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> [Maxime: add default y] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for importdGabe Evans2016-07-022-0/+21
| | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for machinedGabe Evans2016-07-022-0/+15
| | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for logindGabe Evans2016-07-022-0/+13
| | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for rfkillGabe Evans2016-07-022-0/+14
| | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for backlightGabe Evans2016-07-022-0/+14
| | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for random-seedGabe Evans2016-07-022-0/+16
| | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for firstbootGabe Evans2016-07-022-0/+15
| | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> [Maxime: Add default y] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for sysusersGabe Evans2016-07-022-0/+14
| | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: add optional support for tmpfilesGabe Evans2016-07-022-0/+17
| | | | | | | Signed-off-by: Gabe Evans <gabe@hashrabbit.co> [Maxime: Add default y] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/systemd: Optionally disable hwdbMarcin Niestroj2016-06-152-0/+17
| | | | | | | | | | | | | | | | | | By default hwdb files are installed in /usr/lib/udev/hwdb.d Currently they take about ~5MB. After first boot, systemd-hwdb tool parses them and creates a binary in /etc/udev/hwdb.bin, which takes another ~6.5MB. In case of initramfs images, hwdb parsing is done every boot. This adds about 2-3 seconds to boot time in case of rootfs on SDHC class 10 card (benchmarked with am335x board). NAND boot takes even longer. Add config option to disable hwdb in systemd, for smaller images and better boot performance. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud