aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2015-07-07coreutils: upgrade to 8.24ChenQi/coreutils-8.24ChenQi/coreutilsChen Qi
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2015-06-26uclibc: Cope with other mips32 variantsRamax Lo
Update uclibc.inc to handle different tunes of mips32 like mips32el, mips32-nf, mips32el-nf, etc. Signed-off-by: Ramax Lo <ramaxlo@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-23meta-environment: Ensure we append to the default ↵Richard Purdie
TOOLCHAIN_NEED_CONFIGSITE_CACHE The toolchain-scripts class was changed to assign to the variable using ??= which allows users to override it. We therefore need to _append instead of += to have the change take effect as intended. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-23staging: Strip files in sysrootRichard Purdie
Add functionality to strip binaries/libraries going into the sysroot. Whilst this does fractionally slow down the build, it also significantly reduces the size of the sstate cache files. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-23meta: Add explict getVar param for (non) expansionRichard Purdie
Rather than just use d.getVar(X), use the more explict d.getVar(X, False) since at some point in the future, having the default of expansion would be nice. This is the first step towards that. This patch was mostly made using the command: sed -e 's:\(getVar([^,()]*\)\s*):\1, False):g' -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-23init-install: Properly delete partition tableEd Bartosh
Fixed deletion of the partition table by increasing amount of sectors from 2(correct for msdos PT) to 35 as GPT size is 34 sectors + 1 sector for protective MBR. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2015-06-23init-install: code cleanup: replace /dev/$device -> $deviceEd Bartosh
Shortened code by including /dev/ prefix into variable. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2015-06-23init-install: code cleanup: Replace tabs with spacesEd Bartosh
Cleaned up spaces from init-install* shell scripts. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2015-06-23init-install: Specify partition name in parted command lineEd Bartosh
parted allows to use names for partitions if GPT partition table is used on the device. msdos partitioning can have only partition types: 'primary', 'logical' or 'extended'. Used meaningful partition names in parted command line for GPT partitioning. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2015-06-23init-install: Specify filesystem type in parted command lineEd Bartosh
Explicitly specified filesystem type for parted mkpart command. This makes partition table to look more informative. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2015-06-23init-install: Implement UUID supportEd Bartosh
Used partition UUID in kernel command line to specify root partition. Searched root device by file system uuid in GRUB configuration. Used partition UUID in /etc/fstab to specify swap partition. Used filesystem UUID in /etc/fstab to specify boot partition. [YOCTO #6101] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2015-06-23init-install: Use GPT table with GRUB 2Ed Bartosh
Changed partition type from 'msdos' to 'gpt'. Added special partition for grub stage2 bootloader. NOTE: This is done only for GRUB 2 as legacy GRUB is rarely used and doesn't support GPT partitions. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2015-06-23init-install-efi: Implement UUID supportEd Bartosh
Using UUID in favor of device names is more reliable as UUID names are persistent. Device names can change as the order of adding device nodes is arbitrary. This sometimes results in device names switching on each boot, which can cause system fail to boot. Persistent naming solves these issues. Used partition UUID in kernel command line to specify root partition. Used partition UUID in /etc/fstab to specify swap partition. Used filesystem UUID in /etc/fstab to specify boot partition. [YOCTO #6101] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2015-06-23busybox: Enable UUID-related optionsEd Bartosh
Enabled MOUNT_LABEL and VOLUMEID* features for busybox mount to understand 'UUID=' syntax in fstab. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2015-06-23initramfs-live-install: Add blkid to initramfsEd Bartosh
Added util-linux-blkid to the list of dependencies of initramfs-live-install and initramfs-live-install-efi. This is a part of the work to support partiion UUID in installer. blkid is going to be used to get partition and filesystem UUIDs. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2015-06-23dbus-test: Upgrade 1.8.10 -> 1.8.18Jussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2015-06-23dbus: Upgrade 1.8.16 -> 1.8.18Jussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2015-06-23packagegroup-core-tools-profile.bb: Remove oprofile.Philip Balister
Oprofile functions duplicate perf. Since perf is easier to use drop oprofile from the core-tools-profile package. Also, the oprofile-ui package opens a port on the device. removing this package reduces a possible security issue for devices with profiling tools. Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-23packagegroup-core-sdk.bb: Drop distcc from the core-sdk.Philip Balister
distcc has been used in the past to speed up native compile across several machines. This is less an issue on modern embedded systems. Also, improvements in sdk generation have reduced the need for on target compile of large projects. Since the distcc packages start a daemon at boot, drop it from the packagegroup to avoid having some slight runtime impact on systems installing an sdk. Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-18libxml2: Security Advisory - libxml2 - CVE-2015-1819Yue Tao
for CVE-2015-1819 Enforce the reader to run in constant memory Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-11dropbear: 2014.66 -> 2015.67Robert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-06-11busybox: fix the wrong help text for chownJunling Zheng
Only when DESKTOP is enabled, chown has -L, -H and -P options. Backport a commit from upstream to fix it: http://git.busybox.net/busybox/commit/?id=d291c2fdd5cb8616605c67ecbfb04274fa094242. Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-11busybox: fix double free error for ifconfigJunling Zheng
This patch backports a commit from upstream to fix a potential double free error when executing ifconfig circularly: http://git.busybox.net/busybox/commit/?id=a97777889328157bb7d06ec618bad16712a9c345. Thanks to Chen Gang for reporting and analyzing this bug. Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Chen Gang <cg.chen@huawei.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-11busybox: sync the patches for git versionJunling Zheng
Synchronize the patches for busybox_git with busybox_1.23.2. Signed-off-by: Junling Zheng <zhengjunling@huawei.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-11build-appliance-image: do_vmdkimg replaced by do_vmimgJuro Bystricky
As a consequence of adding VDI image support, do_vmdkimg routine has been replaced by a generic do_vmimg routine. This also allows to build the build-appliance for VirtualBox, providing IMAGE_FSTYPES is set to "vdi" Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-10sysvinit: Only enable recipe in builds where its applicableRichard Purdie
Similarly to systemd, only enable the recipe in builds where sysvinit is configured in DISTRO_FEATURES. This allows the new cleanup mechanism to handle it correctly in existing builds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-03glib-2.0: 2.44.0 -> 2.44.1Robert Yang
Removed 0001-GListModel-roll-back-use-of-type-redefinition.patch since it is a backport patch. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-06-03glibc: ignore for musl/uclibc but only for target recipesKhem Raj
we still need nativesdk or native recipes for libc to come from glibc, but only be ignored for target recipes types Change-Id: Ibaf8114f2aef63f1eadf493b264e78cd928535a0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-06-03glibc: remove duplicate --disable-nscd from EXTRA_OECONFAndre McCurdy
An appropriate --enable-nscd or --disable-nscd option is added to EXTRA_OECONF based on the 'libc-inet-anl' DISTRO_FEATURES check. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-03util-linux: upgrade to 2.26.2Chen Qi
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-03glibc: Fix __memcpy_chk on non-SSE2 CPUsAndre McCurdy
Backport from upstream glibc: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=132a1328eccd20621b77f7810eebbeec0a1af187 Note that the fix is only required when glibc is built for i686/multiarch, so is not applicable in the default oe-core x86 configuration (which builds glibc for i586 and therefore does not include SSE2 optimised memcpy etc). Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-23eglibc-use-option-groups: Conditionally exclude c++ testsJuro Bystricky
Some test programs written in c++ are still included in spite of "libc-cxx-tests" being omitted from DISTRO_FEATURES_LIBC. All .cc programs are compiled with g++. g++ automatically specifies linking against the C++ library. This patch conditionally excludes the following tests as well: bug-atexit3-lib.cc tst-cancel24.cc tst-cancel24-static.cc tst-unique3lib.cc tst-unique3lib2.cc tst-unique4lib.cc tst-unique3.cc tst-unique4.cc Tested with DISTRO_FEATURES_LIBC_remove = " libc-cxx-tests" [YOCTO #7003] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-23gettext-minimal-native: Disable the unnecessary check in iconv.m4Roy Li
Disable the test "Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided" since we don't support HP-UX and if the euc-jp is not installed on the host, the dependence will be built without iconv support and will cause guile-native building fail. The patch is similar as 0470bd7a9658d3[libunistring: remove the test to convert euc-jp in configure] Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-23initrdscripts: make boot drive detection more genericAwais Belal
The init script that invokes install and install-efi scripts passes the first parameter that identifies the boot drive but in cases when this disk is labeled and kernel configurations allow disk labeling under /run/media/ this would pass the disk label. The earlier implementation considered that the drive name will be passed and in case the label is passed it fails and provides the boot drive as an option for installation driver. We now use a more generic approach to identify the boot drive which can handle both drive name as well as label if passed. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-21zlib: clean up base_libdir symlinkRoss Burton
libz.so symbolic link created in ${libdir} is ../../${base_libdir}/libz.so.1.2.8. This doesn't work if base_libdir or libdir is changed, so use oe.path.relative to construct the correct path at build time. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-20testapps: remove old gst-meta-audio/video dependenciesAlexander Kanavin
Unnecessary because gst-player already pulls in correct gstreamer packages anyway. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-16glibc: CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflowHaris Okanovic
Backport Arjun Shankar's patch for CVE-2015-1781: A buffer overflow flaw was found in the way glibc's gethostbyname_r() and other related functions computed the size of a buffer when passed a misaligned buffer as input. An attacker able to make an application call any of these functions with a misaligned buffer could use this flaw to crash the application or, potentially, execute arbitrary code with the permissions of the user running the application. https://sourceware.org/bugzilla/show_bug.cgi?id=18287 Signed-off-by: Haris Okanovic <haris.okanovic@ni.com> Reviewed-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-15base-files: Remove /proc/bus/usb from fstab.Andreas Oberritter
The usb filesystem was removed in Linux 3.5. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-14glibc: Fix x32 make raceRichard Purdie
On x32 builds, sysd-syscalls appears malformed since the make-target-directory appears on the wrong line. This causes races during the build process where you can see failures like: Assembler messages: Fatal error: can't create [...]glibc/2.21-r0/build-x86_64-poky-linux-gnux32/time/gettimeofday.os: No such file or directory Assembler messages: Fatal error: can't create [...]glibc/2.21-r0/build-x86_64-poky-linux-gnux32/time/time.os: No such file or directory The issue is that the carriage return is being escaped when it should not be. The change to sysd-syscalls with this change: before: """ $(foreach p,$(sysd-rules-targets),$(objpfx)$(patsubst %,$p,time).os): \ $(..)sysdeps/unix/make-syscalls.sh $(make-target-directory) (echo '#include <dl-vdso.h>'; """ after: """ $(foreach p,$(sysd-rules-targets),$(objpfx)$(patsubst %,$p,time).os): \ $(..)sysdeps/unix/make-syscalls.sh $(make-target-directory) (echo '#include <dl-vdso.h>'; """ which ensures the target directory is correctly created. Only x32 uses the vdso code which contains the bug which is why the error only really appears on x32. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-14systemd: removing workaround odering journal after remote-fs.targetBruno Bottazzini
This workaround is not needed in version 219 since the fix is upstreamed with: 919699ec301ea507edce4a619141ed22e789ac0d Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-14coreutils_6.9.bb: Fix LSB NG Cases.Li xin
-/tset/LI18NUX2K.L1/utils/sort/T.sort #1/3/17/19/33/35 -/tset/LI18NUX2K.L1/utils/comm/T.comm #1/2 The LSB test require comm can handle multibyte characters and sort can interpret blank and alphanumeric character according to the current locale and so on. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-14libxml2: fix python path and add libxml2-pythonRobert Yang
We have libxml2-python for native and nativesdk, but don't have it for target, and can't find the reason from the git log, libxml2-python is widely used, after looked into it's configure.in, we can add it by PACKAGECONFIG. The previous --with-python=${STAGING_BINDIR}/python is incorrect, it acted as work becase it's conigure can check automatically, python is in ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}, as known as ${PYTHON}. Add python to PACKAGECONFIG, since createrepo rdepends on libxml2-python, otherwise the target createrepo can't work. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-05-14ncurses: inherit pkgconfigChristophe Guillon
Without pkgconfig being present at build time it's possible for the .pc files to not be installed correctly. Signed-off-by: Christophe Guillon <christophe.guillon@st.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-12dbus: Fix do_install files outside ${D}Richard Purdie
do_install should not access the sysroot directly. Add missing ${D} reference. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-09dbus: upgrade to 1.8.16Roy Li
Upgrade to fix CVE-2015-0245 Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-03systemd: bring back the patch to customise root's $HOMERoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-03systemd: remove unused patchesJoshua Lock
These patches are no longer required since 7bfc9891ff498bdde31aadd2449d3b4692dbc510 Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-30libxml2: remove libxml2-CVE-2014-3660.patchRobert Yang
It is a backport patch, and verified that the patch is in the source. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-28udev-cache: improve error handlingKen Sharp
If an error occurs while the udev cache is being populated, the system is left in a state where udev is stopped. Remedy this with a clean up function to restart udev and remove any intermediate files. Signed-off-by: Ken Sharp <ken.sharp@ni.com> Reviewed-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-28udev-cache: Remove unnecessary tar read from stdinKen Sharp
xargs already formats the inputs to tar correctly, so the '-T -' argument to tar is unnecessary. Signed-off-by: Ken Sharp <ken.sharp@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>