aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2017-06-26ffmpeg: Build libpostproc even if global gpl flag is unsetobi/krogoth-stableAndreas Oberritter
The libpostproc package has an explicit GPLv2+ license tag. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26ffmpeg: Fix the license descriptionAndreas Oberritter
FFmpeg has complicated licensing options, so it should also have complicated license statements in its recipe. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26ffmpeg: use static package listAndreas Oberritter
Dynamic packaging isn't useful if every library needs to be listed manually. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: backport transient mounts from 232Andreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: backport fixes for automountAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: systemd should not depend on systemd-containerMax Krummenacher
Currently systemd depends on systemd-container due to a dangling symlink deployed with systemd. Move the symlink to systemd-container. | DEBUG: systemd contains dangling link /lib/systemd/system/systemd-machined.service | DEBUG: target found in systemd-container Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit e12912ac7484654c201d167831b302a821e14972) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: CVE-2016-7795Chen Qi
The manager_invoke_notify_message function in systemd 231 and earlier allows local users to cause a denial of service (assertion failure and PID 1 hang) via a zero-length message received over a notify socket. The patch is a backport from the latest git repo. Please see the link below for more information. https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-7795 (From OE-Core rev: 543570cafa8d7f595b489d03d05f0aa4478f8539) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> (cherry picked from commit df3f4785fc69d3ddbd30ccd954aad3d3618c5916) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: install udev.pcRobert Yang
It provides udev, but doesn't install udev.pc, which causes other recipes failed to figure out udevdir. Fixed when systemd in DISTRO_FEATURES: $ bitbake pcmciautils (or btrfs-tools): Package udev was not found in the pkg-config search path. Perhaps you should add the directory containing `udev.pc' to the PKG_CONFIG_PATH environment variable No package 'udev' found Their udev rules file may not be installed according to each pkg's implementation. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> (cherry picked from commit a32dac24808bf8621fdbbecb654eff784acee47e) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: fix indentationMaciej Borzecki
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 170157602932aa454e721ea849fbf1679b573618) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: drop unused gtkdoc-related variableAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> (cherry picked from commit 3fa84900b0a008993dfbf0d5af12416f4bc3980f) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd_230.bb: Set journal RuntimeMaxSize to 64M as defaultAníbal Limón
At this time systemd journald uses the /run tmpfs to store logs by default systemd uses 15% of available space [1] of the /run partition, when the space runs out journald starts to vaccum/store the logs into /var/log [1]. It causes two problems one of them is timeout dev-ttySN.device's when enable debug and use journal as systemd.log_target [2] the other is related to don't find syslog entries into the journal log [3]. This problems are now more evident because i recently enabled the systemd debug option in testimage [4]. One area of improvement will be add support in systemd journald to read these parameters from the kernel cmdline like systemd.log_target, if the support exists we could add that parameter at level of testimage. [1] https://www.freedesktop.org/software/systemd/man/journald.conf.html#SystemMaxUse= [2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8142#c19 [3] https://bugzilla.yoctoproject.org/show_bug.cgi?id=10128#c4 [4] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a86a1b2703372c12e7fca18918695d093ea6ee53 [YOCTO #10128] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 808952bf6d2b7549b456293ead4728b4dbf0d89b) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: split systemd-containerChen Qi
Split container/vm related units into a new package, systemd-container. The split mainly references Fedora 24, with a few differences. Apart from the bash and zsh completion files, the differences include adding systemd-spawn@.service into the systemd-container package. [YOCTO #9835] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 2a4bf6e4c96a8104733add315166210f04c02caf) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd-compat-units: do not inherit allarchJoe Slater
Even though we are just a script, we do depend on systemd being on the target and need an RDEPENDS which means we cannot also be allarch. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit ef5be3c8256419d5abec566ce266718fe317417e) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd-compat-units: Only enable for systemd in DISTRO_FEATURESRichard Purdie
This recipe only makes sense when systemd is enabled and otherwise causes world build failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5dca6cc2fcdb2799c19b1697f0647a16ce296290) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd-compat-units: pkg_postinst() does not workJoe Slater
The test for various files is wrong and will always be true, even if init.d does not exist. Exit if init.d does not exist, and correctly test for file existence otherwise. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 8183309080aee45746daaff46b0506b09b5bd269) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: fix typo in avoid-using-system-auth.patchDmitry Rozhkov
The patch 0015-systemd-user-avoid-using-system-auth.patch makes PAM session for systemd-user include common-account file which doesn't contain any session related lines and that breaks launching "systemd --user" with the error: Jul 29 13:03:24 intel-corei7-64 systemd[691]: user@0.service: Failed at step PAM spawning /lib/systemd/systemd: Operation not permitted This change fixes the patch by including common-session file instead. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit ecff74ab68ffca27ed856be6117124b8bc1ef2d6) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: upgrade to 230Chen Qi
Patches are rebased or removed for the latest version. Python testing scripts are removed for systemd-ptest as systemd is configured with '--without-python'. systemd-bootchart is now seprated from systemd, thus removing the related configuration items. And we add systemd-bootchart recipe. [ systemd-bootchart: add missing distro features check - RB ] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 70d782eee573fe46ec512bf59ac6f41e53a99b1b) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: drop python dependency for ptestsAlexander Kanavin
Python tests are not actually used, because systemd is configured using --without-python Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit acea8caa0ce4f8fd1a0d33c01c12d4b5a81508d8) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: support systemd-boot as a stand-alone EFI bootloaderJianxun Zhang
The "systemd-boot" is gummiboot now included into systemd project. The old gummiboot project supported in OE is dead. Our intention is to get a gummiboot-like EFI bootloader without much dependency on systemd and its features. This work is largely derived from the existing bbclass and recipes of gummiboot and systemd. (commit tip: ee25d0e3987d7732a2e46e1640693b4cf419a9fc) Please refer to the history up to the tip for authorship and credit information for the original works. To enable the systemd-boot in build, add this line EFI_PROVIDER = "systemd-boot" in your machine conf file. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e9add1cd01e498d2aa52528ec52342cae48a387a) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd: re-enable mount propagation for udevdRoy Li
With MountFlags=slave, those mounts then become private to the systemd-udevd namespace and are no longer accessible from outside the namespace, which is not expected Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 73f43d857fe0102033f25491007b6dbe3d5fa8ee) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26nfs-utils: fix startup of nfsd if exportfs returns nonzeroAndreas Oberritter
If /etc/exports contains paths that don't exist during boot, the server failed to start, because of the exit code of exportfs. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26switch to gstreamer 1.6.4Andreas Monzner
2017-06-26libc-package.bbclass: split binary localedata even more if asked toAndreas Oberritter
If GLIBC_SPLIT_LC_PACKAGES is set to a non-zero value, convert glibc-binary-localedata-XX-YY to be a meta package depending on glibc-binary-localedata-XX-YY-lc-address and so on. This enables saving quite some space if someone doesn't need LC_COLLATE for example. Some regex code was removed from output_locale_binary_rdepends, because legitimize_package_name already converts to lowercase. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: use correct path for perl librariesAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26connman: enable connman-wait-online.serviceAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26bash-completion: backport fix for frequent error message when pressing tabAndreas Oberritter
Pressing the tab key on an empty line triggered an error message: | bash: words: bad array subscript Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26nfs-utils: sync systemd unit files with nfs-utils.gitAndreas Oberritter
nfs-server failed to start after install. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26nfs-utils: don't try to load kernel moduleAndreas Oberritter
This conflicts with KERNEL_MODULE_AUTOLOAD += "nfsd". Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26kernel.bbclass: fix kernel_do_compile for KERNEL_IMAGETYPE = "vmlinux.gz" on ↵Andreas Oberritter
mips The target directory didn't exist. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: enable nativesdkAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26libtimedate-perl: enable nativesdkAndreas Oberritter
nativesdk-dpkg depends on it. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26util-linux: create own package for lsblkAndreas Oberritter
Let util-linux-bash-completion depend on it, because it uses it. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26bash: use update-alternatives for the bash binaryAndreas Oberritter
Busybox may offer a bash applet. If enabled, the alternatives mechanism avoids breaking logins if bash gets deinstalled while /bin/bash is configured as a login shell. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26openssl: use version script from jessie-backportsAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26kernel.bbclass: do not copy bundled initramfs to /bootAndreas Oberritter
This caused either a warning if unpackaged or frequently changing task hashes in do_package. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26kernel.bbclass: Avoid wildcards for kernel imagesAndreas Oberritter
With multiple kernel images enabled starting with 'vmlinux', e.g. vmlinux.gz and vmlinux.bin, all files landed inside the kernel-vmlinux package. On top of that, even initramfs images were included, e.g. vmlinux.gz-initramfs-*. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26kernel.bbclass: Use real filenames in kernel packagesAndreas Oberritter
When iterating over kernel image types to set up their packaging variables, don't use make targets but the real names. It was surprising if both vmlinux.bin and vmlinux.gz were enabled and only the latter had its filename extension removed from the package name. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26gptfdisk: put sgdisk into its own packageAndreas Oberritter
This allows to avoid pulling in ncurses if only sgdisk is needed. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26gptfdisk: fix support for 'large' drivesAndreas Oberritter
Make's switch '-e' replaced important compiler flags from the project's Makefile, i.e. -D_FILE_OFFSET_BITS=64. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26kernel.bbclass: allow uncompressed initramfs archivesAndreas Oberritter
The code failed to copy the initramfs in case it was a plain cpio archive. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26systemd.bbclass: don't block on restart in postinst snippetAndreas Oberritter
Blocking may lead to failed upgrades if dependencies refused to start on boot. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26nfs-utils: new packageconfig options: blkid, ipv6, libmount, nfsv4, nfsv41Andreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26keyutils: new recipe, used by nfs-utilsAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26nfs-utils: backport fixes for a segfault and broken protocol fallbackAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26nfs-utils: backport accepted patch for statd segfaultAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: dselect depends on perlAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: fix rpath error during configureAndreas Oberritter
| checking for shared library run path origin... /bin/sh: ../apt-1.0.10.1/buildlib/config.rpath: No such file or directory Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: optionally build and install manpagesAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26ffmpeg: disable unsupported extensions on mips32r1Andreas Oberritter
| Warning: the `dsp' extension requires MIPS32 revision 2 or greater | Warning: the `dspr2' extension requires MIPS32 revision 2 or greater Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26ffmpeg: backport configuration fix for MIPS32Andreas Oberritter
| error: '-mips32r2' conflicts with the other architecture options, which specify a mips32 processor Signed-off-by: Andreas Oberritter <obi@opendreambox.org>