summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* classes/image*: Revamp creation of live imagesSaul Wold2011-07-274-2/+29
| | | | | | | | This creates a live image as an IMAGE_FSTYPES, thus removing the need to have additional -live.bb recipes. To create a live image one just needs to add live to the IMAGE_FSTYPES list Signed-off-by: Saul Wold <sgw@linux.intel.com>
* utils.bbclass: Don't forget to pass the cmdline optionsSaul Wold2011-07-271-1/+1
| | | | | | | This ensure that the command line options from the creation of the wrapper are actaully passed into the wrapper. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Remove -directdisk.bb recipesSaul Wold2011-07-275-55/+0
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Remove -live.bb recipesSaul Wold2011-07-277-91/+0
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* siteinfo: Rework the siteinfo for powerpc to fix uclibc falloutKhem Raj2011-07-272-6/+10
| | | | | | | | | | | | | | | | | | I believe that powerpc-linux is now a common file across 32bit/64bit linux for powerpc be it uclibc or glibc. I compared the differences between powerpc-linux-uclibc and powerpc-linux files and it powerpc-linux was more uptodate and all the new stuff it had was needed for uclibc anyway so we do not need to keep exact copy of powerpc-linux as powerpc-linux-uclibc instead we use powerpc-linux for powerpc/uclibc targets. Secondly linux specific files were added in archinfo dictionary which I think logically belongs to targetinfo dictionary therefore moved them to targetinfo now uclibc/powerpc is buildable again Signed-off-by: Khem Raj <raj.khem@gmail.com>
* siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libcTom Rini2011-07-2717-77/+14
| | | | | | | These functions are determined by the C library so move them to common-glibc and common-uclibc Signed-off-by: Tom Rini <tom_rini@mentor.com>
* siteinfo: Move general realloc/malloc values to common-$libcTom Rini2011-07-2719-55/+7
| | | | | | | | | These are tests for glibc behavior which we have enabled in uclibc. Note that if we ever disable MALLOC_GLIBC_COMPAT the uclibc tests will need to be changed (but I believe this would also entail massive patching to the rest of userspace so this should be unlikely). Signed-off-by: Tom Rini <tom_rini@mentor.com>
* siteinfo: Move certain db entries to common-linuxTom Rini2011-07-2710-113/+18
| | | | | | | | | Note that we had a number of unused and ignored settings wrt mutex support. These have been dropped as they weren't being used and implied some odd things to boot. This is also a partial resync with oe.dev which had some, but not all of these changes. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* siteinfo: Move certain mysql entries to common-linuxTom Rini2011-07-2710-13/+4
| | | | | | More re-sync with oe.dev Signed-off-by: Tom Rini <tom_rini@mentor.com>
* x86_64-linux siteinfo: Add bash infoTom Rini2011-07-271-0/+5
| | | | | | Taken from oe.dev Signed-off-by: Tom Rini <tom_rini@mentor.com>
* siteinfo: Move certain bash entries to common-linuxTom Rini2011-07-2713-97/+16
| | | | | | More re-sync with oe.dev Signed-off-by: Tom Rini <tom_rini@mentor.com>
* siteinfo: Move certain samba entries to common-linuxTom Rini2011-07-278-20/+5
| | | | | | Part of re-syncing with oe.dev, move samba_cv_HAVE_IFACE_* to common-linux Signed-off-by: Tom Rini <tom_rini@mentor.com>
* polkit: Support pamXiaofeng Yan2011-07-272-2/+28
| | | | | | Modify configuration "polkit-1" in /etc/pam.d/ for supporting pam. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* dropbear: Support pamXiaofeng Yan2011-07-272-1/+29
| | | | | | | | I make a patch and some changes in dropbear.inc for supporting pam. - Enable pam in configure - Modify file option.h to open pam supporting Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* openssh: Support PAMXiaofeng Yan2011-07-272-2/+21
| | | | | | Adding configuration file "sshd" in /etc/pam.d/ for supporting pam. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* at: enable pam supportWenzong Fan2011-07-273-4/+61
| | | | | | add patches to make at enable pam support Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
* shadow: update pam related configure filesKang Kai2011-07-272-2/+94
| | | | | | | add shadow-update-pam-conf.patch to update the pam related configure files in oe way rather than Fedora. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* cronie: enable PAM support for cronieWenzong Fan2011-07-272-2/+29
| | | | | | Enable PAM support for cronie and update its pam config file 'crond'. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
* sudo: add pam supportKang Kai2011-07-272-3/+21
| | | | | | | According to DISTRO_FEATURES to add pam support for sudo, and import configure file from Fedora. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* screen: add pam supportKang Kai2011-07-272-5/+20
| | | | | | | | | According to DISTRO_FEATURES then add screen pam support or not. Press "Ctrl+a x" will lock the screen terminal, then unlock it will use pam. Add pam related configure file sceen.pam from Fedora. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* cups: add pam supportKang Kai2011-07-271-3/+5
| | | | | | According to distro_feature then add pam support for cups or not. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* libpam: update to 1.1.4 and add subpackage xtestsKang Kai2011-07-272-5/+44
| | | | | | | | | Update libpam to 1.1.4, and add dependecy cracklib because run xtexts will need pam-plugin-cracklib. There are some additional checks under subdirectory xtests and make it as a subpackage libpam-xtests. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* libcap: Update to 2.22 with License ClarificationSaul Wold2011-07-273-8/+8
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* machine/qemu: set preferred linux-yocto kernel versionBruce Ashfield2011-07-271-0/+1
| | | | | | | | The introduction of the linux-yocto-3.0 kernel is taking precedence over the known working 2.6.37 version. Forcing 2.6.37 until 3.0 is validated on the qemu machines. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* scripts/combo-layer: keep carriage returns at the end of linesPaul Eggleton2011-07-271-1/+1
| | | | | | | Use --keep-cr option to "git am" or otherwise we lose carriage returns which can be important for patches against files that use CRs. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* eglibc: remove unnecessary FILESPATHPKG usagePaul Eggleton2011-07-271-2/+1
| | | | | | This was not doing anything (we don't even have the eglibc-svn directory). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* module-init-tools: do not build static utilities for -crossEnrico Scholz2011-07-271-1/+1
| | | | | | | | | There is no need to have static module-init-tools for the cross tools. Building such binaries requires a static libc which is not required by the rest of OE and which is deprecated and not installed by distributions like Fedora. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
* console-tools: removed wildcard from SRC_URIEnrico Scholz2011-07-271-1/+1
| | | | | | | | Wildcards in SRC_URI are not supported by oe-core and work only when last (or first?) FILESPATH element points to the containing directory. Specifying plain dir works fine for this recipe. Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
* dropbear: don't override DISTRO_TYPE if it is already setKoen Kooi2011-07-272-2/+2
| | | | | | The long term solution is to remove the IMAGE_FEATURE check since images are not allowed to influence recipe compile options. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* libxcb: Add missing DEPENDS on libxdmcpKhem Raj2011-07-271-2/+2
| | | | | | | Observed this to fail when populating new tmpdir from shared state Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta/conf/local.conf.sample: improve terminal examples/commentsPaul Eggleton2011-07-271-2/+6
| | | | | | | | Default to XTERM_TERM* instead of KONSOLE_TERM* since Konsole support only works for KDE 3.x, and note this in the comments (see Yocto bug 1294 for further details.) Also add a comment about PATCHRESOLVE = "noop". Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* meta/conf/local.conf.sample: improve comments/layoutPaul Eggleton2011-07-271-9/+15
| | | | | | | Some additions and grammar fixes to the comments, as well as moving the locale options to the same place. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* meta/conf/local.conf.sample: remove oprofileui-native related settingsPaul Eggleton2011-07-271-6/+0
| | | | | | | | oprofileui-nativesdk would be a better way to handle these kinds of requirements with the modern system, and it is not something that most users will need to configure anyway (nor was it supported.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* tune-core2.inc: Drop X86ARCH32 usageRichard Purdie2011-07-271-1/+0
| | | | | | | Using i686 doesn't work well with locale generation and doesn't gain anything so revert to the i586 default. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-ia32.inc: Fix up TUNE_ARCH variable conflictsRichard Purdie2011-07-262-3/+5
| | | | | | | The current approach causes duplicate values to appear in the TUNE_ARCH field and this patch addresses that. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/image_types: IMAGE_TYPES was missing some entriesJoshua Lock2011-07-261-1/+1
| | | | | | | | Some of these entries are required by the GUI to enable the expected workflow of the ADT, namely a compressed rootfs image. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* upstream status: add for libsdl and xserver patchesYu Ke2011-07-266-0/+12
| | | | | Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream-Status: Add Upstream-Status for some missing patchesDongxiao Xu2011-07-268-0/+21
| | | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESSKhem Raj2011-07-268-12/+12
| | | | | | | | | | | There is this discrepency in spelling. Lets fix it in core. There are lot of layers using SITEINFO_ENDIANNESS This was shielded since meta-oe had its own copy of siteinfo class. But that class has now been deleted in favor of oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/utils: 'Fix' oe.utils.contains() behaviourRichard Purdie2011-07-261-8/+7
| | | | | | | | | | | | | | | Currently oe.utils.contains(X, "A", true, false) will return true for substring matches, e.g. if X = "ABC". This is not what most users expect from the function. In the common OE use of this function there is the case of "touchscreen" and "screen" being used as independent variables. Whilst it could be argued there isn't a problem in that specific case (touchscreens are usually on screens), there is no substring usage of this function is OE-Core so this patch changes the behaviour to match only full strings. It also fixes a bug where duplicate entries would confuse multiple matches, e.g. contains(X, ["A", "B"], ...) would match X = "A A" which is clearly wrong. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Move architecture specific TARGET_OS mangling into tune filesRichard Purdie2011-07-256-13/+10
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine/include: Start to fill out architecture specific tune include ↵Richard Purdie2011-07-2529-36/+96
| | | | | | | | | | | | | | | | | | | | | | | | | files and tune features These changes revolve around the idea of tune features. These are represented by 'flag' strings that are included in the TUNE_FEATURES variable. Any string included in TUNE_FEATURES should also add a TUNEVALID[<name>] entry so we can know which flags are available in TUNE_FEATURES and have documentation about what the flags do. We will add sanity code to error if flags are listed in TUNE_FEATURES but are not documented in TUNEVALID. A given tune configuration will want to define one or more predetermined sets of _FEATURE flag lists. These are defined in the form TUNE_FEATURES_tune-<name>. For defined tune configuation, <name> should be added to the AVAILTUNE list so that we can determine what tune configurations are available. Flags cannot be used in this case as with TUNEVALID since its useful to be able to build up tune lists from other TUNE_FEATURES_tune-yyy options. A given tune configuration may also define PACKAGE_EXTRA_ARCHS_tune-<name> and BASE_LIB_tune-<name> to control the multilib location. All options can be overridden by the distro or local user configuration. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity: Increase bitbake minium version to 1.13.3 for bb.utils.contains() ↵Richard Purdie2011-07-251-1/+1
| | | | | | function Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/classes: Variable cleanupRichard Purdie2011-07-259-43/+19
| | | | | | | | | | | This patch removes the variables BASE_PACKAGE_ARCH, BASEPKG_HOST_SYS, BASEPKG_TARGET_SYS and also removes the immediate assignments in several core classes as these are no longer required. This should make it clearer what some of the core variables do and simplfy some overly complex and confusing class code. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-dynloader.patch: Fix multilib issue for perlMei Lei2011-07-251-1/+1
| | | | | | | | The perl-dynloader.patch can't support lib64 lib32, libx32, etc. Relax the regular expression to fix this issue. Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: report error if TMPDIR cannot be determinedScott Garman2011-07-251-12/+17
| | | | | | | | | | | | | | | | | Invoking runqemu outside of the build directory for an in-tree setup results in an empty TMPDIR because bitbake -e cannot be run to find it. A symptom of this problem is running runqemu and getting the following error: Error: Unable to find tunctl binary in <directory> Catch this case and report the error to the user. This fixes [YOCTO #1278] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* docbook-dsssl-stylesheets-native: Add SYSROOT_PREPROCESS_FUNCSaul Wold2011-07-251-2/+10
| | | | | | | | | [YOCTO #1250] This added function will install a private install-catalog binary so that shared state can find the binary as there is not a guarantee. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* docbook-sgml-dtd-native: Add SYSROOT_PREPROCESS_FUNCSaul Wold2011-07-251-2/+9
| | | | | | | | | [YOCTO #1250] This added function will install a private install-catalog binary so that shared state can find the binary as there is not a guarantee. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* openjade-native: Add SYSROOT_PREPROCESS_FUNCSaul Wold2011-07-251-2/+10
| | | | | | | | | [YOCTO #1250] This added function will install a private install-catalog binary so that shared state can find the binary as there is not a guarantee. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gcc-4.6: Fix packaging of native toolchainsKumar Gala2011-07-252-1/+2
| | | | | | | | | | | | | | The base gcc package is missing liblto_plugin.so. If we try a simple hello world compile we get something like: root@p5020-ds:~# gcc hello.c gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found compilation terminated. We need to include liblto_plugin.so in the base gcc package and not gcc-dev. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>