summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* logrotate.py: restore /etc/logrotate.d/wtmpMingli Yu2019-02-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During the test logrotate.LogrotateTest.test_1_logrotate_setup, there is below logic: # mkdir $HOME/logrotate_dir # sed -i "s#wtmp {#wtmp {\n olddir $HOME/logrotate_dir#" /etc/logrotate.d/wtmp After all logrotate.LogrotateTest finished, only cleanup $HOME/logrotate_dir as below, but don't restore the config file /etc/logrotate.d/wtmp. [snip] def tearDownClass(cls): cls.tc.target.run('rm -rf $HOME/logrotate_dir') [snip] That's to say, there is one additional line added to /etc/logrotate.d/wtmp and will make the logrotate service start failed when run systemd.SystemdBasicTests.test_systemd_failed Take an example as below when run test as root: # cat /etc/logrotate.d/wtmp # no packages own wtmp -- we'll rotate it here /var/log/wtmp { olddir /root/logrotate_dir missingok monthly create 0664 root utmp minsize 1M rotate 1 } # ls /root/logrotate_dir ls: cannot access '/root/logrotate_dir': No such file or directory # systemctl start logrotate Job for logrotate.service failed because the control process exited with error code. See "systemctl status logrotate.service" and "journalctl -xe" for details. # systemctl status logrotate logrotate.service - Rotate log files Loaded: loaded (/lib/systemd/system/logrotate.service; static; vendor preset> Active: failed (Result: exit-code) since Wed 2019-02-13 03:35:19 UTC; 7s ago Docs: man:logrotate(8) man:logrotate.conf(5) Process: 540 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=1/FAILURE) Main PID: 540 (code=exited, status=1/FAILURE) Feb 13 03:35:18 qemumips systemd[1]: Starting Rotate log files... Feb 13 03:35:19 qemumips logrotate[540]: error: wtmp:9 error verifying olddir path /root/logrotate_dir: No such file or directory Feb 13 03:35:19 qemumips logrotate[540]: error: found error in file wtmp, skipping Feb 13 03:35:19 qemumips systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE Feb 13 03:35:19 qemumips systemd[1]: logrotate.service: Failed with result 'exit-code'. Feb 13 03:35:19 qemumips systemd[1]: Failed to start Rotate log files. Add the logic to restore /etc/logrotate.d/wtmp to make the cleanup complete to fix the above issue. (From OE-Core rev: a2db9320d97d12d87524ff16a329f9c38a8da33f) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* menu-cache: fix upstream version checkAlexander Kanavin2019-02-201-1/+1
| | | | | | | (From OE-Core rev: 41eaa75cdac684e152d3f6c881cac1ac83cdbb9d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update to 4.1.1Alexander Kanavin2019-02-203-72/+2
| | | | | | | | | Drop backported patches. (From OE-Core rev: 6fa26f6992e1d5758fda46e1efedabc681222367) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ca-certificates: upgrade 20180409 -> 20190110Alexander Kanavin2019-02-201-1/+1
| | | | | | | (From OE-Core rev: 73ebdcaedde460108f98971f037e50e9b15c9f0c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libwebp: upgrade 1.0.1 -> 1.0.2Alexander Kanavin2019-02-201-2/+2
| | | | | | | (From OE-Core rev: 2acbd0db7b0651e3996f6577a533d340fa7acb6b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.0.10 -> 4.1.0Alexander Kanavin2019-02-201-1/+1
| | | | | | | (From OE-Core rev: 4e2593befcf2986b0242ac287b7f2f6d98bb950e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 4.19.1 -> 4.20.1Alexander Kanavin2019-02-201-1/+1
| | | | | | | (From OE-Core rev: 545f450da5d82079bb81fd418f49af131065ed4e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librepo: upgrade 1.9.3 -> 1.9.4Alexander Kanavin2019-02-201-1/+1
| | | | | | | (From OE-Core rev: 4c9d0f7b33560934a1ae30ed0c1532a533f6407a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkitgtk: upgrade 2.22.5 -> 2.22.6Alexander Kanavin2019-02-201-2/+2
| | | | | | | (From OE-Core rev: fa1f04e77854d4850169461779c0255fc2ab83b4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcr: upgrade 3.28.0 -> 3.28.1Alexander Kanavin2019-02-201-2/+2
| | | | | | | (From OE-Core rev: c82f8f989b4875ae4d73ac25099b84fc9df5287e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo-c: upgrade 0.12.0 -> 0.12.1Alexander Kanavin2019-02-201-2/+2
| | | | | | | (From OE-Core rev: 5fbdeddf45c423faa9139673e78812dbe9600cc7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lighttpd: upgrade 1.4.52 -> 1.4.53Alexander Kanavin2019-02-201-2/+2
| | | | | | | (From OE-Core rev: e4fe757cc78365eb837e08d1601852923050b241) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcomps: upgrade 0.1.9 -> 0.1.10Alexander Kanavin2019-02-201-2/+2
| | | | | | | (From OE-Core rev: 96f46aa31f975176322a4819481a6dc1bbb3389d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iso-codes: upgrade 4.1 -> 4.2Alexander Kanavin2019-02-201-1/+1
| | | | | | | (From OE-Core rev: dcc2c054393e590da989537cbfc2f3dd1c634d9e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* p11-kit: upgrade 0.23.14 -> 0.23.15Alexander Kanavin2019-02-201-1/+1
| | | | | | | (From OE-Core rev: 1f495a7f9b5ae66f9e04e0d833fce8b55181e8c8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.49.0 -> 0.49.2Alexander Kanavin2019-02-205-12/+6
| | | | | | | (From OE-Core rev: 0cc5265d108fd632db9dd751454325fe6e86a62f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdnf: upgrade 0.24.1 -> 0.26.0Alexander Kanavin2019-02-201-1/+1
| | | | | | | (From OE-Core rev: 9e2e7e9a475d92cdf512f95389f1b5e89e75e998) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* epiphany: upgrade 3.30.2 -> 3.30.3Alexander Kanavin2019-02-201-2/+2
| | | | | | | (From OE-Core rev: 7dbb8102b250896d0d488a215199ce0dd70ac1a0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vala: upgrade 0.42.4 -> 0.42.5Alexander Kanavin2019-02-201-2/+2
| | | | | | | (From OE-Core rev: b065a20085aaec3f77450243bb98cd44c79919eb) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: update to 2.1.0Alexander Kanavin2019-02-203-45/+57
| | | | | | | | | | | | | | | Add support for gobject-introspection. Add v2 API fixes to the gtkdoc/gi disabling patch. Add a dependency on glib-native to allow use of glib-mkenums. Disable v2 API/library for now as libdnf is not compatible with it, yet is erroneously linked against it (if it's enabled). (From OE-Core rev: 3db1883a109b520909b12e91028ce8a79923e8f5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpipeline: update to 1.5.1Alexander Kanavin2019-02-201-2/+3
| | | | | | | (From OE-Core rev: 8ac7e546a3b922b85c9a4189cecd347640059ad5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: CVE-2019-7309Zhixiong Chi2019-02-202-0/+224
| | | | | | | | | | Backport the CVE patch from the upstream commit 3f635fb43389b54f682fc9ed2acc0b2aaf4a923d (From OE-Core rev: 518be39ac82593c539144ac83acc459a45b7a81d) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix INCLDIRSTOMAKE in _sysconfigdata.pyChangqing Li2019-02-201-0/+2
| | | | | | | | | | | | | | | | | | | recipe glade do_configure failed after python upgrade to 3.7.2, it will do runtime check of python headers with native python3 under recipe-sysroot-native, it will check under path INCLDIRSTOMAKE, but this value is '/usr/include /usr/include /usr/include/python3.7m /usr/include/python3.7m', which will cause below error: ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. fix it by replace /usr/include to STAGING_INCDIR (From OE-Core rev: 4975a283478ec3cbde813a1b27ab318de4aa8051) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.27Chen Qi2019-02-202-3/+3
| | | | | | | | | License-Update: copyright years updated (From OE-Core rev: 53b5629cf5010f8fee79d82260e291b418cbef7c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: upgrade to 1.12.12Chen Qi2019-02-201-2/+2
| | | | | | | (From OE-Core rev: 13790f825c7e72f2fe7944e0ec4abda1e8be7d0f) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade to 1.12.12Chen Qi2019-02-201-2/+2
| | | | | | | (From OE-Core rev: dcf7dbf81ae51ca6dda8e6506d6552ddc4e62d47) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: upgrade to 2.2.10Chen Qi2019-02-202-6/+6
| | | | | | | (From OE-Core rev: fbe7a0c9bab7c9be7fd2c0da8b2af61e66de1ebd) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mc: upgrade 4.8.21 -> 4.8.22Richard Purdie2019-02-191-2/+2
| | | | | | (From OE-Core rev: a49f74adf6ac407f60776ec775d67216583f99f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.12.3 -> 1.12.6Richard Purdie2019-02-191-2/+2
| | | | | | (From OE-Core rev: 1ea60746da9eb358c44f5ef100436e488b50fbbf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+3: upgrade 3.24.1 -> 3.24.5Richard Purdie2019-02-191-2/+2
| | | | | | (From OE-Core rev: 10799b3efd554392a438c83779fdafff14a8f63e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-gst-3.0: upgrade 3.0.26 -> 3.0.27Richard Purdie2019-02-191-2/+2
| | | | | | (From OE-Core rev: 21675e243410b17b49c5a450787aeaace9f40936) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adwaita-icon-theme: upgrade 3.28.0 -> 3.30.1Richard Purdie2019-02-192-5/+5
| | | | | | (From OE-Core rev: 4b749f7333c6f0b71314d9bc6b803510633dcf4f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grep: upgrade 3.1 -> 3.3Denys Dmytriyenko2019-02-192-39/+4
| | | | | | | | | | | License checksum changed due to cleanup, all URLs converted to https. need_charset_alias is no longer being used, drop the patch. (From OE-Core rev: 867a70ebbefcddae21f0668248fa22e2c4d3f849) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gzip: upgrade 1.9 -> 1.10Denys Dmytriyenko2019-02-193-193/+2
| | | | | | | | | gnulib.patch for glibc-2.28+ has been upstreamed. (From OE-Core rev: 4242c5bce21e723b22bd1dc59b911ed536c8e526) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lzop: upgrade 1.03 -> 1.04Denys Dmytriyenko2019-02-194-180/+4
| | | | | | | | | | | | | License checksum changed due to updated copyright year and cleanup. 3 patches for miniacc.h were incorporated upstream. Build-tested on qemu targets, including x32. (From OE-Core rev: e243edc0456858d26b21a5b643ea9c0ae143fa4b) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hdparm: upgrade 9.56 -> 9.58Denys Dmytriyenko2019-02-191-2/+2
| | | | | | | (From OE-Core rev: f3be4cdad8304958401b3c18efddfdc6c6f61a58) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lzip: upgrade 1.20 -> 1.21Denys Dmytriyenko2019-02-191-2/+2
| | | | | | | (From OE-Core rev: c745d5bba0fecfc20b2ba0daea33a0d78230c06e) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: upgrade 1.8.2 -> 1.8.3Denys Dmytriyenko2019-02-191-1/+1
| | | | | | | (From OE-Core rev: 9f67079b03239d7c46552070ad5c80d7d7f4c5bf) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Update volatiles documentation to include bindsJoshua Watt2019-02-191-1/+1
| | | | | | | | | | Volatiles processing now handles bind mounts, so update the comment in the core file to indicate this. (From OE-Core rev: 520e8f5721aab90815186533038c2f9f834546d5) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-package.bbclass: Add a progress meter for the package taskPeter Kjellerstedt2019-02-191-1/+4
| | | | | | | | | | | The package task for glibc-locale takes a very long time to execute, especially if using qemu. In that case, a progress meter helps a lot to show the progress of the task. (From OE-Core rev: bd2f9b2785779ef65c0c3664dae03b01ced59f6d) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-package.bbclass: Only extract wanted files in prep_locale_tree()Peter Kjellerstedt2019-02-191-1/+6
| | | | | | | | | | | prep_locale_tree() predates the usrmerge DISTRO_FEATURE, which meant it was not prepared for the case when ${base_libdir} == ${libdir}. This lead to it extracting files and directories where it shouldn't. (From OE-Core rev: 0bfc4dd0a9acc305b78fe9d5c2a7fb9afe708684) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-package.bbclass: Correct a few paths for when usrmerge is usedPeter Kjellerstedt2019-02-191-3/+3
| | | | | | | (From OE-Core rev: a880377cd67b65101bf95e8dbad6221f498e38ef) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cairo: fix UPSTREAM_CHECK_REGEXAnuj Mittal2019-02-191-0/+2
| | | | | | | | | Otherwise it matches versions for 'rcairo' as well. (From OE-Core rev: 699623d01f34c061260e98d3d9f0c9cae37edbe6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxkbcommon: update to 0.8.3Alexander Kanavin2019-02-191-2/+2
| | | | | | | (From OE-Core rev: bf1a2c1900d90a07388dae2c99bb65a83ce87d15) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsoup-2.4: convert from autotools to mesonAlexander Kanavin2019-02-192-5/+46
| | | | | | | (From OE-Core rev: df6dbc1ba37937c3338f6d842af99f1f1c1a626d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: add a couple of patches to help with mingw buildsAlexander Kanavin2019-02-193-0/+53
| | | | | | | (From OE-Core rev: ee32c312d01f4abfca2d2587d7a3a7e0115f779c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-gtk-1.0: convert to mesonAlexander Kanavin2019-02-194-3/+58
| | | | | | | | | | | This required adding an option to control gobject introspection via a custom patch, and tweaking clutter.bbclass to not enforce autotools. (From OE-Core rev: 9b9c12268bf9365101da4a985f70c06740dfeb8f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Improve shared-mime-info dependency handlingRichard Purdie2019-02-181-3/+5
| | | | | | | | | This cleans up the handling of the dependency and gets rid of a use of remove which should never be needed in OE-Core. (From OE-Core rev: 93c6e5023d74bf6fae8e3a70afd9dca6b1ab555a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-git-archive: Separate out functionality to library functionRichard Purdie2019-02-182-160/+179
| | | | | | | | | | | This turns the core of the script into a library function. Ultimately this will let us call that code with custom 'keywords' rather than relying on the data parsed from bitbake metadata which can't be used when archiving historical results. (From OE-Core rev: 4820ca2b0850e29b04a4fd5659a6e9837d6714d0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-fitimage.bbclass: Fix the dependency issue while generating ↵Manjukumar Matha2019-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | fitimage_initramfs When building fitimage_initramfs, the correct depedency is to build after do_bundle_initramfs. We can run into the following dependency issue DEBUG: Python function extend_recipe_sysroot finished DEBUG: Executing shell function do_assemble_fitimage_initramfs aarch64-xilinx-linux-objcopy: 'vmlinux': No such file This happens because initramfs renames vmlinux to vmlinux.bak while generating vmlinux.initramfs, there is a chance that fitimage_initramfs can also start during this process and create the above issue. This patch resolve the dependency issue by running fitimage_initramfs task after do_bundle_initramfs (From OE-Core rev: 8f0bece39a634fce5bd882cbd9e289ea905a0b17) Signed-off-by: Varalaxmi Bingi<varalaxm@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>