Commit Graph

7347 Commits

Author SHA1 Message Date
Koen Kooi 8e51f52dc5 cross-canadian bbclass: replace hardcoded -pokysdk with SDK_VENDOR
Signed-off-by: Koen Kooi <k-kooi@ti.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-03 12:58:23 +00:00
Richard Purdie eb9c2b0cc9 openssl: Use STAGING_BINDIR_NATIVE as the path to perl, not bindir which can point to incorrect places
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-03 10:06:02 +00:00
Richard Purdie ecf2eb1efa sstate: Provide a temporary mechanism to stop collisions between toolchain components in builds from scratch using sstate
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 13:18:07 +00:00
Richard Purdie 6a8fec9675 external-python-tarball: Include SDKMACHINE in tarball name
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 13:15:42 +00:00
Richard Purdie d45af98d01 external-python-tarball: Add ability to generate an externally usable standalone python tarball
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 13:11:37 +00:00
Richard Purdie 30feed75df openssl/db/gdbm: Extend to provide BBCLASSEXTEND nativesdk
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 13:10:36 +00:00
Richard Purdie 8238ee666e python: Remove hardcoded python references and replace with PN, allowing use of BBCLASSEXTEND=nativesdk
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 13:08:49 +00:00
Richard Purdie a9c46e44d4 base/utils.bbclass: Sync up overlapping functions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 11:50:50 +00:00
Richard Purdie 26a4b23220 utils.bbclass: Add functions from OE.dev
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 10:33:52 +00:00
Richard Purdie c299112c95 gnome.bbclass: Remove autotools_stage reference
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 10:15:27 +00:00
Richard Purdie 55999637d6 gnome.bbclass: Use BPN instead of PN and set SRC_URI name similar to OE.dev
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 10:11:05 +00:00
Richard Purdie c90c0ceca5 base-files: Allow a basic issue file to be extended by the code, following the method now used by OE
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 09:20:46 +00:00
Richard Purdie 904ccfe1c6 base-files: Allow issue and hostname generation to be overridden
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02 09:08:11 +00:00
Richard Purdie f71326ef9f src_distribute: Set EXPORT_FUNCTIONS correctly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-01 10:48:43 +00:00
Richard Purdie 724088189e Poky -> Yocto name change
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-27 07:54:03 +01:00
Richard Purdie 74e47d42d6 rm_work.bbclass: Handle case where pseudo directory doesn't exist
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-23 00:56:38 +01:00
Richard Purdie ab718b337c package_deb: The packaging command itself is run under fakeroot so these lines are totally unneeded
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-22 23:05:45 +01:00
Zhai Edwin 8109db28bb Fix adding new contact failure when starting contacts for the 1st time
When contacts called for the 1st time, adding new contact always failed but
worked after restart. The reason is e-addressbook-factory used to handle
addressbook leads a segmentation fault. Root cause is that factory would
create the data base if not exist, but use it without proper
initialization.

