summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd
Commit message (Collapse)AuthorAgeFilesLines
* systemd: fix build with gcrypt PACKAGECONFIG disabledMaxin B. John2016-03-311-0/+122
| | | | | | | | | | | | systemd-resolved build fails without gcrypt PACKAGECONFIG. Backport the fix. Also remove the comment about resolved's dependence on gcrypt. [YOCTO #9219] (From OE-Core rev: 5ba3115a699357a5d272836b7edf883753a551d0) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix and expand ptestsJussi Kukkonen2016-03-201-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | systemd-ptest only runs a couple of tests currently. * Install all test binaries and required data files * Add missing runtime dependencies for -ptest * Fix paths required for on-target testing in do_configure_prepend() * cleanup do_install_ptest() For reference, results on current core-image-sato: PASS: 109 SKIP: 5 FAIL: 2 test-execute failure: https://github.com/systemd/systemd/issues/2852 test-acl-util failure: https://bugzilla.yoctoproject.org/show_bug.cgi?id=9269 Fixes [YOCTO #8767]. (From OE-Core rev: 753daf14da4017cd5d245f1587ca44faa39784f5) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade to 229Khem Raj2016-02-2622-159/+356
| | | | | | | | | | | | | | | | | | | | | | Forward port all existing patches and arrange them such such uclibc-only and qemu-only patches appear first Add new patches to fix build on uclibc ( 0019-0022 ) Convert the lnr sed operation into a static patch Use PACKAGECONFIG setting to disable features for muls and uclibc instead of modifying EXTRA_OECONF manually Drop compat from PACKAGECONFIG, this options has been removed from systemd Tested/booted sato iamge on all qemus and qemux86-64 on uclibc (From OE-Core rev: 50743301bd8c0c4817d039d08c9567d15243a74d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: make TEST_DIR configurableRoy Li2016-01-261-0/+64
| | | | | | | | | | | | | | 1. make TEST_DIR configurable, and configure it to ptest dir, since the *.service for test are installed into ptest dir. 2. always follow symbolic links in SOURCE when copy test files to install dir, since some *.service under test dir are linked to ../unit/*.service which are not installed into ptest dir (From OE-Core rev: a9db2b514e1f1093cd80a7793813136f26e531da) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: remove merge conflicts accidently left inRoss Burton2015-12-221-4/+1
| | | | | | | (From OE-Core rev: 1e49b502e730d51420682aa9b57628ae113fe0b2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade to 228Khem Raj2015-12-1619-418/+350
| | | | | | | | | | | | Forward port all patches and format them to be git am'able Drop patches specific to uclibc's missing features which now are there in uclibc-ng (From OE-Core rev: fcaa030fa3c6eb0980cc635b92d6819682cf7742) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix Upstream-Status tagRoss Burton2015-11-251-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix build with uclibcKhem Raj2015-10-272-0/+61
| | | | | | | | | | | | 225 needs additional patches for cater for new APIs used in systemd Change-Id: Idb66c2c6bb65c94b52ba35b276ca12cc868b043e (From OE-Core rev: a267cf21b8e7c79e53354bd645c205f617de816c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: apply persistent storage udev rules also for /dev/hd*Patrick Ohly2015-09-281-0/+32
| | | | | | | | | | | | | | This fixes booting with initramfs and root=UUID on machines with IDE disks, like "runqemu hdddirect", and kernels which still use the deprecated CONFIG_IDE. v2: Rebased against current master-next. (From OE-Core rev: 3d27dfb7e78b8e17b76fcc1d8f8e2b29ca26b0df) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Implement OE-Specific systemd-sysv-installKhem Raj2015-09-121-0/+40
| | | | | | | | | | | Support for chkconfig (--enable-chkconfig) was removed in favour of calling an abstraction /lib/systemd/systemd-sysv-install. This needs to be implemented for OE. (From OE-Core rev: 9d298d1563b3fd5ad569f806cc296e13279e7cf6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade 219 -> 225Khem Raj2015-09-1211-457/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop patches that were straight backports from upstream MIT licence was unused and dropped from systemd sources for more details see https://github.com/systemd/systemd/commit/8f1e0c5f38cdf7e401ab4d2bb93ad816d08e7715 Drop gtkdoc dependency since libudev API documentation has been converted from gtkdoc into man pages Remove packaging gudev as it has moved to separate repository outside systemd For more details see https://github.com/systemd/systemd/commit/2375607039517c88df51ef16ddbb624ec1c10654 package newly added script for xorg to be usable with systemd --user intance For more details see https://github.com/systemd/systemd/commit/1401ec2d34bcde406ced531a72dc46ebaf332594 machinectl now has shell support private-zone DHCP options are supported by systemd-networkd For complete differences between two releases run git log --oneline v219..v225 in systemd git clone Change-Id: I998e652382950a3c74c4839f3767ef8bef23d88f (From OE-Core rev: ec2770b0d1d562ff6d5736e056f937fa24c67b10) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Increase devices timeout in QEMU machines to avoid failures on ↵Aníbal Limón2015-08-291-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | serial-getty Systemd serial-getty is failing because dev-tty ends with timeout, systemd uses a default timeout of 90 secs that it's reached on AB's production environment due to high I/O loads (nfs). When use QEMU is used without KVM support, the machine code is executed by TCG (software code execution) that is dependent on devices layer and causes locks between TCG/Devices increasing the machine code execution time [1]. QEMU don't support configuration of device timeout always uses a default one that is 90 secs, so the next patch increases the device timeout to 240 secs [2] in order give enough time to get devices ready. It ONLY applies on QEMU machines. [YOCTO #8141] [1] http://blog.vmsplice.net/2011/03/qemu-internals-overall-architecture-and.html [2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8141#c10 (From OE-Core rev: 5196d7bacaef1076c361adaa2867be31759c1b52) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update the status of configurable root patchUmut Tezduyar Lindskog2015-07-161-1/+4
| | | | | | | (From OE-Core rev: a79afafd422a9b8e74c0eaac6296e6d1802bb994) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix immediate unmount of mountpoints not in fstabJoshua Lock2015-07-091-0/+36
| | | | | | | | | | | | | | Systemd 219 immediately unmounts any mounts which don't exist in fstab. See FDo bug #89383: https://bugs.freedesktop.org/show_bug.cgi?id=89383 Patch from Fedora: http://pkgs.fedoraproject.org/cgit/systemd.git/commit/?h=f22&id=9bbe0e92dc59d5a42258c729b105a7d9901eb35e (From OE-Core rev: a708514a58fd609b7f8c1a4bd4ab35902681f59b) Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: bring back the patch to customise root's $HOMERoss Burton2015-05-031-1/+2
| | | | | | | | | | This patch appears to have been accidently dropped in the move to 219-stable, probably because it didn't apply. Update the patch and re-add it. (From OE-Core rev: 51aaa647b203d0f7ddd2f53f7191c4d2918b09b8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: remove unused patchesJoshua Lock2015-05-033-257/+0
| | | | | | | | | These patches are no longer required since 7bfc9891ff498bdde31aadd2449d3b4692dbc510 (From OE-Core rev: e45b8bf579f2050ebdb1aa1a4c2f9c3b530c9ad6) Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "systemd: Fix the problem of an empty journal on boot"Randy Witt2015-03-251-6/+0
| | | | | | | | | | This reverts commit e75c95ceca34879698b1ea229a2101dc1ccc12fc. The fix was reported to cause long waits for some users. (From OE-Core rev: 6d68e64a1ecf7c2a4903b0dcdbe25aa6412ff231) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: restore userspace firmware loading supportJonathan Liu2015-03-232-0/+395
| | | | | | | | | | | This changes the minimum required Linux version from 3.7 back to 3.0. [YOCTO #7409] (From OE-Core rev: 31163abc7bedd477c1aad10e6d1f47dbee194513) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix journal "Failed to set file attributes:" warningRandy Witt2015-03-161-0/+37
| | | | | | | | | | | | | | | This is a backport of an upstream patch that fixes the "Failed to set file attributes: Inappropriate ioctl for device" message when the device exists on ext4 filesystems. No functionality is changed, the patch just removes a potentially misleading warning. (From OE-Core rev: 18304e03c8ab8de94b6001a8a5677b57862da0f4) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix the problem of an empty journal on bootRandy Witt2015-03-101-0/+6
| | | | | | | | | | | | | | | | | | | | | systemd by default tries to write the journal to /var/log/journal. But base-files has a symlink /var/log -> /var/volatile/log. And /var/volatile is a tmpfs mount in /etc/fstab. If the journal service started before /var/volatile was mounted (which was the typical scenario) then the journal would appear empty since the old location was mounted over. This change fixes the problem by ensuring that the journal doesn't start until after the mount happens. [Yocto #7388] (From OE-Core rev: 17e8595af2041cfd63adf73b344f7ccad3db7e01) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix runtime failures in systemd-tmpfiles-setup.service.Randy Witt2015-03-101-0/+185
| | | | | | | | | | | | | | | | There were failures at boot from systemd-tmpfiles-setup.service due to tmpfiles.d not honoring the ordering of entries in the files. The patch here fixes the ordering issue which subsequently fixes the failures on boot. [Yocto #7393] (From OE-Core rev: f6da978c5685393c4b6ef14690fe869a80836ba2) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: correct permission mode of /var/volatile/tmpKai Kang2015-03-101-1/+1
| | | | | | | | | | | Permission mode of directory /var/volatile/tmp should be 1777, correct it. (From OE-Core rev: 81d3209666ed574a7af599070c65aa05114eb5bd) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix systemd-tmpfiles ACL issuesDan McGregor2015-03-102-0/+220
| | | | | | | | | | | | | | On systems where /var/log is not a volatile systemd-tmpfiles creates duplicate ACL entries. This causes systemd-tmpfiles service to fail. Also quietly ignore ACL settings on filesystems that don't support ACLs. Backport the fixes from systemd master to fix these issues. (From OE-Core rev: 73a045a1b52d8260d60517bbb5d4c74132d03b10) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix tmpfiles error on images without PAMRoss Burton2015-03-031-0/+30
| | | | | | | | | | | | | | | | If PAM isn't enabled then systemd-tmpfiles on boot will fail to start with the following error message: Failed to copy files to /etc/pam.d: No such file or directory This is because systemd-tmpfiles is attempting to build a usable /etc from the skeleton in /usr/share/factory but pam.d isn't present because PAM is disabled. Fix this by not attempting to copy pam.d in non-PAM configurations. (From OE-Core rev: 46a54e7991b939f12a729e4d263d19130e0aea78) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade 218 -> 219Khem Raj2015-02-2715-261/+363
| | | | | | | | | | | | | 219 has been in the docks for sometime, the older patch got merged this patch is now upgrading 218 to 219 Make all patches using git Change-Id: Ib0350144592aba26cad56c13c9a5522515915c58 (From OE-Core rev: 041570e584b98b580cc75f9ee23372da74a84377) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade 216 -> 218Khem Raj2015-02-249-562/+100
| | | | | | | | | | | | | Remove upstreamed patches as well as patches which arent needed anymore since features are dropped from systemd e.g. userspace firmware download Tested on qemux86 Change-Id: Ic53aaad198998de146c3a7702ef17de871de9de6 (From OE-Core rev: c8a9d74ee78266893497a6b60329f6ae79c0394d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Backports fixes to 216Khem Raj2015-02-034-35/+374
| | | | | | | | | | | | | | | | | | | | | | | Fix systemd-timesyncd assertion when networkd is disabled then we now do not create /run/systemd/netif/links but timesyncd needs it. So lets manually create this file when networkd is disabled so timesyncd can still function When enabling systemd-timesyncd we need systemd-timesync user Backport patches to enable timesyncd when resolved and networkd are disabled replace the resolv.conf symlinink patch with a proper backport Change-Id: I53f1a53eec4e4a4dbdfb7e8cd155d544ee5d81ec (From OE-Core rev: 2a675bc63b22724f12e6ed6ff58d0f1d1e0d3b29) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: backport patch to fix reading journal backwardsJonathan Liu2014-12-191-0/+34
| | | | | | | | (From OE-Core rev: c0650feb6ce7151a22632bab7270002314a1b6be) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: avoid using system-authChen Qi2014-11-121-0/+27
| | | | | | | | | | | Patch systemd-user pam configuartion file to avoid using system-auth file. Instead, we use common-* files. (From OE-Core rev: a3c863c4a65737a410a0353d97a0ee538eb82434) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Use ${ROOT_HOME} instead of /rootDan McGregor2014-10-241-0/+180
| | | | | | | | | | | | | systemd avoids using nss lookups for the root user, so naturally it assumes that root's home directory is /root. In OE that's not the case, and it can lead to long delays when shutting down due to user shutdown unit failures. (From OE-Core rev: e1efc61979b329c651c15acff1afeba2987397b5) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: disable resolv.conf symlink unless resolved is enabledPeter A. Bigot2014-09-291-0/+35
| | | | | | | | | | | | | | | | | | | | The tmpfiles configuration in systemd unconditionally creates a symlink from /etc/resolv.conf to the location where systemd's resolved service will place the real file. This link is only appropriate when resolved is enabled and running: its presence prevents connman or other systems from providing a working resolv.conf when systemd is not assigned that responsibility. OE has not yet enabled systemd's networkd or resolved by default. There is a TODO in the systemd source to fix this, but it has not been addressed upstream. This patch comments out the corresponding line when resolved is not enabled in the package configuration. (From OE-Core rev: 7e2b05a6f59209687829225878a19a1dad8143b9) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add support for executing scripts under /etc/rcS.dChen Qi2014-09-031-0/+138
| | | | | | | | | | | | | | This patch adds support for systemd to execute scripts under /etc/rcS.d. To be compitable, all services translated from /etc/rcS.d/ scripts would run before services translated from /etc/rcN.d scripts. [YOCTO #5159] (From OE-Core rev: 90bb8e8f9bc2454590d230b209fc749ea7270b9e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: upgrade to 216Chen Qi2014-09-034-119/+29
| | | | | | | | | | | | | | | | | | | | | | | | | Upgrade systemd from 213 to 216. systemd-older-kernel.patch is removed as it's fixed in 216. 0001-uClibc-doesn-t-implement-pwritev-preadv.patch is removed because the file it patches has been removed from the project. 0001-util-Including-missing.h-to-get-MAX_HANDLE_SZ.patch is removed because it has been merged. 0001-missing.h-add-fake-__NR_memfd_create-for-MIPS.patch is backported to fix compilation error for mips. Below are the required kernel versions for systemd 216. Linux kernel >= 3.0 Linux kernel >= 3.3 for loop device partition support features with nspawn Linux kernel >= 3.8 for Smack support (From OE-Core rev: 58c432b2725ad8b78d02cb91a6ab405d425c01cc) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind/oprofile/systemd: no bashism in run-ptestRobert Yang2014-08-281-0/+2
| | | | | | | | | | There is no bashism in the scripts, so use /bin/sh, and add /bin/sh interpreter for systemd's run-ptest. (From OE-Core rev: 62d455f89fb1d2c22cf987bdbb56a55e6d031ce0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Support building on uclibcKhem Raj2014-08-271-0/+29
| | | | | | | | | | include missing.h to get MAX_HANDLE_SZ which is not defined in uclibc. (From OE-Core rev: fa2a90ca632d10fe1a14098c3f4fcacc7cea6ac5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: check IFLA_VLAN_PROTOCOLRobert Yang2014-06-171-0/+56
| | | | | | | | | | | | | | | | | | | | | | The older kernel's linux/if_link.h doesn't have IFLA_VLAN_PROTOCOL, we need check whether it has been defined or not. The maintainer said that he would fix it: http://thread.gmane.org/gmane.comp.sysutils.systemd.devel/18200 Also we need redefine IFLA_MAX from 34 to 35 when define IFLA_CARRIER, otherwise there would be error: | src/libsystemd/sd-rtnl/rtnl-types.c:233:9: error: array index in initializer exceeds array bounds | [IFLA_CARRIER] = { .type = NLA_U8 }, [YOCTO #6380] (From OE-Core rev: 0e626d5023fee4dbcc5d94e6b787b4c5fe4b2687) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update a uclibc specific patch to avoid segment fault errorChen Qi2014-06-061-24/+32
| | | | | | | | | | | | | | | | | The alloca() function allocates space in the stack frame of the caller, so using alloca(new_size - old_size) would possibly crash the stack, causing a segment fault error. This patch fixes the above problem by avoiding using this function in journal-file.c. [YOCTO #6201] (From OE-Core rev: c69816d2bf84369ba578bf9d92e01c9d91351a64) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade past 212 releaseKhem Raj2014-05-112-527/+14
| | | | | | | | | | Remove unconditional enable-xz, its specified by PACKAGECONFIG anyway (From OE-Core rev: b9a44cec782e833d4f29f6ceb64908552d5cdd7b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Check for HAVE_POSIX_FALLOCATEDrew Moseley2014-04-291-2/+2
| | | | | | | | | | | The check for the config variable is using the wrong define resulting in the #else always being used. (From OE-Core rev: 7e498c4c17e2c1b6928d4c1fd127977bb588991f) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: backport patch to avoid assertion failuresJonathan Liu2014-04-041-0/+513
| | | | | | | | (From OE-Core rev: 6c44d8133a205ca78bde33ebadcc18ac9a64236d) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upgrade to systemd 211+Khem Raj2014-03-199-550/+118
| | | | | | | | | | | | | | | Fixes [YOCTO #5940] Fix checks for %ms format to be a link time check runtime checks wont work in cross compiling Add a patch to workaround missing _SC_PHYS_PAGES in uclibc (From OE-Core rev: 0f5256d4ae5ed88c62e737e3c31587d7635b5dd6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upgrade to systemd-stable v208Khem Raj2014-03-077-241/+12
| | | | | | | | | | | | | Additional changes in ptest code since now we have directories and not only bunch of files under test/ dir so a simple install does not work anymore we have to cp the files (From OE-Core rev: e201f291b269c70d732778b34de01529aca387b5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Refresh patches for uclibcKhem Raj2014-02-141-27/+26
| | | | | | | | | | With recent patches added some of uclibc specific patches need to be refreshed. (From OE-Core rev: f3fa7577e8153b537948cf48711ffe03dbab6b3b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix misc journald memory bugsKhem Raj2014-02-115-0/+198
| | | | | | | | | | | | | | | | | | These set of patches fix journald exhibiting some issues under load. One of the prevelant issues is that when appending to journal it is not able to allocate memory and starts taking 100% cpu spewing errors like systemd-journald[2934]: Failed to write entry (19 items, 452 bytes), ignoring: Cannot allocate memory Other memory issues crept up with time e.g.vacuuming (From OE-Core rev: b1bdc1c6fb6914d85f888acde9d806d5560c84d8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix ptest to make it able to run on targetChen Qi2014-01-281-0/+1
| | | | | | | | | | | | | | | | | | This patch mainly involves four changes. 1. Ship the sys.tar.xz and extract it on target to avoid ELOOP error. 2. Make systemd-ptest rdepend on bash and perl as the test cases need them. 3. Fix paths in Makefile so that the test cases could run on target. 4. Install ${libdir}/udev/rules.d directory to make udev-test.pl work. [YOCTO #5664] [YOCTO #5673] [YOCTO #5674] (From OE-Core rev: 03ed9095b1ca54a060407f355be0ad9ec86b7610) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/*: remove unnecessary patchesChong Lu2013-12-101-107/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patches are found, but not used by any recipe, so we should remove them. meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch meta/recipes-connectivity/dhcp/dhcp/fix-client-path.patch meta/recipes-connectivity/libnss-mdns/files/alignment-fix.patch meta/recipes-core/dbus/dbus-1.6.10/test-run-path.patch meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch meta/recipes-core/systemd/systemd/use-rootlibdir.patch meta/recipes-core/util-linux/util-linux/remove-lscpu.patch meta/recipes-core/util-linux/util-linux/remove_sigsetmark.patch meta/recipes-core/util-linux/util-linux/uclibc-compile.patch meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch meta/recipes-devtools/gdb/gdb/libiberty-cross.patch meta/recipes-devtools/perl/perl-5.14.3/asm-pageh-fix.patch meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch meta/recipes-devtools/python/python-pygobject/generate-constants.patch meta/recipes-devtools/qemu/files/3f08ffb4a4741d147634761dc053ed386243a0de.patch meta/recipes-devtools/qemu/files/enable-i386-linux-user.patch meta/recipes-devtools/qemu/files/init-info.patch meta/recipes-devtools/rpm/rpm/rpm_fix_for_automake-1.12.patch meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch meta/recipes-extended/iputils/files/arping-break-libsysfs-dependency.patch meta/recipes-extended/libarchive/libarchive/0003-Patch-from-upstream-rev-2516.patch meta/recipes-extended/procps/procps-3.2.8/pagesz-not-constant.patch meta/recipes-gnome/gtk+/gtk+-2.24.22/no-demos.patch meta/recipes-gnome/libglade/libglade-2.6.4/no-deprecation.patch meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch meta/recipes-graphics/xorg-lib/libxxf86dga/libxxf86dga-1.1.3_fix_for_x32.patch meta/recipes-kernel/kmod/kmod/fix-undefined-O_CLOEXEC.patch meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch meta/recipes-support/gnutls/gnutls/gnutls-texinfo-euro.patch meta/recipes-support/nspr/nspr/fix-build-on-aarch64.patch [YOCTO #5180] (From OE-Core rev: e5d81f757de4bd1bfd37a96300edd50b77b0d21c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade 206 -> 208Khem Raj2013-11-122-101/+68
| | | | | | | | | | | Remove patches accepted upstream Forward-port uclibc patches Create additional packages to bundle zsh support files (From OE-Core rev: 9131cd014443243dc41c828efdcc8d87b179940d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add ptestRoy.Li2013-09-141-0/+2
| | | | | | | | (From OE-Core rev: dc3ac3d406bd6152eaa195e90b95bcdb0ac31121) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update patch header and commentsRoss Burton2013-09-101-2/+7
| | | | | | | | (From OE-Core rev: 856f74db0f56e4885af625665f8d85841f198e8d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: split out systemd-binfmt as a separate packageRoss Burton2013-09-061-0/+51
| | | | | | | | | | | | | | | | | | If binfmt_misc was compiled as a module but isn't installed then systemd-binfmt will put an automounter on /proc/sys/fs/binfmt_misc and when it attempts to automount (e.g. when df is called) it can't find support for the filesystem, and throws an error. As binfmt_misc isn't commonly used, split this helper into it's own package, add a dependency on kernel-module-binfmt-misc, and ensure the service gets started when it's installed. [ YOCTO #4863 ] (From OE-Core rev: d42f7fc333495dc35227a6d1027492ab70f29b23) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>