summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sstate: Fix mirror handling for file:// urlsRichard Purdie2010-10-221-4/+11
| | | | | | | | | | The fetcher has special handling for file:// mirror urls, being efficient and just providing an updated path. Unfortunately the sstate fetching code wasn't able to handle this. This patch detects this and injects a symlink to ensure everything works. It also fixes some datastore references to be correct and ensures the sstate download directory exists if it doesn't already. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* documentation/bsp: update to reference FILESEXTRAPATHSJoshua Lock2010-10-221-4/+4
| | | | | | | It's no longer neccesarry to define THISDIR and FILESPATH in each bbappend recipe. Should you need to reference extra files you should use FILESEXTRAPATHS Signed-off-by: Joshua Lock <josh@linux.intel.com>
* pseudo/fakeroot: Move the pseudo directory creation into bitbakeRichard Purdie2010-10-227-1/+10
| | | | | | | | | | | | | | If sstate was used to accelerate a build, the pseudo directory might not have been created leading to subsequent task failures. Also, sstate packages were not being installed under pseudo context meaning file permissions could have been lost. Fix these problems by creating a FAKEROOTDIRS variable which bitbake ensures exists before running tasks and running the appropriate setscene tasks under fakeroot context. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_deb: Fix a typo meaning the debian packaging was not running in the ↵Richard Purdie2010-10-221-1/+1
| | | | | | fakeroot evnironment Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_rpm: Don't check for the existence of dvar as its never usedRichard Purdie2010-10-221-6/+1
| | | | | | | | | | | If a sstate package exists for the package task but not for the rpm packaging task, the output from the package task will be used. The directory pointed to by dvar will not exist under this scenario. Since the directory is never used by the packaging process remove the check, substituting the pkgd variable which is always present and used. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Ensure an empty do_build tasks exists to silence a warningRichard Purdie2010-10-221-0/+3
| | | | | | | The message "WARNING: Function do_build doesn't exist" doesn't look professional, so fix the underlying problem even if this warning is harmless. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Fix broken plaindirs supportRichard Purdie2010-10-221-2/+6
| | | | | | | | | | | When installing a sstate package, directories tracked by plaindirs were being installed to the incorrect location. With the current implementation this was limited to the do_package task. This patch ensures plaindirs tracked files are created in the correct location, fixing the bug where these files would go missing. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* at: Fix nonstripbinaries.patchMark Hatle2010-10-221-3/+3
| | | | | | | | The commit '0e0d14ed1e88ebff876abb3d00b08627a3879e8d' introduced a new patch nonstripbinaries.patch, the filename format caused the patch to not apply. Simple fix made by correcting the path. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* libtheora: add DEPENDS on liboggDexuan Cui2010-10-221-1/+3
| | | | | | | | | This is used to fix the following build failure: checking for oggpackB_read... no | configure: error: newer libogg version (1.1 or later) required Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* base/sstate: Add cleanall task to remove downloads and sstate cached filesRichard Purdie2010-10-222-5/+44
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* local.conf.sample: Default to not building 32 bit libs on 64 bit systems as ↵Richard Purdie2010-10-211-0/+5
| | | | | | most people don't need it and it confuses them Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* metadata_scm: Ensure that if an SCM isn't present, we dont print a revision ↵Richard Purdie2010-10-211-3/+6
| | | | | | of 'fatal:' as it looks bad Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* busybox/sysklogd: syslog.conf filesMark Hatle2010-10-214-5/+11
| | | | | | | | | The format of the syslog.conf files is different between busybox and sysklogd. Use the alternatives method to ensure we get the correct config file for any specific configurations. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gst-ffmpeg: powerpc build errorsBruce Ashfield2010-10-211-1/+1
| | | | | | | | | | Fixes [BUGID #501] While building the poky-image-sato target, gst-ffmpeg failed when it attempted to run altivec tests on the host. We can live without this optimization, so the easiest fix is to simply disable it. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* mpc8315e-rdb: align PACKAGE_EXTRA_ARCHS with tuningBruce Ashfield2010-10-211-1/+1
| | | | | | | | | | | | Fixes [BUGID #500] While the tuning for the mpc8315e is 603e, the PACKAGE_EXTRA_ARCHES was ppce300. This created a mismatch and resulted in rootfs assembly issues due to missing locales. We align both at 603 and can revist a better tuning in the future. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* at: remove nonrootinstall patch and modify some relevant filesMei Lei2010-10-213-76/+26
| | | | | | | | | | remove nonrootinstall patch, and use a patch named nonstripbinaries to modi fy the /at-3.1.10.2/Makefile.in, so it can also handles stripping of the bi naries Fix [BUG 246] Signed-off-by: Mei Lei <lei.mei@intel.com>
* gnome-icon-theme: fix buildJoshua Lock2010-10-202-3/+57
| | | | | | | Duplicate the patch from sato-icon-theme which enables the path to the icon-name-mapping tool to be specified. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bash: There is no such configure option as --with-ncurses and --with-curses ↵Richard Purdie2010-10-201-1/+1
| | | | | | breaks the build Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky-default-revisions: define SRCREV for pseudo-nativesdkJoshua Lock2010-10-201-0/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* nfs-utils: fix nfs server initscriptQing He2010-10-201-3/+3
| | | | | | fixes [BUGID #483] Signed-off-by: Qing He <qing.he@intel.com>
* bash: fix job controlQing He2010-10-201-1/+1
| | | | | | | | | job control can't be automatically detected when cross-compiling, enable it explicitly. Fixes [BUGID #487] Signed-off-by: Qing He <qing.he@intel.com>
* task-sdk: Fix lttng-ust dependency to include the -dev version so headers ↵Richard Purdie2010-10-193-7/+7
| | | | | | | | are included [BUGID #425] Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sysklogd: correct the syslog link and conf fileYu Ke2010-10-195-4/+86
| | | | | | | | | | | | | | | | | | | | | | This commit fix [BUGID #482] Two issues cause bug 482: - firsty, there are two version of syslog: sysklogd and busybox. the busybox one is directly installed as /etc/init.d/syslog, and the sysklogd one is installed by update-alternative. the update-alternative will thus fail because the /etc/init.d/syslog (busybox one) already exist and not a link. so the correct way is to install busybox one by update-alternative, the layout will be: /etc/init.d/syslog.busybox /etc/init.d/syslog.sysklogd /etc/init.d/syslog -> syslog.busybox or /etc/init.d/syslog -> syslog.sysklogd - secondly, sysklogd default conf is not comply with poky. Its dir /var/adm/ does not exist. Check the debian /etc/syslog.conf and find it is more sophiscated and suitable, so port /etc/syslog.conf from debian. Signed-off-by: Yu Ke <ke.yu@intel.com>
* wrs_meta: emenlow updatesBruce Ashfield2010-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Fixes [BUGID #465] wrs_meta: add logbuf size feature A 16k kernel log buffer size is too small for emenlow and atom-pc - boot messages are routinely lost with the current setting. Increase the size to something more reasonable - 64k seems to be a good compromise. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> emenlow: add cmdline option for reboot quirk The default reboot options don't work for emenlow i.e. kbd + triple results in a reboot hang. According to the emenlow chipset manual, port CF9 is supported, so let's use that. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* documentation/poky-ref-manual: Update packages references to recipes and ↵Richard Purdie2010-10-192-7/+7
| | | | | | make sure bbappend files are included in example BBFILES lines Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/fetch/git: Ensure fullclone repositories are fully fetchedRichard Purdie2010-10-191-1/+4
| | | | | | | | | | | The git fetcher was failing to pull in new branches into a git repository mirror tarball as the git fetch command being used didn't add new remote branches. This patch uses "git fetch --all" for fullclones to ensure any new remote branches are cloned correctly. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/fetcher: Deal with a ton of different bugsRichard Purdie2010-10-192-36/+38
| | | | | | | | | | | | | | | | | | | | | | The more we try and patch up the fetcher code, the more things break. The code blocks in question are practically unreadable and are full of corner cases where fetching could fail. In summary the issues noticed included: a) Always fetching strange broken urls from the premirror for "noclone" git repositories b) Not creating or rewriting .md5 stamp files inconsistently c) Always fetching git source mirror tarballs from the premirror even if they already exist but the checkout directory does now d) Passing "None" values to os.access() and os.path.extsts() checks under certain circumstances e) Not using fetched git mirror tarballs if the preexist and always try and fetch them. This patch rewrites the sections of code in question to be simpler and more readable, fixing the above problems and most likely other odd corner cases. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/fetch/git.py: Fix git fetcher to correctly use mirror tarballsRichard Purdie2010-10-191-1/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rpm: Change pcre to use internal library [BUGID #404]Saul Wold2010-10-181-2/+2
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* sed: use ALTERNATIVE_LINKKevin Tian2010-10-182-2/+4
| | | | | | | | | | | | | update-alternatives.bbclass assumes /usr/bin/sed if ALTERNATIVE_LINK is not specified, however sed has changed its default installation directory to /bin/sed. This causes below errors at the first boot of lsb image: update-alternatives: Error: cannot register alternative sed to /usr/bin/sed since it is already registered to /bin/sed This fixes [BUGID #478] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* gstreamer: add support for theora pluginsDongxiao Xu2010-10-184-4/+32
| | | | | | | Add theora codec and its corresponding lib recipe (import from OE). This fixes [BUGID #476]. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* wrs_meta: update SRCREV for netfilter optionsBruce Ashfield2010-10-181-1/+1
| | | | | | | | | | | Fixes [BUGID #199] Updating the SRCREV for wrs_meta to import a set of default netfilter options, which can then be applied to any BSP. This keeps the default BSP configs small, while allowing the functionality to be available. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kernel tools: update SRCREVBruce Ashfield2010-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [BUGID #199] To allow optional features to be enabled for a given BSP, we need to re-enable this functionality in the kernel tools. The following commit in that repo fixes a problem when passing feature names: [ commit 140693a6b0d81b7ba7175b6cfce11c6c22f81e24 Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Sun Oct 17 01:22:00 2010 -0400 updateme: do not expand directories If a directory is passed to updateme, do NOT expand it to a full path, the compilation phase will search and do this while applying some special logic to find properly named features. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-wrs: pass netfilter options as an addon featureBruce Ashfield2010-10-181-0/+1
| | | | | | | | | | | | Fixes [BUGID #199] Although an optional feature to a base BSP, most of the machines currently supported want/need the netfilter options. To enforce this configuration, it is temporarily forced in the kernel recipe itself, but can move to machine configurations in the future. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-wrs: allow optional features via KERNEL_FEATURES variableBruce Ashfield2010-10-181-2/+5
| | | | | | | | | | | | | | | | | | | | Fixes [BUGID #199] Reinstate the ability to specify optional/additional kernel features when updating the tree. This is done via the variable KERNEL_FEATURES which specifies a list of features to be appended to the current branch and config. These features are part of the wrs_meta branch in the kernel repository and hence are self contained within the kernel tree waiting to be activated. This saves multiple branches simply to allow a machine to have many profiles. The kernel patching/configuration phases will locate these features and add them to the meta_series, which in turn modifies the tree. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* distrodata: Modify Distro tracking spreadsheetSaul Wold2010-10-153-19/+60
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* distro_tracking: Update Distro AliasesSaul Wold2010-10-151-32/+60
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* task-poky-sdk: Add lttng-ustRichard Purdie2010-10-153-2/+11
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* libtasn1: Comment out the RREPLACES as it causes problems with rpm backendRichard Purdie2010-10-151-2/+2
| | | | | | | | | Since we've never distributed binary feeds this isn't a problem for now for Poky and as it stands this line breaks images. [BUGID #442] Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* poky.conf: Add qemu-config dependency for qemux86-64Richard Purdie2010-10-151-0/+1
| | | | | | | | | After booting qemux86-64 sato image, there is no icon for shutdown on the desktop which is caused by missing the qemu-config package on this machine. [BUGID #458] Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* shared-mime-info: Don't run the util for the native version of the packageRichard Purdie2010-10-151-5/+11
| | | | | | | | | | | The whole point of building a native version of this package is to provide the share-mime-info binary so using it in do_install of the native package is incorrect. Add a modified do_install for the native version of the package to avoid this. [BUGID #466] Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* documentation/poky-ref-manual: Various tweaks to the textRichard Purdie2010-10-159-55/+39
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* documentation/tools: Add comments to scriptRichard Purdie2010-10-151-1/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* libffi: fix the uriJoshua Lock2010-10-151-1/+1
| | | | | | It had the previous version hard-coded Signed-off-by: Joshua Lock <josh@linux.intel.com>
* documentation: Complete poky-handbook -> poky-ref-manual renameRichard Purdie2010-10-157-27/+14
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* documentation/handbook: Tweak Makefiles and paths after path changesRichard Purdie2010-10-155-8/+12
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* handbook/poky-ref-manual: Makefile tweaksRichard Purdie2010-10-151-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* handbook: Move into documentation directoryRichard Purdie2010-10-1546-43/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Use gdk_threads_enter/gdk_threads_leave to ensure gtk multithread safeDongxiao Xu2010-10-159-1/+40
| | | | | | | | | | | If the video player tries to play an unknown type file, it will enter the error_cb() function, which is called in another thread. Use gdk_threads_enter/gdk_threads_leave to ensure the safe of gtk multi-thread operation. This fixes [BUGID #474] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* libffi: bumpt to version 3.0.9Joshua Lock2010-10-151-0/+0
| | | | | | 3.0.8 is incompatible with the autotools versions we use in Poky Signed-off-by: Joshua Lock <josh@linux.intel.com>