[BUGID #455] got fixed by this.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2010-10-22 17:00:25 +01:00
Richard Purdie 48b42dae51 classes: Only enable fakeroot on setscene tasks with packaging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-22 16:34:06 +01:00
Richard Purdie 3f599b3f6a sstate: Fix mirror handling for file:// urls
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>
2010-10-22 14:48:54 +01:00
Richard Purdie 36f1ae42fe pseudo/fakeroot: Move the pseudo directory creation into bitbake
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>
2010-10-22 13:00:40 +01:00
Richard Purdie 00a96a2099 package_deb: Fix a typo meaning the debian packaging was not running in the fakeroot evnironment
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-22 12:59:54 +01:00
Richard Purdie 13f116b1ad package_rpm: Don't check for the existence of dvar as its never used
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>
2010-10-22 12:56:20 +01:00
Richard Purdie 6e277cb014 base.bbclass: Ensure an empty do_build tasks exists to silence a warning
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>
2010-10-22 12:53:36 +01:00
Richard Purdie f806c499c0 sstate: Fix broken plaindirs support
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>
2010-10-22 12:51:35 +01:00
Mark Hatle 08425b597c at: Fix nonstripbinaries.patch
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>
2010-10-22 10:25:33 +01:00
Dexuan Cui 0068e55d8f libtheora: add DEPENDS on libogg
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>
2010-10-22 10:24:10 +01:00
Richard Purdie fd4457199e base/sstate: Add cleanall task to remove downloads and sstate cached files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-22 10:22:34 +01:00
Richard Purdie 2a69c58046 local.conf.sample: Default to not building 32 bit libs on 64 bit systems as most people don't need it and it confuses them
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-21 23:28:14 +01:00
Richard Purdie d5504a4275 metadata_scm: Ensure that if an SCM isn't present, we dont print a revision of 'fatal:' as it looks bad
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-21 23:26:40 +01:00
Mark Hatle f1a209b142 busybox/sysklogd: syslog.conf files
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>
2010-10-21 14:05:57 +01:00
Bruce Ashfield 70c7712308 gst-ffmpeg: powerpc build errors
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>
2010-10-21 13:52:01 +01:00
Bruce Ashfield 8aa0c8c6cf mpc8315e-rdb: align PACKAGE_EXTRA_ARCHS with tuning
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>
2010-10-21 13:52:01 +01:00
Mei Lei 0e0d14ed1e at: remove nonrootinstall patch and modify some relevant files
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>
2010-10-21 13:52:01 +01:00
Joshua Lock 27d06858b5 gnome-icon-theme: fix build
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>
2010-10-20 22:30:01 +01:00
Richard Purdie 980e0cec49 bash: There is no such configure option as --with-ncurses and --with-curses breaks the build
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-20 21:55:51 +01:00
Joshua Lock 1d5567c43d poky-default-revisions: define SRCREV for pseudo-nativesdk
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-10-20 17:49:59 +01:00
Qing He 5ee6384d99 nfs-utils: fix nfs server initscript
fixes [BUGID #483]

Signed-off-by: Qing He <qing.he@intel.com>
2010-10-20 10:27:34 +01:00
Qing He 9393ff833f bash: fix job control
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>
2010-10-20 10:27:19 +01:00
Richard Purdie 340ff263ca task-sdk: Fix lttng-ust dependency to include the -dev version so headers are included
[BUGID #425]

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-19 20:52:49 +01:00
Yu Ke 4f7d621db6 sysklogd: correct the syslog link and conf file
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>
2010-10-19 20:29:59 +01:00
Bruce Ashfield c41fe30640 wrs_meta: emenlow updates
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>
2010-10-19 20:29:25 +01:00
Saul Wold ef670167cd rpm: Change pcre to use internal library [BUGID #404]
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-10-18 11:33:27 -07:00
Kevin Tian daca4c7469 sed: use ALTERNATIVE_LINK
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>
2010-10-18 10:10:36 -07:00
Dongxiao Xu 644e54fef9 gstreamer: add support for theora plugins
Add theora codec and its corresponding lib recipe (import from OE).
This fixes [BUGID #476].

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-10-18 11:27:31 +01:00
Bruce Ashfield f8c6335e95 wrs_meta: update SRCREV for netfilter options
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>
2010-10-18 01:17:46 -04:00
Bruce Ashfield 3d91a51a8e kernel tools: update SRCREV
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>
2010-10-18 01:17:46 -04:00
Bruce Ashfield 64bb014ea6 linux-wrs: pass netfilter options as an addon feature
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>
2010-10-18 01:17:46 -04:00
Bruce Ashfield 1dc2a4c17b linux-wrs: allow optional features via KERNEL_FEATURES variable
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>
2010-10-18 01:17:46 -04:00
Saul Wold 77176d56fd distrodata: Modify Distro tracking spreadsheet
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-10-15 13:55:46 -07:00