Mark Hatle [Wed, 4 Aug 2010 13:36:30 +0000 (06:36 -0700)]
base.bbclass: Enable fakeroot (pseudo) usage during install and packaging
Use the virtual fakeroot program when installing a package and also
during packaging. This is important as it allows us to track full
permissions, owners, groups and special files generated by packages.
utils: Fix number of arguments to bb.msg functions
the 'fn' argument of them is not used, should be removed anytime:
sed -i -e
'/^def.*fn/s/,[[:space:]]*fn[[:space:]]*=[[:space:]]*None[[:space:]]*)/)/g'
lib/bb/msg.py
Chris Larson [Thu, 22 Jul 2010 17:54:58 +0000 (10:54 -0700)]
Let the runqueue find the user selected scheduler dynamically
Searches the module (bb.runqueue) for any new style classes which are
instances of RunQueueScheduler, and uses the one whose 'name' attribute
matches the value of BB_SCHEDULER.
Kevin Tian [Mon, 2 Aug 2010 12:24:09 +0000 (20:24 +0800)]
mesa-dri: fix x86-64 target compilation
mesa-dri first generates glsl compiler and then use it to compile GL
shader sources. Target glsl compiler can't run on build system, and
thus port from openembedded by introducing a native recipe dedicated
to creating a native glsl-compiler.
This has to be an explicit -native recipe since its un-native sibling
is already part of mesa-dri
Scott Garman [Thu, 29 Jul 2010 18:20:16 +0000 (11:20 -0700)]
local.conf.sample: Use ?= when setting SDKMACHINE
This is a more sensible default which is also needed when using our
autobuilder configuration, which changes SDKMACHINE between builds by
setting an environment variable.
Also made spacing around = more consistent for a couple of other
variables.
Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Jeff Dike [Fri, 30 Jul 2010 04:07:56 +0000 (00:07 -0400)]
xserver-xf86-config: netbook - merge the two ServerFlags sections
A previous commit added AutoAddDevices as a separate ServerFlags
section. This is apparently overridden by the one at the end of the
file, so they need to be merged.
Dexuan Cui [Fri, 30 Jul 2010 03:09:53 +0000 (11:09 +0800)]
tcf-agent: fix the init script: remove the "-s SSL:" option
[BUGFIX#158] tcf-agent launched with misleading options
In the commit 90e80aafbd244b00c2ced995feb73af4a739279b, with the image built by
poky-image-sdk(MACHINE=qemux86), tcf-agent is launched automatically with
the option "-s SSL:" in script /etc/init.d/tcf-agent, which is misleading to
users. This option tells the agent to use SSL instead of TCP for communication.
Because tcf-agent is not built with the SSL option enabled (libssl is not
installed in the target), the agent will fall back to TCP.
This could be misleading to users, so we may as well remove it.
Thanks Lianhao Lu for reporting the bug and clarifying it.
Add conf/distro/include/private/distro_sdk_tools.inc;
Move some sdk tools from distro_x11_libs.inc to the new .inc file;
Add tracking info for lttng-ust.
Yu Ke [Tue, 27 Jul 2010 08:05:29 +0000 (16:05 +0800)]
avahi: fix the /var/run conflict with other package
avahi will create an empty /var/run dir, which will conflict with base-files package.
This patch fix this by using populate-volatiles.sh approach recommended by OE handbook.
Jeff Dike [Tue, 27 Jul 2010 22:26:24 +0000 (18:26 -0400)]
xserver-xf86-config: Add a netbook xorg.conf with an extra option
The X server on some netbooks don't interact well with HAL with their
keyboard or mouse and consequently one or both is unusable. This
patch adds AutoAddDevices = False to a new netbook-specific
xorg.conf. If this breaks any systems which currently work, we'll
have to figure out what's really going on with hotplug and the X
server.
Jeff Dike [Tue, 27 Jul 2010 21:43:14 +0000 (17:43 -0400)]
emenlow: linux - add enough config options to boot a live image
USB_STORAGE is needed to see a USB key in the first place.
BLK_DEV_INITRD and RD_GIP are needed to read the initrd in the image.
BLK_DEV_RAM and BLK_DEV_LOOP enable the ramdisk and loop devices used
during boot.
NLS_CODEPAGE_437 and NLS_ISO8859_1 are needed by vfat in order to
mount the filesystem on the key.
Kevin Tian [Tue, 27 Jul 2010 06:45:10 +0000 (14:45 +0800)]
bitbake.conf: change inode calculation for genext2fs [BUGFIX#138]
genext2fs 1.4.1 creates minimal inode number based on specified rootfs
directory. This is desired in some embedded devices as storage/memory
are precious. However it's not suitable in development phase where target
rootfs may be changed heavily on the fly (remote debug, test, ...).
Sometimes this may even cause "No space on device" error due to limited
free inodes exhaulted at the 1st boot.
Here a new option is added to allow falling back to original 1.3 behavior,
i.e caculating inode number based on specified bytes-per-inode parameter.
Kevin Tian [Mon, 26 Jul 2010 07:05:40 +0000 (15:05 +0800)]
utility-tasks.bbclass: miscellaneous fix
Fix parse error with packages such as spectrum-fw whose name has no
version string. Later we may have per-recipe option to disable automatic
check for those known with troubles, to reduce complexity in this part.
Kevin Tian [Mon, 26 Jul 2010 05:14:13 +0000 (13:14 +0800)]
cmake: only search root directory for FIND_***
default cmake behavior for FIND_***, is to first search listed directories prefixed
with CMAKE_FIND_ROOT_PATH, and if not found then go to unprefixed directories. This
is not desired as build system may be referenced.
this commit refine the search path only on prefixed directories, and thus fix
libmusicbrains build failure on some systems
Dexuan Cui [Fri, 23 Jul 2010 12:23:33 +0000 (20:23 +0800)]
tcf-agent: add the latest version 0.3.0+svnr1078
install a proper script /etc/init.d/tcf-agent
make it autostart in runlevels 3 and 5
Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Imported OE patches into the poky recipes.
- Use elfutils instead of libelf
Converted OE's svn source into tar ball & a patch.
Added a patch to revert the baseversion to 4.5.0
Merge OE & poky extra_oeconf_options
Fix the zlib (inside gcc) make issue by providing the --with-system-zlib switch in EXTRA_OECONF
Found out that some header file dirs were soft linked to non-existing
locations like c_std. Changed the configure options to point them to
existing locations like c_global.
gcc-cross-canadian_4.5.0: fix configure issue
Thanks to Saul Wold for providing poky gcc patches rebased to the 4.5.0
sources.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Import the recipe from OE
Upgrade from 0.8.1 to 0.8.2, and it solved the build failure
Cleaned up the libmpc-native recipe for poky tree
Add nativesdk target for gcc-cross-canadian_4.5.0
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Mark Hatle [Thu, 22 Jul 2010 17:37:30 +0000 (10:37 -0700)]
meta/conf/bitbake.conf: Configure pseudo to not expand symlinks
When using the fake chroot ability of pseudo, it will expand absolute
symlinks to their full non-fake path by default. The simple change disables
that behavior, as it is undesired when generating a rootfs.
Mark Hatle [Tue, 20 Jul 2010 19:57:19 +0000 (12:57 -0700)]
meta/classes/rootfs_rpm.bbclass: re implement base on rpm5
Re implement the rootfs generation using rpm5. This also gets rid of the
need for yum, and handles all dep resolving internal to the script itself.
The new file scripts/rootfs_rpm-extract-postinst.awk comes from the original
yum integration work. It has been unchanged, but since yum is no longer used
we needed to move the script somewhere else.
New dependency on libfm & menu-cache, which are added in previous commits
following patches are removed as they either don't apply or this new version
has no those problems:
desktop.patch
no-fam.patch
no-warnings.patch
pcmanfm-mips-fix.patch
the pending one is aowl-window-menu.patch, which need more work as the sources
have changed a lot. So far w/o this patch it still works. but we need more
verification later
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Qing He [Wed, 21 Jul 2010 05:34:35 +0000 (13:34 +0800)]
udev: upgrade to version 158
older versions are kept untouched for now
changes:
- udev has diverged a lot, the udev.inc was based on a quite dated
version, thus doesn't reflect current status of udev, create a
new include file udev-new.inc to adapt
- separate libudev{,-dev,-dbg} apart from udev
- --with-udev-prefix is removed. change ${libexecdir} to
${base_libdir}/udev, which is described in INSTALL file.
- udev.pc is provided in ${datadir}/pkgconfig, since it's used
to indicate the existence of udev itself instead of development
headers and libs, pack it in udev instead of udev-dev
- udev-extras is disabled since we are missing libacl, this also
means gudev is missing as for now
- other cleanups, e.g. do_stage, do_install, EXTRA_OEMAKE
todo:
- udev-extras
- remove old udev versions
- rebase udev-145 on udev-new.inc as well