summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* base-files: create /usr/lib/locale dirRoy.Li2013-06-251-1/+2
| | | | | | | | | | Lsbtest shows that /usr/lib/locale dir is lost, so create it (From OE-Core rev: 6fb6934a590e5ecda864183c0be83e1b59fec8c7) 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>
* ghostscript: upgrade to 9.07Wenzong Fan2013-06-257-429/+421
| | | | | | | | | | | | | | | | | | Remove unuseful patch: * 0001-make-ghostscript-work-with-long-building-directory.patch Port applicable patches: * ghostscript-9.02-genarch.patch * ghostscript-9.02-parallel-make.patch * ghostscript-9.02-prevent_recompiling.patch * ghostscript-9.05-NOT-check-endian.patch * ghostscript-native-fix-disable-system-libtiff.patch (From OE-Core rev: aea8f29275fd7c2341c429b46c25e17afe532b3e) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* chrpath: Fix SRC_URI to correct locationSaul Wold2013-06-251-1/+1
| | | | | | | (From OE-Core rev: 6b7ab43722a94e7a0ced72ffb7497e5d507a39cd) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: Add nativesdk-makeMark Hatle2013-06-252-2/+3
| | | | | | | | | | | | Recently it was discovered that many Fedora hosts have a broken version of make 3.82. Add make to the buildtools-tarball, as well ad modify make to support building a special nativesdk version. (From OE-Core rev: ea972fc4ce2268f01be6beeafd27dd949d800f9d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* make: Fix second part of bug Savannah 30612Mark Hatle2013-06-252-1/+60
| | | | | | | | | | | | | | | | The Savannah bug 30612 describes two different issue. The first, previously fixed, errors parsing multiple objects in parenthesis. The second, (this issue), extra white space contained in the parenthesis. The fix was backported from the current make git tree: http://git.savannah.gnu.org/cgit/make.git/commit/?id=b06b8c64a29a5ba3a8daecd829fa2f98d42cb285 (From OE-Core rev: 681b4c2cd9830cd523080aa830748d9c3367c7c9) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Add ptestBjörn Stenberg2013-06-253-1/+15
| | | | | | | | | | | Install busybox test suite and run it as ptest. (From OE-Core rev: 0d29dc5b5f7742df60fdba90835ef77425963bde) Signed-off-by: Anders Roxell <anders.roxell@enea.com> Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: Change the way the SDK is sanitizedMark Hatle2013-06-251-4/+11
| | | | | | | | | | | | | | | | | The previous method of shrinking down the scale of the environment-setup file would not work properly when the target is configured with multilibs. In addition, the configured machine name and similar settings could leak into the SDK naming. This was resolved by clearing the SDK generated files and generating our own custom files. Note, the name of the environment-setup now is suffixed with the SDK_SYS. (From OE-Core rev: 778cd8d2110ef2db5ff4ae4f0b55c52a8f1ea334) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: When cross compiling a target gcc, target flags may be used on the hostMark Hatle2013-06-251-34/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | The original fix worked some of the time, but not on all machines. Fix this by applying the change in a different way. Following the example of the existing BUILD_CFLAGS. Below is the commit message from the original change to help explain why this is needed: Configure identifies a number of warning flags (WARN_CFLAGS and WARN_CXXFLAGS) from the $CC value. The cross compiler may be different from the host compiler and may not support the same set of flags. This leads to problems such as: cc1plus: error: unrecognized command line option "-Wno-narrowing" cc1plus: error: unrecognized command line option "-Wno-overlength-strings" Work around this problem by removing the warning flags from the BUILD_CXXFLAGS value, in a way similar to the BUILD_CFLAGS. (From OE-Core rev: be21c6e8e4f810e826538337dac6e34ed96e1f6f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Systemtap can not be build w -O0 optimizationMark Hatle2013-06-251-0/+11
| | | | | | | | | | | | | | | | Systemtap will fail with: ../usr/include/features.h:330:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) Use the same technique that eglibc uses to catch and correct the optimization level, changing to -O2. (From OE-Core rev: 9ceebb966e5294a270222475ab6317dcae2952fa) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: Package some iwlwifi firmware separatelyRichard Purdie2013-06-251-1/+10
| | | | | | | | | | Taken from meta-intel, might as well merge this into the core recipe. (From OE-Core rev: bb3201b9c21b29604eb06b03e935d53210a7b762) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-bad: element selection rationalisationRoss Burton2013-06-251-6/+12
| | | | | | | | | | | | | | Using --with-plugins means you only get the elements you enable, so we were dropping vast numbers of useful plugins such as the MPEG muxers. Instead, follow gst-plugins-base by using PACKAGECONFIG to enable/disable plugins with optional dependencies. (From OE-Core rev: 7722fd48995d5d430d58b94ecf69a6ad9f1c741b) 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>
* gst-plugins-base: element selection rationalisationRoss Burton2013-06-251-3/+9
| | | | | | | | | | | | | | Use PACKAGECONFIG to control the X11 elements, and add statements for the elements that we don't always enable. Remove the freetype dependency as it's apparently (but not really) only needed by the examples. (From OE-Core rev: d40606de85a42c48327dead5d6e4c9a1de2cc39c) 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>
* gst-plugins-bad: tremor was moved from here to -baseRoss Burton2013-06-251-2/+2
| | | | | | | | (From OE-Core rev: 6e149551a36825ac5e25b14dbaa62b794154c11d) 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>
* gst-plugins-bad: use correct option when enabling librsvgRoss Burton2013-06-251-1/+1
| | | | | | | | (From OE-Core rev: 82eab38f2bf1dac3e3414a5a20b8e51f871e07ce) 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>
* bash ptest: Sed away the Makefile dependency to remove error messages.Björn Stenberg2013-06-252-1/+2
| | | | | | | | | | | | | | | | | | | | The bash Makefile defines a dependency on itself and tries to run configure, causing error messages when running ptest on target: make: *** No rule to make target `configure.in', needed by `configure'. make: *** No rule to make target `aclocal.m4', needed by `configure'. make: *** No rule to make target `config.h.in', needed by `configure'. make: *** No rule to make target `Makefile.in', needed by `Makefile'. make: Failed to remake makefile `Makefile'. This patch edits out this dependency in the Makefile installed for ptest, to get rid of these messages. (From OE-Core rev: b5fe8c9ff330105337b003be0de2f970545d13ef) Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt-mobility: remove /usr/lib from ld rpath-link optionRoy.Li2013-06-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | Remove /usr/lib from ld rpath-link option to fix the below build error: bitbake_build/tmp/sysroots/x86-kvm-guest/usr/lib/libpng16.so.16: undefined reference to `inflateReset2@ZLIB_1.2.3.4' since sysroot seems not work for rpath-link, and "rpath-link,/usr/lib" makes ld to search host libraries for target libraries, once host has different version zlib, the error will happen. qmake uses QT_MOBILITY_LIB to generate "rpath-link,/usr/lib" when do_configure but we can not add sysroot into QT_MOBILITY_LIB, since QT_MOBILITY_LIB is dir which libraries will be installed to, so I remove this dir from rpath-link before do_compile (From OE-Core rev: f7409a9fe83ba2535a43f39ed57cd78242a88557) 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>
* libbsd: Add recipes for libbsd - utility functions from BSD systemsKhem Raj2013-06-251-0/+19
| | | | | | | | | | | | | | | | When building BSD programs this library provides common BSD functions that are missing on other OSes e.g. Linux This library is elemental for porting large set of BSD applications current consumer of this are in meta-networking/openbsd-netcat but once we have it in OE-Core more recipes depending on it in different layers can be added. (From OE-Core rev: 2df53911f25234d2724bc8163ac9406af0bdad06) 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>
* gst-ffmpeg: fix libav config error for ppcJesse Zhang2013-06-252-1/+25
| | | | | | | | | | | | | | | Pass --cpu to libav config when we're building ppc, or else there are errors like: You need a compiler that supports {} in AltiVec vector declarations. Also patch libav configure to have knowledge of more ppc CPUs. (From OE-Core rev: a825781fc822f4630bc29906ca1ca79b8fad4836) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemctl: Support all unit types in the directives.Randy Witt2013-06-251-2/+6
| | | | | | | | | | | | | | | | | | | | The Alias and WantedBy directives can accept all valid unit types when using the systemctl from systemd. And since the systemctl script should match the behavior of systemd as much as possible, add the current set of unit types listed at http://www.freedesktop.org/software/systemd/man/systemd.unit.html to the Alias and WantedBy directives. The deficiency was exposed when trying to use: Alias=default.target in a foo.target. No symlink was created by running "systemctl enable foo.target" during the package's postinst. (From OE-Core rev: 374b9c37b3310cf2a3373633197ca7ba21f6d1bd) Signed-off-by: Randy Witt <rewitt@declaratino.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: update to new releaseJesse Zhang2013-06-251-2/+2
| | | | | | | | (From OE-Core rev: 7f804ccd2a1e8ccfec1481ef757ce35b6edcbacf) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-cache: fix to use udev-cache correctlyChen Qi2013-06-253-5/+11
| | | | | | | | | | | | | | | | | | | Previouly, the udev-cache has no real effect even if it's installed into the system. The key problem here is that at first boot, the /etc/dev.tar is not present, thus resulting /dev/shm/udev.cache not created on first boot even if udev-cache is enabled. This patch fixes this problem. The /dev/shm/udev.cache will be created if necessary, that is, on first boot or when some part of the system is changed. In the latter case, the udev cache may not be valid. [YOCTO #4738] (From OE-Core rev: 84e0ec2e677fb0236a38478372cdd75797cf5a2e) 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>
* libpam: check if PAM is enabled when buildingRoss Burton2013-06-251-0/+6
| | | | | | | | (From OE-Core rev: fd9bad3e48a605e9fd28c129413300ff6b548788) 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>
* libpam: fix whitespace in shell functionRoss Burton2013-06-251-2/+2
| | | | | | | | (From OE-Core rev: 1b4b25d3cebab90398db208281d54e7442d43bcd) 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>
* logrotate: fix for CVE-2011-1548Wenzong Fan2013-06-252-0/+44
| | | | | | | | | | | | | | | If a logfile is a symlink, it may be read when being compressed, being copied (copy, copytruncate) or mailed. Secure data (eg. password files) may be exposed. Portback nofollow.patch from: http://logrotate.sourcearchive.com/downloads/3.8.1-5/logrotate_3.8.1-5.debian.tar.gz (From OE-Core rev: d0e3fc1b28fc16200adbe690aa27124041036ba3) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: fix error check in hackbenchJesse Zhang2013-06-252-0/+42
| | | | | | | | | | | Add a patch to fix when an unsigned number is taken as a negative error code. (From OE-Core rev: 7538a9cd0c6f0216ef95956ad86e2f88ebd4c8ea) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libproxy_0.4.7 do_unpack failed of qemuppc_worldJackie Huang2013-06-251-4/+4
| | | | | | | | | | | | | | | | | | | The tarball from upstream shows many lines of.... tar: Ignoring unknown extended header keyword `LIBARCHIVE.xattr.security.selinux' tar: Ignoring unknown extended header keyword `SCHILY.dev' tar: Ignoring unknown extended header keyword `SCHILY.ino' tar: Ignoring unknown extended header keyword `SCHILY.nlink' Replacing it with the .zip file from upstream (From OE-Core rev: 1cad5073346bcccbe5bafa3c8876890a0a62615c) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-weston: add clutter examplesRoss Burton2013-06-251-1/+1
| | | | | | | | | | Now that Clutter supports Wayland too, add the Clutter example app to the image. (From OE-Core rev: 74a1ace0c942f25a5e2278795fee6cfc523a3b77) 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>
* clutter: add Wayland supportRoss Burton2013-06-251-3/+5
| | | | | | | | | | | | Add PACKAGECONFIG stanzas for Wayland client and server, and respect the x11 and wayland DISTRO_FEATURES to enable the relevant backends as appropriate by default. (From OE-Core rev: aa01a4a2c74ee2ee9f629ea07a71b06bc2fdda99) 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>
* cogl: add Wayland supportRoss Burton2013-06-251-8/+16
| | | | | | | | | | | | Add PACKAGECONFIG stanzas for Wayland client and server, and respect the x11 and wayland DISTRO_FEATURES to enable the relevant backends as appropriate by default. (From OE-Core rev: 84ffd212f9ca083301d19b9c7a9720d05c733e5c) 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>
* weston: move mtdev dependency to the DRM backend, where it belongsRoss Burton2013-06-251-2/+2
| | | | | | | | (From OE-Core rev: 2d1e8b554e10173377bfe231d5999561adb62321) 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>
* mesa: remove a redundant do_install tweakRoss Burton2013-06-251-3/+0
| | | | | | | | | | | Mesa isn't incorrectly installing GLU headers anymore, so we don't need to delete them. (From OE-Core rev: 96b91dd669d2701fcb4c71fb482392029ce7cd7f) 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>
* weston: add patches to make weston-launch workRoss Burton2013-06-253-0/+123
| | | | | | | (From OE-Core rev: 7b4f2c7c305ef4c0848311712f17cab76232c4bf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: fix a typo in a user-visible messageRoss Burton2013-06-251-1/+1
| | | | | | | | | | This is the weston init script, not X. (From OE-Core rev: 8d30f9c1fe27795c4a1a3e64229cd1cc243e50be) 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>
* python-pygtk: fix parallel compile issueKai Kang2013-06-252-1/+40
| | | | | | | | | | | | | | defs.c dependes on gdk-types.defs and gtk-types.defs. When parallel compile, it may fails with: "IOError: [Errno 2] No such file or directory: 'gtk-types.defs'" Add them to dependences of defs.c to fix this issue. (From OE-Core rev: edf278eec71552bcd3ac661dce8e8b7489463f6a) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pygobject: disable parallel installKai Kang2013-06-251-0/+2
| | | | | | | | | | | | | | | | | | | | The installation of __glib.so is invoked by install-data-am target which are generated by automake. installing libpyglib-2.0-python is invoked by install-exec-am. "make install" will firstly install libpyglib-2.0-python, then install __glib.so, the sequence should not be broken, since _glib.so has dependence on libpyglib-2.0-python. But when enable parallel install, the sequence maybe break then installation fails with: "/usr/bin/ld: cannot find -lpyglib-2.0-python" Disable parallel install to fix this issue. (From OE-Core rev: e87a0c81c77d11f892a34c2d14ffbeb4342d32dd) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openjade-native: fix build failureKai Kang2013-06-252-1/+34
| | | | | | | | | | | Fix openjade-native build failure when build directory name contains the characters ".a". (From OE-Core rev: f005670ee8f6d02e0b0517a48b47b364f0bddf2d) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tinylogin: remove recipeChen Qi2013-06-259-1161/+0
| | | | | | | | | | | | | | tinylogin has been deprecated and the functionality ported into busybox. We now use busybox as the login manager, so the tinylogin recipe could be deleted. [YOCTO #4207] (From OE-Core rev: 2762ff976a3473be4259889029e048ab8b3be5ab) 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>
* mingetty: lower the ALTERNATIVE_PRIORITYChen Qi2013-06-251-1/+1
| | | | | | | | | | | | | | | | | mingetty doesn't work with serial consoles. Currently, it has the same ALTERNATIVE_PRIORITY with busybox. So if it is installed with busybox together, it's possible that the getty is linked to the mingetty, causing failures when we login to the serial consoles. Lower the its ALTERNATIVE_PRIORITY to solve this problem. [YOCTO #4207] (From OE-Core rev: 8cbae825c8a90874868bfe8cbf4e2b2f0d11b0de) 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>
* packagegroup-core-basic: set the default login managerChen Qi2013-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | Set the default login manager to 'busybox', drop the mingetty in the RDEPENDS, use ${VIRTUAL-RUNTIME_login_manager} instead. mingetty doesn't work with serial consoles, so if the login console is ttyS0 for example, we get error messages on screen and cannot login on ttyS0. The login manager, no matter it's tinylogin or busybox, provides getty, so we can just rdepend on it. [YOCTO #4207] (From OE-Core rev: 878596c0943c015f9995997cdaf894c2c236f9a0) 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>
* packagegroup-core-boot: use busybox as the default login managerChen Qi2013-06-251-1/+1
| | | | | | | | | | | | | tinylogin has been deprecated and the functionality ported into busybox, so we switch to using busybox as the default login manager. [YOCTO #4207] (From OE-Core rev: 54fc2a698d49f7acc93c8e4b6f6c4e7b3b6ffcc8) 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>
* busybox: add the ability to split the busybox binaryChen Qi2013-06-251-28/+68
| | | | | | | | | | | | | | | | | | | | | | | | This patch enables us to split the busybox into two binaries, one containing suid applications, and the other containing nosuid apps. Add a variable, BUSYBOX_SPLIT_SUID, to control whether to split the busybox binary into two parts. We default it to "1" to enable the splitting, but users could still override it to disable the splitting. After all, busybox has no internal support for this suid apps splitting, so there might be users out there who want just one busybox binary. The basic idea here is to build the busybox twice, each with the correct configuration items. We extract the non-app part of the original .config file, and merge this part with the suid-app part to form a .config which contains only suid apps. The same strategy applies to the non-suid apps. [YOCTO #4207] (From OE-Core rev: e5a1442819dfb74e86a6f69da008ba6908c8bbc7) 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>
* busybox: enable to list suid and non-suid app configsChen Qi2013-06-252-1/+181
| | | | | | | | | | | | | | | | | | | | | | | This patch, written by Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>, adds the ability to busybox to list configuration items of suid apps and non-suid apps separately. `make busybox.cfg.suid' generates a file containing config items of the suid apps. 'make busybox.cfg.nosuid' generates a file containing config items of the non-suid apps. This patch helps to separate busybox into two binaries, the suid one and the non-suid one. [YOCTO #4207] (From OE-Core rev: 832d1b5575c76f61623f2e0337554287d056422b) 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>
* busybox: add a config fragment to enable login utilitiesChen Qi2013-06-252-1/+15
| | | | | | | | | | | | Create a config fragment to enable the login/passwd utilities of busybox. [YOCTO #4207] (From OE-Core rev: 2a37490d4d55a1a6e4c4d268231a9d8904d38f8b) 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>
* busybox: add support for CONFIG_FEATURE_INDIVIDUALChen Qi2013-06-251-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if CONFIG_FEATURE_INDIVIDUAL was enabled for busybox, yocto-based systems could start correctly. This is because if busybox is built as individual apps, '/bin/busybox' may not be present, so setting the default ALTERNATIVE_TARGET to '/bin/busybox' is not appropriate and could lead to errors. This patch fixes this problem by checking the existence of '/bin/busybox' before setting the ALTERNATIVE_TARGET to '/bin/busybox'. After this change, if busybox is built as individual apps, we'll have links like '/bin/ls -> /bin/ls.busybox', otherwise, we'll have links like '/bin/ls -> /bin/busybox'. Note there's a grep expression change in this patch. The old expression doesn't work well, it has an unwanted underscore, so I changed it to make it work. [YOCTO #4570] (From OE-Core rev: 87efa83191f0b4f4cec3a821b6dfe425c781c077) 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>
* busybox: remove the postinst part of the recipeChen Qi2013-06-251-8/+0
| | | | | | | | | | | | Remove the pkg_postinst_${PN} from this recipe, as it's redundant. It basically wants to do the same thing as the update-alternatives does. But it doesn't do it well. (From OE-Core rev: 5b961afc784747eb8240540e542a789849118596) 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>
* sanity.bbclass: Various improvementsRichard Purdie2013-06-241-254/+257
| | | | | | | | | | | | | | | | | | | | I started trying to make some changes in sanity.bbclass and couldn't stand the current code. This patch splits out the one big function into a number of smaller units and adds a status class which handles queuing of messages and issues like network errors and whether a reparse is required. It also cleans up some syntax and obsolete code. The other fundamental change is the tests are split into ones which run once and those which run at every build. This was always the way the class was intended to work but that got lost somewhere along the way. This patch fixes that. Its still far from perfect but it is hopefully an improvement and sets the scene for other improvements to be built on top of this. (From OE-Core rev: 4e6de6d5f0454024eec2ec775a938c5dab70610c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Drop horrible obsolete minversion hackRichard Purdie2013-06-241-7/+2
| | | | | | | | | We once needed to do this, things seem to work fine without this now, thankfully. (From OE-Core rev: ac090ace11d654dafd642fd93c94091a164476fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Sync with PRINC removal from meta-intelRichard Purdie2013-06-247-6/+7
| | | | | | | | | PRINC usage is removed from meta-intel, bump core PR values to ensure no version regressions. (From OE-Core rev: c6108ebe116eafaf0a22b5f22a3eec87c86859f4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added note about issues on supported distrosScott Rifenbark2013-06-211-9/+20
| | | | | | | | | | | | | | Fixes YOCTO #4519 I have added a note after the list of supported Linux distros that states there might be problems on a given distro when using YP. I cited the CentOS 6.4 example for this 4519 bug. (From yocto-docs rev: 30c413739aae99462ec2b4771041d4c115917aa9) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Makefile: Added figure cross-development-toolchains.pngScott Rifenbark2013-06-211-2/+3
| | | | | | | | | | | A new figure was introduced in the ref-manual. This required the figure to be added to the list for tarball creation for both the ref-manual and the mega-manual. (From yocto-docs rev: 4179b6284f9d5fb87dec5d0442f7637b1e15de30) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>