summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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 (From OE-Core rev: 9226635ab28b5ca44ec04931d27c5c3313d56e61) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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). (From OE-Core rev: cab512d7ee50fb55b9412c0e1a52a589de09e0a7) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 7cc52fca921259e331a34263d8113e29b9e0dee9) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo: Move certain mysql entries to common-linuxTom Rini2011-07-2710-13/+4
| | | | | | | | | More re-sync with oe.dev (From OE-Core rev: a1ce2e6039652c94ba34bfe7343a4424a1cc133b) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x86_64-linux siteinfo: Add bash infoTom Rini2011-07-271-0/+5
| | | | | | | | | Taken from oe.dev (From OE-Core rev: 0844b64ea8b43719edfe1a887d56b9f5e3ceefaa) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo: Move certain bash entries to common-linuxTom Rini2011-07-2713-97/+16
| | | | | | | | | More re-sync with oe.dev (From OE-Core rev: 75aa86f4800a8344e1dfe721a729fdd281e26a20) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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 (From OE-Core rev: bf1e4b1f4952d2dd8e4acd6babb96b3c65999df0) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* polkit: Support pamXiaofeng Yan2011-07-272-2/+28
| | | | | | | | | Modify configuration "polkit-1" in /etc/pam.d/ for supporting pam. (From OE-Core rev: 6bc6406b019ebc104a4abfb15c2d2e1263968664) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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 (From OE-Core rev: e8f19e8616fb1b0c2d977fb63eaa64f504fb774b) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: Support PAMXiaofeng Yan2011-07-272-2/+21
| | | | | | | | | Adding configuration file "sshd" in /etc/pam.d/ for supporting pam. (From OE-Core rev: 8279f771a482d890ad897971cba1d656fdcaefe9) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* at: enable pam supportWenzong Fan2011-07-273-4/+61
| | | | | | | | | add patches to make at enable pam support (From OE-Core rev: eabf5a639c94a016316bfd6707ee6e5bd676d85d) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 10e6fdd7e8fed5733f65a504148bba54bccb3c48) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cronie: enable PAM support for cronieWenzong Fan2011-07-272-2/+29
| | | | | | | | | Enable PAM support for cronie and update its pam config file 'crond'. (From OE-Core rev: fec92e4b0c34adc9d512f61ff22de9026b83e3b4) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 1f7e088f2d570d33c2344e32a05193b37a75ea76) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 7c08305f8008ab322d19d0a0852a851fd44ae510) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: add pam supportKang Kai2011-07-271-3/+5
| | | | | | | | | According to distro_feature then add pam support for cups or not. (From OE-Core rev: d1e0482bf7fb8e31746cb0e53bbd708fc08c9846) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: f9158bf219479c2da56dd21a13ecee3176cd6f8a) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap: Update to 2.22 with License ClarificationSaul Wold2011-07-273-8/+8
| | | | | | | (From OE-Core rev: 4f4e1ee82cff6a9e3103366169ef9f21964db3ba) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 77a41ab5ca92606ee08f002a8dfc631f642a3179) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: bab4952075245563787293428e031fa11d6cb2b4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: remove unnecessary FILESPATHPKG usagePaul Eggleton2011-07-271-2/+1
| | | | | | | | | This was not doing anything (we don't even have the eglibc-svn directory). (From OE-Core rev: f707be7ad16003af6e260297b29e30c92f02a612) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: ff98be5bd096edc9728ab21d0a344d88c0d5add8) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 104d9076efbba26c524649baa602d139e79ac47c) Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 1c24f36e982e680871bf7a05ac6e820314e19c7c) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcb: Add missing DEPENDS on libxdmcpKhem Raj2011-07-271-2/+2
| | | | | | | | | | Observed this to fail when populating new tmpdir from shared state (From OE-Core rev: 7bdc14b0537afa004830f1f23253b2778bb0e098) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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". (From OE-Core rev: 4c88733f8bace5bb6503ebfe5238e96fe424e6d0) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/conf/local.conf.sample: improve comments/layoutPaul Eggleton2011-07-271-6/+12
| | | | | | | | | | Some additions and grammar fixes to the comments, as well as moving the locale options to the same place. (From OE-Core rev: f3cd4845d27fb5cecd173cb60c947bb36888d2e5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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.) (From OE-Core rev: 87443c874f03b2220290f13908da58a414d3a3a9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 79b7b1aab5d3d002bfa7a49887d5d834c29eae45) 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. (From OE-Core rev: 02031d766f983cd7e01e468cb2c926604313cd2a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: fix loading a saved recipeJessica Zhang2011-07-261-1/+1
| | | | | | | | | | | | | use the correct variable userpkgs instead of packages during reload saved bb file that contains user customization. Fixes [YOCTO #1289] (Bitbake rev: 2650be190afc05f9472aca8b11af99205a342838) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: don't iterate whole model in find_alt_dependency()Joshua Lock2011-07-261-10/+9
| | | | | | | | | | | The method needs to find an included item anyway so rather than iterating the entire model and checking the included status of each entry iterate over the contents gtk.TreeFilter. (Bitbake rev: 79bdd501075ff5164a8ee673a6a2a0e402978ae5) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: handle items added in by base image being removedJoshua Lock2011-07-261-1/+15
| | | | | | | | | | | | | | When building an image based on an existing image we need to correctly handle removals from that images package set. Do so by testing if any of the items brought in by the base image are removed and, if so, building an image from scratch with all of the selected packages included. Fixes [YOCTO #1232] (Bitbake rev: 812ead4900714545850698d8ce29194f4ee8db0e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: enable building an image with minimal contentsJoshua Lock2011-07-262-7/+30
| | | | | | | | | | | | This patch enables a user to build a rootfs containing only the selected packages without having to have first selected a 'Base image'. Fixes [YOCTO #1239] (Bitbake rev: 05c82da31a69c910e72b58b07afcd9fca8c55479) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: Force the 'Base image combo' to be drawn correctlyJoshua Lock2011-07-261-0/+4
| | | | | | | | | | | | | As the combo is created before its backing model it's common for the combo to be drawn at its minimum size and then grow the first time the user activates it. This slight ugly patch forces the combo to be resized as soon as the model is associated so that by the time the user interacts with the widget it is less likely to change size. (Bitbake rev: 65819447ccc96ae2af8d42cf3a31769ef3d2d26e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: change wording in build complete dialogJoshua Lock2011-07-261-2/+2
| | | | | | | | | | | | | The 'View Log' button is potentially confusing to existing users of the system who may be expecting to be shown the on disk logs of the build. Instead use 'View Messages'. Addresses [YOCTO #1222] (Bitbake rev: 105bfe3562235fb586be4b4179bb34b2e94ef234) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: don't offer to show built output if build failsJoshua Lock2011-07-261-3/+7
| | | | | | | | | | The link to open the deploy directory should only be shown if the build completed succesfully. (Bitbake rev: d947f9880c2205be66fbd61cf7d3728275979a56) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: switch from buildFile to buildTargets for custom image buildsJoshua Lock2011-07-263-32/+77
| | | | | | | | | | | | | | | We need to use the buildTargets command to ensure dependencies, such as native tools to build the rootfs, are correctly included. This patch achieves this by modifying BBPATH and BBFILES to include matches for the location of the generated recipe file and reparsing the metadata before calling buildTargets. Fixes [YOCTO #1228] (Bitbake rev: 5840d59098141e773c12bea8ed8d9f4f1a706132) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobeventhandler: reparse files before running other commandsJoshua Lock2011-07-261-3/+5
| | | | | | | | | | Integrate reparseFiles into the run_next_command() method rather than calling reparseFiles on the server and immediately calling other methods. (Bitbake rev: 20f7218992cfe18f1d3dcea53f2e5a7bf96346db) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: replace the ugly static command mapJoshua Lock2011-07-262-27/+35
| | | | | | | | | | | | | | The command_map was never a good idea, what's implemented here is a fraction less ugly but a significant factor more readable and therefore easy to maintain. The method implemented in this patch also has the advantage of not being static meaning we can determine the desired runCommand arguments dynamically at call time. (Bitbake rev: 8b11c68ffcda355d0ba49cfc27790d245192ae24) Signed-off-by: Joshua Lock <josh@linux.intel.com> 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. (From OE-Core rev: dad2169cfb331b7af5c6d380347ea279a59bd716) 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
| | | | | | | (From OE-Core rev: 8afcc3551be8d608a2082ab7da7a6bfdba490f15) 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
| | | | | | | (From OE-Core rev: 66ec3774f99229ca6c25c047372f45ccd834d77a) 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 (From OE-Core rev: 54a54778fad39931ac7d43daaf37ce7c1946a29b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cooker: only append files onceJoshua Lock2011-07-261-1/+2
| | | | | | | | | | A list can contain the same value twice, therefore only append to the appendlist for a recipe if the append file is not already in the list. (Bitbake rev: d11f9dd33cdcc97a4a937e8bf7e97558d813cadd) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* command|cooker: Add reparseFiles commandJoshua Lock2011-07-262-19/+40
| | | | | | | | | | | Add command reparseFiles to reparse bb files in a running cooker instance. Fixes [YOCTO #1249] (Bitbake rev: de035ad99feb7644f99ad54804bf9f98cc776877) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake-layers: adapt to cooker change for saved environmentJoshua Lock2011-07-261-3/+4
| | | | | | | | | | The Cooker requires a copy of the environment mapping, modify bitbake-layers to take one and pass it to the cooker. (Bitbake rev: f5653e557b68a27e99a2a6a5c5a31d0ba0b56bcb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* data|cooker: use saved environment variables when calling inheritFromOSJoshua Lock2011-07-263-6/+6
| | | | | | | | | | Now that we have a pristine copy of the variables available at launch time we can use them when looking to inherit the OS's environment. (Bitbake rev: 21c21fcc5871e81d8d497b6baed605cdd74c4571) Signed-off-by: Joshua Lock <josh@linux.intel.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. (From OE-Core rev: 5c09cbe3bf456e968fc853827698eb18b62e8348) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/utils: 'Fix' bb.utils.contains() behaviourRichard Purdie2011-07-261-7/+6
| | | | | | | | | | | | | | | | | Currently bb.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. (Bitbake rev: 3d8647b68a8e66c7b240ed5fed7406e1b78fabf6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>