Commit graph

749 commits

Author SHA1 Message Date
Richard Purdie
4d503cfa06 native.bbclass: Drop INHIBIT_NATIVE_STAGE_INSTALL function and wrap logic in a do_stage_native() wrapper which packaged-staging can detect
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-11 14:43:45 +01:00
Richard Purdie
f80563c9cf cpan_build.bbclass: Just write a do_stage function, INHIBIT_NATIVE_STAGE_INSTALL isn't particuarly useful
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-11 14:41:50 +01:00
Richard Purdie
f187869891 pkgconfig.bbclass: Drop strange unneeded inherit base
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-11 11:55:24 +01:00
Richard Purdie
f1619b3567 packaged-staging.bbclass: Fix accidental debug addition
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-08 17:36:08 +01:00
Richard Purdie
1a21e6e2d5 packaged-staging.bbclass: Add support for mangling .la files so the staging directory path can change. Someday libtool will support sysroot but until then...
Signed-off-by: Richard Purdie <richard@ted.(none)>
2009-06-04 20:46:09 +01:00
Richard Purdie
f2a9705633 sanity.bbclass: Really fix TMPDIR change warning message
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-28 21:32:30 +01:00
Richard Purdie
ec4d79ddc8 sanity.bbclass: Fix the warning message above tmpdir moving to point to the correct path
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-23 10:56:21 +01:00
Richard Purdie
a811131e69 base.bbclass: Update to work with systems where install won't overwrite files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-19 12:09:21 +01:00
Richard Purdie
3927e38eba Merge ssh://gitserver@git.pokylinux.org/poky 2009-04-28 08:24:11 +01:00
Koen Kooi
f94bd6b312 package bbclass: add an 'allow_links' param to get symlinks packaged, usefull for splitting out libraries 2009-03-11 12:05:53 +01:00
Robert Schuster
58ffd5a0ed base.bbclass: Add subdir feature to SRC_URI entries (from OE) 2009-03-11 12:03:25 +01:00
Richard Purdie
be10b46b73 base.bbclass: Use explode_deps from bb.utils and remove the obsolete base.bbclass version 2009-02-05 23:54:11 +00:00
Richard Purdie
c2c16bced8 base.bbclass: Move package metadata handling functions into their own class file 2009-02-05 23:54:11 +00:00
Damien Lespiau
bcf14a38d5 sanity.bbclass: Fix error message when not having g++ on build 2009-02-04 09:47:35 +01:00
Richard Purdie
c92acf4b05 image.bbclass: Use IMAGE_ROOTFS_SIZE if the image will fit into it and only add extra space if the image is too small (ported from OE by hrw) 2009-01-23 16:24:46 +00:00
Richard Purdie
b74734d8c9 poky-image/moblin-image.bbclass: Fix a typo noticed by Mike Turquette 2009-01-23 16:03:58 +00:00
Richard Purdie
aa8de0e941 mozilla.bbclass: Fix pkgconfig usage for pkgconfig sysroot 2009-01-23 15:51:44 +00:00
Richard Purdie
98fa049ba0 sdk.bbclass: Ignore -sdk suffix warnings for gcc-cross-sdk 2009-01-16 15:40:49 +00:00
Richard Purdie
30238161a6 image.bbclass: Generate the image after running the kernel modules and ldconfig commands, not before 2009-01-07 16:31:48 +00:00
Richard Purdie
0341841061 update-rc.d.bbclass: Only change the main package RDEPENDS, not all the RDEPENDS as this affects things like the -doc packages 2009-01-07 16:30:28 +00:00
Richard Purdie
7b281a3924 native.bbclass: Add virtclass-native to OVERRIDES and use in fakeroot to function correctly 2009-01-05 22:00:22 +00:00
Richard Purdie
e247f22c27 sdk.bbclass: Don't special case virtual/ dependencies as this breaks things like libx11 2009-01-05 15:59:22 +00:00
Richard Purdie
fb9196ddcf native.bbclass: Handling remapping of PROVIDES similar to sdk.bbclass 2009-01-05 15:57:50 +00:00
Richard Purdie
f091e6c78a Remove unneeded S variables 2009-01-03 18:34:00 +00:00
Richard Purdie
c4a39f6417 zlib: Clean up recipe and use BBCLASSEXTEND for native and sdk versions 2009-01-03 17:31:17 +00:00
Richard Purdie
ee0faf1346 native/sdk.bbclass: Handle DEPENDS and PROVIDES fields magically, remove a number of xorg sdk and native packages replacing with BBCLASSEXTEND 2009-01-03 16:25:39 +00:00
Richard Purdie
01793c5bd3 base.bbclass: Remove pointless expand call 2009-01-02 11:18:42 +00:00
Richard Purdie
3ab2ff7668 base.bbclass: Add metadata revision handling for git (from OE) 2009-01-02 11:09:04 +00:00
Richard Purdie
1d89595e2b base.bbclass: Add unpack handling for .jar files (from OE) 2009-01-02 10:35:32 +00:00
Richard Purdie
94c895aad5 bitbake.conf: Create BPN variable containing the pruned version of PN with various suffixes removed and use this for S and FILESPATH. This uses naming from OE but with improved code 2009-01-02 10:15:45 +00:00
Richard Purdie
e380b48602 classes/autotools_stage.bbclass: Add autotools_stage class to simplify recipes using standard autotools 2008-12-30 17:07:04 +00:00
Richard Purdie
13ee3030f3 image.bbclass: Fix typo 2008-11-10 21:47:49 +00:00
Richard Purdie
793dc948e6 image.bbclass: Add function to write out an image manifest 2008-11-10 21:39:34 +00:00
Samuel Ortiz
e437435158 bootimg: Let mkdosfs choose between fat12 and fat16 2008-11-10 19:26:19 +01:00
Samuel Ortiz
31aee0a9f9 image.bbclass: Add routine for disabling x startup when needed 2008-11-10 17:21:10 +01:00
Samuel Ortiz
1782861e45 Add missing ";" to the ROOTFS_POSTPROCESS_COMMAND string 2008-11-10 17:19:26 +01:00
Richard Purdie
826cd19f04 meta/classes/rootfs_*.bbclass: Fix unset variable 2008-11-07 13:59:12 +00:00
Joshua Lock
5ef71a4121 distutils.bbclass: Remove .pyo object files before packaging. 2008-11-07 13:42:36 +00:00
Richard Purdie
436c5f4716 classes: Add mechanism to install packages into images only if they've been built 2008-11-06 16:23:32 +00:00
Samuel Ortiz
faae7d38e6 bootimg: As image size grows, we want to switch to FAT16 2008-11-06 11:25:34 +01:00
Richard Purdie
7fdff0f3cd base.bbclass: Improve the git proxy syntax to match the http/ftp syntax too 2008-11-04 19:13:25 +00:00
Richard Purdie
e0dab8bda5 packaged-staging.bbclass: Ignore errors resulting from parallel threads clashing 2008-11-04 17:34:45 +00:00
Richard Purdie
4a3a35f81c autotools.bbclass: Handle /lib as well as /usr/lib in autotools_stage_all 2008-11-04 15:40:56 +00:00
Richard Purdie
4c626238e7 base.bbclass: Set GIT_CONFIG correctly 2008-11-04 13:32:35 +00:00
Richard Purdie
66481d67f4 base.bbclass: Fix whitepsace damage 2008-11-04 11:49:06 +00:00
Richard Purdie
2a0c668a9b base.bbclass: Create ~/.gitconfig if it doesn't already exist 2008-11-04 11:48:12 +00:00
Richard Purdie
51be1fad9c linux-simtec: Update simtec1 -> simtec3 and add COMPATIBLE_MACHINE 2008-11-04 11:43:33 +00:00
Richard Purdie
4f083a4ada packaged-staging.bbclass: Make sure target directory exists, fixing build failures 2008-11-03 17:03:27 +00:00
Richard Purdie
10fd960412 sdk.bbclass: Fix PKG_CONFIG_DIR value 2008-11-03 17:00:29 +00:00
Rob Bradford
76a7b78b40 roots_rpm.bbclass: Use opkg-native to get update-alternatives 2008-10-31 16:24:31 +00:00
Richard Purdie
efbd5e58d4 base.bbclass: Fix infinite loop 2008-10-31 14:47:22 +00:00
Richard Purdie
af861caace base.bbclass: Fix typo 2008-10-31 14:40:49 +00:00
Richard Purdie
921cbb2626 base.bbclass: Fix the git config file writing code 2008-10-31 14:38:11 +00:00
Richard Purdie
57fbc64c59 base.bbclass: Fix getVar call 2008-10-31 13:25:04 +00:00
Richard Purdie
175b45b6ec base.bbclass: Add missing import os 2008-10-31 13:19:10 +00:00
Richard Purdie
d487daccd6 base.bbclass: Add missing import bb 2008-10-31 13:07:04 +00:00
Joshua Lock
d514eeeaec base.bbclass: Additional git proxy support.
Add to the git proxy support so that the proxy configuration can be propogated to the git config (etc/gitconfig in staging).
Add support for ignored hosts in the git proxy.

Examples in site.conf.sample
2008-10-30 17:52:32 +00:00
Rob Braford
b906b0cd60 rootfs_rpm.bbclass: Disable non Poky repositories.
Only use repositories that begin "poky-feed". This prevents contamination with
system repositories.

It may be better to patch yum not to ever look in the system repository
locations (i.e. /etc/yum.repos.d).
2008-10-29 18:22:42 +00:00
Samuel Ortiz
7994045755 kernel.bbclass: We dont want to tar lib/ if we dont have any modules 2008-10-29 03:00:56 +01:00
Rob Bradford
ea868f9c9c package_rpm.bbclass: Don't use the system wide RPM macros.
This fixes the build on Fedora 10 where the RPM system macros obliterate the
value of BuildRoot that is set in the spec file.
2008-10-28 18:52:19 +00:00
Richard Purdie
774485d133 image.bbclass: Add INHIBIT_DEFAULT_DEPS 2008-10-28 15:14:00 +00:00
Samuel Ortiz
f19e4350c0 bootimg: copy rootfs to ISO image
We are only copying the initrd right now.
2008-10-27 13:44:20 +01:00
Richard Purdie
b8ff2b6cc3 base.bbclass/bitbake.conf: Fix some string quoting to handle more unusual URLs 2008-10-23 21:08:42 +01:00
Robert Bradford
7ddbeb2931 packaged-staging.bbclass: Avoid removing the staging.lock lock file.
The pstage_manualclean function can be called on a directory containing an
actively held lock on staging. Removing the lock file whilst the lock is held
results in a failure when the lock is released.

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5553 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 14:58:47 +00:00
Robert Bradford
a8644924ab base.bbclass: Output notes only on BB <= 1.8.x
With BB > 1.9 the UI can output the details of an event as it chooses. They do
not need to be converted into notes. Without this patch spurious messages are
generated on BB 1.9.

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5540 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 11:35:37 +00:00
Andrzej Zaborowski
3f93ed6bce syslinux-native: Try to make syslinux cross-compile friendly.
We only had one package for building both the bootloader and the installer,
i.e. target and host code.  It used always the host compiler.  Split the
package into syslinux and syslinux-installer-native, require both for a
cd bootable image.


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5539 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 00:22:07 +00:00
Samuel Ortiz
e1720d80de bootimg: Add symbolic links to iso and hddimg
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5535 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 11:04:51 +00:00
Richard Purdie
e0c1bd1bd1 sdk.bbclass: Rewrite PACKAGE_ARCHS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5532 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 10:43:38 +00:00
Richard Purdie
9a38dbddc0 syslinux.bbclass: Clean up boot menu title
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5521 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 08:39:34 +00:00
Richard Purdie
fe795de8f5 package_ipk.bbclass: Simplify variable expansion
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5476 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-10 11:24:33 +00:00
Richard Purdie
fc467314f8 image.bbclass: Make the kernel depmod dependent on the presence of a kernel - some images eg an initramfs don't have this
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5473 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-09 19:08:11 +00:00
Marcin Juszkiewicz
2eadfa913f image.bbclass: generate modules.dep
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5468 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-09 09:36:00 +00:00
Richard Purdie
51268c1f15 rootfs_ipk.bbclass: Don't error if the file doesn't exist
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5467 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-08 22:20:14 +00:00
Richard Purdie
7daedbf051 package_ipk.bbclass: Fix opkg config file generation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5466 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-08 19:16:08 +00:00
Richard Purdie
fb439d9bc0 package_ipk/rootfs_ipk.bbclass: Update image from feed handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5465 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-08 16:49:57 +00:00
Samuel Ortiz
4d3d6fbb41 syslinux: We forward the LABEL through cmdline
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5458 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-08 14:36:47 +00:00
Marcin Juszkiewicz
c8a3fab82f rootfs_rpm.bbclass: added code to generate images from feeds
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5436 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07 16:47:22 +00:00
Marcin Juszkiewicz
0ea7472583 rootfs_rpm.bbclass: added generation of feed entries
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5434 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07 16:21:25 +00:00
Marcin Juszkiewicz
d1a327bede rootfs_rpm.bbclass: remove temporary yum config - rootfs has one from yum package
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5433 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07 15:34:55 +00:00
Marcin Juszkiewicz
f9b9e314eb rootfs_rpm.bbclass: fix platform so rpm will be usable on device
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5432 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07 13:43:07 +00:00
Richard Purdie
559a522dc3 base.bbclass: Add automatic osc-native dependencies for osc:// recipes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5425 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07 09:25:11 +00:00
Marcin Juszkiewicz
690a699ec1 package_rpm.bbclass: save value of RPMBUILDPATH as it is needed for packaging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5413 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-03 21:32:46 +00:00
Marcin Juszkiewicz
e71b7011d4 rootfs_rpm.bbclass: remove lock files to get rpm working on device
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5412 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-03 15:23:05 +00:00
Richard Purdie
628db3a7cf package.bbclass: Ignore virtual-locale- packages when building -dev and -dbg dependency chains
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5399 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 22:05:09 +00:00
Richard Purdie
a61f5b0a77 rootfs_rpm.bbclass: Set YUM_ARCH_FORCE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5398 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 21:31:32 +00:00
Richard Purdie
19855de1e1 package_rpm.bbclass: Fix dependency rebuilding bug
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5397 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 21:31:05 +00:00
Richard Purdie
785f33dfaa package_rpm.bbclass: Fix package version fixing for PKG renamed packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5393 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 20:56:59 +00:00
Marcin Juszkiewicz
e5e21ca415 rootfs_rpm: set target architecture and do not tell yum which arch we will use
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5391 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 20:43:59 +00:00
Richard Purdie
3c5eae8fec package_rpm.bbclass: Improve handling of '-' characters in Requires and Recommends fields
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5390 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 19:57:34 +00:00
Richard Purdie
6e62524f37 base.bbclass: Add read_subpkgdata_dict function
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5389 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 19:56:43 +00:00
Richard Purdie
5bcae485f5 package.bbclass: Write out extra useful data into the pkgdata files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5388 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 19:56:19 +00:00
Marcin Juszkiewicz
2d4b12e62b rootfs_rpm.bbclass: use more efficient way to copy packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5386 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 19:02:39 +00:00
Richard Purdie
096b0cd292 packaged-staging.bbclass: Add rpm package coverage
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5382 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 15:22:10 +00:00
Richard Purdie
66d13479c4 classes: Split rpm feeds by PACKAGE_ARCH
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5381 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 15:21:36 +00:00
Marcin Juszkiewicz
9c63c7ef05 rootfs_rpm.bbclass: ship rpm and yum in target images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5380 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 14:26:38 +00:00
Richard Purdie
8626cf563c rootfs_ipk.bbclass: Fix shell commands
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5378 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 09:42:27 +00:00
Richard Purdie
beee0c51f2 rootfs_ipk.bbclass: Improve image from feed generation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5374 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 15:52:19 +00:00
Richard Purdie
39b0cfa2bd Rename FEED_URIS -> IPK_FEED_URIS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5373 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 15:42:55 +00:00
Richard Purdie
18104e1216 rootfs_ipk.bbclass: Add the hard bit of image generation from feeds, controlled by a BUILD_IMAGES_FROM_FEEDS variable
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5372 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 15:38:55 +00:00
Richard Purdie
f36ea090d1 bootimg.bbclass: Set nostamp for the bootimg task
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5369 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 13:56:29 +00:00
Marcin Juszkiewicz
3db5955abd gconf.bbclass: depend also on gconf-native
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5361 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 09:50:47 +00:00
Richard Purdie
845d2988df Revert unintended commits
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5353 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:58:43 +00:00
Richard Purdie
979f987c44 bitbake cache.py: When SRCREV autorevisioning for a recipe is in use, don't cache the recipe. Based on work from Heikki Paajanen
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5352 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:54:47 +00:00
Marcin Juszkiewicz
6ae402ea3f image.bbclass: make ext2/ext3 images autoresize
New variable IMAGE_EXTRA_SPACE contains amount of kilobytes which has
to be added to size of IMAGE_ROOTFS. Resulting size is then passed to
genext2fs util.

As a result we do not have to specify size for ROOTFS_SIZE anymore.

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5269 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-25 14:09:22 +00:00
Joshua Lock
8f8fbefd0f Initial support for netbooks with a poky-image-netbook(-live) image target.
This needs much love from folk with UI and WM skills.


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5266 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-25 09:50:05 +00:00
Richard Purdie
9a21f65eef package.bbclass: Adjust to handle split packages already being present in PACKAGES
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5177 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-10 22:29:43 +00:00
Samuel Ortiz
71a2e0d41d bootimg: Adding a rootfs to the disk image
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5172 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-10 21:19:19 +00:00
Richard Purdie
13671658cb rootfs_rpm.bbclass: Add recommends handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5158 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-08 11:19:23 +00:00
Richard Purdie
5b24b9c9fa poky.bbclass: Add https mirror source
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5155 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-07 11:18:45 +00:00
Richard Purdie
23c36b0fbf rootfs_rpm.bbclass: Fixup broken symlinks due to fakechroot and run any leftover postinstalls on real hardware at first boot
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5143 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-04 21:52:34 +00:00
Richard Purdie
9a90cab476 gconf.bbclass: Drop configure/install/upgarde checks since not all SCMs support these in postinstalls
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5137 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-04 11:34:26 +00:00
Richard Purdie
8821664fad rootfs_rpm.bbclass: Add basic postinstall handling during image creation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5134 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-03 23:22:06 +00:00
Richard Purdie
36d8198031 package_rpm.bbclass: Add support for postinst and preinst scripts
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5131 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-03 20:59:09 +00:00
Richard Purdie
6269c57167 package_rpm.bbclass: Fix problems with package version with '-' in the version (replace with '+'), improve the Requires and Recommends generation code
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5129 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-03 14:49:22 +00:00
Richard Purdie
62094355a5 syslinux.bbclass: Update to use more modern and efficient functions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5127 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-03 14:07:49 +00:00
Marcin Juszkiewicz
b8ce2fb82e package_rpm.bbclass: files needs to start from /
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5116 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-28 07:35:31 +00:00
Richard Purdie
375bf90a37 rootfs_rpm.bbclass: Remove the feed directory before packaging the image
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5112 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-26 12:26:32 +00:00
Richard Purdie
b7b95fa1df package_rpm.bbclass: Stop autogenerated dependencies for now, its not functioning correctly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5111 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-26 12:26:08 +00:00
Richard Purdie
bbdeccfd5b sanity.bbclass: Provide preserving the mmap_min_addr setting over reboots
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5106 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-26 10:23:59 +00:00
Richard Purdie
15af82a09f Add rootfs_rpm.bbclass, a start at image generation from rpms. Its not expected to be entirely functional yet.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5101 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-25 20:53:13 +00:00
Richard Purdie
317a8473c9 package_rpm.bbclass: Fix empty package handling, handle package dependency renaming by adding a missing function call and expand RPMBUILD before changing the dictonary so local PV/PR changes don't break the WORKDIR variable expansion
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5100 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-25 20:50:46 +00:00
Richard Purdie
ded39e22cd package_rpm.bbclass: Update against recent packaging changes and start to implement dependency handling. Drop pointless rpm_core class.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5067 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-18 08:01:41 +00:00
Richard Purdie
c87b3a87aa package_ipk/package_deb.bbclass: Make sure control files are properly removed fixing problems with files leaking into packages. Use core bitbake function for directory pruning
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5066 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-18 07:58:39 +00:00
Ross Burton
1e69b97184 openmoko-panel-gsm: add openmoko-panel-gsm, om-panel-plugin.bbclass, and srvrev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5038 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-08-08 14:43:09 +00:00
Marcin Juszkiewicz
5e12400fcb update-rc.d.bbclass: add code at start of post install scripts so it will be called on host
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4976 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-29 10:12:13 +00:00
Marcin Juszkiewicz
a1c0e2c8ed distutils.bbclass: fix build with new layout of staging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4967 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-28 15:12:27 +00:00
Richard Purdie
e0fdf7f653 packaged-staging.bbclass: Add OELAYOUT_ABI to the package paths so staging packages become abi specific
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4939 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-24 11:14:33 +00:00
Richard Purdie
8beb43ca48 Move SANITY_ABI to its own file and give a more general name
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4938 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-24 11:10:33 +00:00
Richard Purdie
ec1e837ff9 native.bbclass: Also override BASE_PACKAGE_ARCH
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4917 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-21 16:58:07 +00:00
Richard Purdie
e5bc47180d native.bbclass: Override BASEPKG_HOST_SYS and TARGET_SYS in the native case
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4916 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-21 16:55:16 +00:00
Richard Purdie
a16f50c49e poky-image.bbclass: Add POKY_EXTRA_INSTALL variable
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4915 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-21 16:23:03 +00:00
Richard Purdie
110830ddcb sdk.bbclass Fix after the staging layout changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4897 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-19 21:53:32 +00:00
Richard Purdie
df39b9e2c3 cross.bbclass: Preserve BASE_PACKAGE_ARCH variable when chaging HOST_ARCH
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4894 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-19 12:22:08 +00:00
Richard Purdie
a566074ef3 bitbake.conf: Split STAGING and CROSS to become target specific so armv5 binaries don't mix with armv6 or v7, likewise with the cross compilers themselves. Also move pkgdata our of staging since it follows a totally different directory structure to staging. These changes break ABI so change the ABI number
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4893 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-19 11:59:42 +00:00
Richard Purdie
d12df5427a Switch from ipkg-utils to opkg-utils
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4863 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-17 21:34:57 +00:00
Richard Purdie
ba539abf0b bitbake.conf: Set MULTIMACH_ARCH to a default value
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4861 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-17 21:28:03 +00:00
Richard Purdie
767d9ca544 Merge multimachine class into bitbake.conf and create singlemachine.bbclass as a backwards compatibility option
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4858 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-17 20:49:48 +00:00
Richard Purdie
ba239b002f package.bbclass: Skip symlinks when searching for shlib dependencies since we can cross into the build system binaries
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4838 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-15 10:56:56 +00:00
Ross Burton
285ac1c213 Add insserv
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4830 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-04 15:07:33 +00:00
Marcin Juszkiewicz
4a38dabbbf packaged-staging.bbclass: force symlinking as ipkg->opkg link can be present
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4758 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-02 07:45:51 +00:00
Marcin Juszkiewicz
7f8da38b3e packaged-staging: allow to set DEPLOY_DIR_PSTAGE in local.conf
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4754 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-01 10:33:06 +00:00
Marcin Juszkiewicz
47885dcd33 rootfs_deb: use dpkg-scanpackages as our apt-native does not have apt-ftparchive anymore
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4749 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-30 13:33:03 +00:00
Marcin Juszkiewicz
d3f559d86d package.bbclass: changed library regexp to get dependencies for opensync plugins properly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4696 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-18 08:37:33 +00:00
Marcin Juszkiewicz
da3040f297 cmake.bbclass: added version from OE + cross-compilation support
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4688 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-18 08:35:24 +00:00
Richard Purdie
30d39ad578 poky-autobuild-notifier.bbclass: Make sure the message is sent to all recipients
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4682 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-17 13:11:06 +00:00
Richard Purdie
103372246d poky-autobuild-notifier.bbclass: Fix parse error
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4681 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-17 12:01:17 +00:00
Richard Purdie
a833e9a35f classes: Add poky-autobuild-notifier class
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4679 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-17 11:46:50 +00:00
Richard Purdie
9745db65a7 packaged-staging.bbclass: Fix indentation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4647 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-13 16:21:28 +00:00
Ross Burton
168fda493a packaged-staging.bbclass: create the opkg directories as required (from Richard)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4646 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-13 16:15:47 +00:00
Richard Purdie
7438d56cae image.bbclass: Make sure DEPLOY_DIR_IMAGE exists before running image generation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4633 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-12 20:18:24 +00:00
Richard Purdie
d99418ab4a poky.bbclass: Use pokylinux.org as the source mirror
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4624 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-12 10:36:20 +00:00
Marcin Juszkiewicz
76c8b40e44 opkg prints 'loading conf' informations so we get two lines each time
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4604 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-06 14:14:59 +00:00
Marcin Juszkiewicz
8009f0e3fe rootfs_ipk.bbclass: do grep in install_all_locales just once
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4603 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-06 14:14:28 +00:00
Marcin Juszkiewicz
99e0700b4b rootfs_ipk.bbclass: reformatted install_all_locales function
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4602 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-06 14:14:10 +00:00
Marcin Juszkiewicz
eedc6b9b2f rootfs_ipk: added ROOTFS_POSTINSTALL_COMMAND
It is for functions which wants to install/remove packages after rootfs is
populated but before flags are mangled.

This can be used by 'install_all_locales' function for example.


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4601 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-06 14:13:40 +00:00
Richard Purdie
dedaeb4fcb packaged-staging.bbclass: Tweak package install command
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4598 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-06 09:52:53 +00:00
Richard Purdie
d4e39f916c rootfs_ipk.bbclass: Fix for use with lock capable opkg
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4591 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-05 21:18:11 +00:00
Marcin Juszkiewicz
8678ec5d12 rootfs_ipk.bbclass: remove opkg lists later as some rootfs postprocessing may require them
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4589 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-05 20:52:08 +00:00
Marcin Juszkiewicz
626a4ac599 rootfs_ipk.bbclass: added install_all_locales function
This code checks which packages got installed in rootfs and install
locale packages for all languages (taken from IMAGE_LOCALES).


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4588 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-05 20:51:43 +00:00
Marcin Juszkiewicz
14b747cb79 rootfs_ipk.bbclass: do not install glibc-localedata-i18n separately - language support will fetch it automatically
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4587 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-05 20:51:21 +00:00
Richard Purdie
7a9da6a049 kernel.bbclass: Sync with OE and get recent kernel i386 -> x86 fixes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4585 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-05 10:49:22 +00:00
Richard Purdie
9e6cfe2225 base.bbclass: Disable do_mrproper - it doesn't do anything sane/useful
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4563 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-29 09:28:36 +00:00
Richard Purdie
820845f6b7 packaged-staging.bbclass: The staging_packager function should not be installing the package, that is the job of the staging_package_installer() function which is called with the correct locks held
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4531 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 22:00:10 +00:00
Richard Purdie
c209f853b6 image.bbclass: Drop bbimage command
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4527 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 20:20:08 +00:00
Richard Purdie
b85bc2744a devshell.bbclass: Export needed variables
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4526 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 20:19:01 +00:00
Richard Purdie
f7dd25d3f3 image.bbclass: Fix whitespace
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4525 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 20:16:49 +00:00
Richard Purdie
fe1c075411 rootfs_deb.bbclass: Use DPKG_ARCH for the architecture field, not TARGET_ARCH since it breaks x86
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4520 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 13:17:53 +00:00
Richard Purdie
37f3bbaa41 module.bbclass: Fix external module version dependencies
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4518 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 09:35:53 +00:00
Richard Purdie
bfe8092d3b poky-image.bbclass: Correctly handle inserting package-managers into images by making it an image feature
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4517 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-20 14:58:34 +00:00
Richard Purdie
03c0969ef8 poky-image.bbclass: Remove DISTRO_TASKS variable and replace with POKY_BASE_INSTALL
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4516 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-20 14:56:00 +00:00
Richard Purdie
6a468efd9a rootfs_deb.bbclass: Use /var/dpkg for dpkg status data
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4511 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-20 14:16:48 +00:00
Richard Purdie
8b60069706 rootfs_deb: Export OPKG_OFFLINE_ROOT for update-alternatives fixing dpkg rootfs generation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4506 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-20 10:08:34 +00:00
Richard Purdie
d35f304c2a gtk-icon-cache.bbclass: Using dashes in shell function names is a really bad idea
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4505 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-20 08:40:02 +00:00
Richard Purdie
7d4beb21d5 packaged-staging.bbclass: Make the class compatible with opkg, ipkg and ipkg-sh and allow auto switching between whichever is available. Fix task dependencies in BB_STAMP_POLICY == whitelist case. Remove now unneeded basic dependencies.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4492 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-18 21:24:41 +00:00
Richard Purdie
aa3141e979 image.bbclass: Fix locking so multiple image targets work
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4491 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-18 17:56:29 +00:00
Richard Purdie
9909e989d9 patch.bbclass: Make it possibe to override the patch dependency
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4489 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-18 16:22:21 +00:00
Richard Purdie
f0e154b9f9 packaged-staging.bbclass: Execute staging_helper earlier to make sure the configuration file exists when needed. When installing the package after building make sure the control and list files are created. Use stage-manager-ipkg-build instead of needing ipkg-utils-native
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4488 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-18 14:12:15 +00:00
Richard Purdie
4c664f698c packaged-staging.bbclass: Improve postamble exit code handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4484 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-16 07:18:42 +00:00
Richard Purdie
9b6d8f4400 classes: Add gtk-doc.bbclass
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4479 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-15 14:11:13 +00:00
Richard Purdie
a71df5506a packaged-staging.bbclass: Add code to handle checking the stamp dependency tree properly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4472 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-14 16:50:51 +00:00
Richard Purdie
7564d63ba5 base.bbclass: Add sanity check for multiple file matches to oe_libinstall from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4460 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-12 14:10:06 +00:00
Richard Purdie
b6fefce736 autotools.bbclass: Switch stage_autotools_all to change la files itself and to stop using oe_libinstall
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4459 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-12 13:09:17 +00:00
Richard Purdie
1b969af1b9 sanity.bbclass: Sync with OE, introduce TMPDIR ABI versioning, drop bitbake 1.8.6 cruft, only run the mmap_min_addr check on ARM when we need to run binary locale generation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4450 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-07 09:49:38 +00:00
Richard Purdie
f7cabaae53 sanity.bbclass: Add check of the /proc/sys/vm/mmap_min_addr value and warn if its potentially problematic
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4448 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-07 09:31:43 +00:00
Ross Burton
8076a7b88a base.bbclass: don't add shasum-native dependency if we are building shasum-native
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4444 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-06 15:43:12 +00:00
Richard Purdie
be886a8b1b autotools.bbclass: There is no need to use the strange -t option to cp anymore
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4442 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-06 14:18:01 +00:00
Richard Purdie
3b53488987 bitbake.conf/siteinfo.bbclass/package.bbclass: Add in support for 'darwin8'
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4424 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-05 22:19:28 +00:00
Richard Purdie
2fdb008097 poky.bbclass: Fix mirror URLs
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4414 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-05 14:25:07 +00:00
Richard Purdie
cd4e478699 packaged-staging.bbclass: Set BB_STAMP_WHITELIST with packaged-staging tasks, update package location code to deal with packaged which don't exist, preserve stamp timestamps when copying them
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4410 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-04 23:16:40 +00:00
Richard Purdie
317b53682e sdk.bbclass: Instead of changing HOST_VENDOR which badly affects gcc compilation, modify STAGING_DIR_HOST.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4406 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-02 12:44:57 +00:00
Richard Purdie
1122b0093f packaged-staging.bbclass: Fixup do_prepackaged_stage references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4402 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 16:46:49 +00:00
Ross Burton
06fd2b6aaf base.bbclass: only depend on shasum-native if we don't have hashlib
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4389 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 11:42:24 +00:00
Ross Burton
6697984ca2 sanity.bbclass: we don't use the md5sum binary any more, remove it
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4388 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 11:01:16 +00:00
Ross Burton
9fb8bc41bf When checksuming tarballs use bb.utils.*_sum instead of calling commands directly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4387 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 11:00:27 +00:00
Richard Purdie
b4ebeec27e packaged-staging.bbclass: Fix variable name typo
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4375 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-30 15:16:45 +00:00
Richard Purdie
9b0fe9f375 packaged-staging.bbclass: Fix install race, improve staging cleaning functions.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4358 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-28 10:31:26 +00:00
Richard Purdie
e1fcc01376 base.bbclass: Remove unneeded imports
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4356 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27 20:41:01 +00:00
Richard Purdie
d10b26644b base.bbclass: Add checkuri/checkuriall tasks to check validity of upstream source URLs
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4353 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27 11:28:34 +00:00
Richard Purdie
192e4fb821 base.bbclass: Add setscene task to handle preparing the work area at the start of a given task, fixing the handling of the rebuild task. This task removes the need for do_prepackaged_stage in packaged-staging.bbclass.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4351 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-27 10:48:16 +00:00
Richard Purdie
54b240ec36 base.bbclass: Prefer gcc 3.4.6/7 over 3.4
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4341 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-25 15:32:45 +00:00
Richard Purdie
c7005b7540 packaged-staging: Make sure the task is part of the default tasks chain
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4314 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-23 08:43:53 +00:00
Richard Purdie
1e53b0f578 insane.bbclass: Drop pointless QA_LOG variable, add QA_LOGFILE so QA errors can optionally end up logged in one place for ease of reference. Add sanity check searching for tmpdir references within built packages, not fatal at present.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4309 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-22 21:22:11 +00:00
Richard Purdie
9dc0c9fe0f classes: Add packaged-staging.bbclass (from OE.dev)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4308 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-22 14:42:08 +00:00
Richard Purdie
a06b6cb530 base.bbclass: Fix dependency_libs libtool mangling regexp
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4306 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-22 12:48:30 +00:00
Richard Purdie
7445d676db sanity.bbclass: Add a check for dash as /bin/sh and error if found
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4298 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-21 22:53:20 +00:00
Marcin Juszkiewicz
02a180ab6f package.bbclass: unbreak
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4242 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-11 20:37:51 +00:00
Richard Purdie
028178b722 package.bbclass: Add patch to try and handle dynamic librbary dependencies on darwin through libtool
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4237 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-11 15:19:45 +00:00
Richard Purdie
90c86153a7 image.bbclass: Run runtime_mapping_rename over PACKAGE_INSTALL so debian renaming doesn't break the variable
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4211 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-08 17:23:04 +00:00
Richard Purdie
1803f03b91 kernel-arch.bbclass: Sync with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4210 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-08 15:37:41 +00:00
Richard Purdie
30f83b301c kernel.bbclass: Use INHIBIT_DEFAULT_DEPS to drop virtual/libc dependency since the kernel doesn't need it
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4209 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-08 15:31:57 +00:00
Marcin Juszkiewicz
fd652ded2e insane.bbclass: use 'desktop-file-validate' from staging not from host system
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4159 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-03 05:17:32 +00:00
Marcin Juszkiewicz
40eb81cc21 cpan.bbclass: remove bashisms
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4153 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-01 09:37:34 +00:00
Marcin Juszkiewicz
e06e7e8cbf kernel.bbclass: use u-boot-mkimage-native for uImage kernels (from linux.inc)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4116 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-25 15:48:26 +00:00
Richard Purdie
8d715a27d0 autotools.bbclass: Drop enable-maintainer-mode until such times as its been tested properly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4109 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-21 00:24:24 +00:00
Marcin Juszkiewicz
d128d6fc75 rootfs_ipk.bbclass: new update-alternatives script use OPKG_OFFLINE_ROOT (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4108 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-20 17:17:08 +00:00
Ross Burton
121b6e1c94 autotools.bbclass: fix typo in --enable-maintainer-mode
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4107 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-20 16:30:21 +00:00
Richard Purdie
e8efeb30d1 kernel.bbclass: Add staging hooks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4100 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-20 11:39:26 +00:00
Richard Purdie
013882eb9a autotools.bbclass: Add autotools_stage_dir to help staging directories and increase list of directories to stage (include base_sbin, base_bin and libexec)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4098 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-20 10:52:05 +00:00
Marcin Juszkiewicz
849af9b2a4 native.bbclass: fix do_stage (s/"]/" ]/) - taken from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4096 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-20 07:15:35 +00:00
Richard Purdie
d36c1d83f5 autotools.bbclass: Some further tweaks to autotools_stage_all
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4080 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 20:30:30 +00:00
Richard Purdie
69215b0451 autotools.bbclass: Fix typos
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4079 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 20:25:28 +00:00
Richard Purdie
80ec6694d7 autotools.bbclass: Handle case where is an empty directory
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4078 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 20:19:50 +00:00
Richard Purdie
b26a7c4be9 autotools.bbclass: autotools_stage_all - improve handling of datadir
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4077 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 20:07:47 +00:00
Richard Purdie
b02d95a61f autotools.bbclass: Add handling binary staging capability to autotools_stage_all for compatible binaries fixing various -native package issues
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4075 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 17:53:44 +00:00
Richard Purdie
51fc436f35 base.bbclass: Sync with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4064 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 16:07:25 +00:00
Richard Purdie
4b55118c3c cpan.bbclass: Fix native staging functions (sync with OE.dev)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4063 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 16:07:05 +00:00
Richard Purdie
7c097c7812 package.bbclass: Sync with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4062 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 16:05:35 +00:00
Richard Purdie
b1e715e233 insane.bbclass: Sync with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4060 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 15:53:07 +00:00
Richard Purdie
38854a1101 autotools.bbclass/native.bbclass: Use autotools_stage_all instead of oe_runmake install for staging autotooled native packages (from OE.dev)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4056 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 15:35:13 +00:00
Ross Burton
a99199d729 insane.bbclass: find desktop-file-validate on the path, so it can be added to ASSUME_PROVIDED
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4053 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 14:45:14 +00:00
Marcin Juszkiewicz
14d5f585a9 image.bbclass: s/ipkg/opkg/ - spotten by Koen Kooi
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4044 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-18 11:43:59 +00:00
Marcin Juszkiewicz
c2c6f59a5e rootfs_deb.bbclass: s/ipkg/opkg/ - spotten by Koen Kooi
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4043 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-18 11:41:53 +00:00
Marcin Juszkiewicz
280f86eb2c rootfs_ipk/image.bbclass: removing of opkg lists data to rootfs_ipk class where it should belong
Signed-off-by: Marcin Juszkiewicz <hrw@openedhand.com>


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4028 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-17 13:18:54 +00:00
Marcin Juszkiewicz
346dec3686 rootfs_ipk.bbclass: switched to opkg
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4026 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-17 13:18:21 +00:00
Marcin Juszkiewicz
15f1fd7c4a package_ipk.bbclass: switched to opkg
Signed-off-by: Marcin Juszkiewicz <hrw@openedhand.com>


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4025 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-17 13:18:07 +00:00
Marcin Juszkiewicz
329e6b5a4d bootimg.bbclass: removed bootsplash task support - we do not have such one
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3989 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-11 12:57:09 +00:00
Richard Purdie
570f12e972 base.bbclass: Let unpack task remove S beforehand which fixes clean handling. Optimise some expand and getVar calls
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3982 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-10 15:43:39 +00:00
Marcin Juszkiewicz
dfb52cedd0 debian.bbclass: merge DEBIANNAME support from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3904 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-04 16:45:02 +00:00
Richard Purdie
1a59c52aec base.bbclass: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3894 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-03 22:58:30 +00:00
Marcin Juszkiewicz
e7a2337c03 base.bbclass: align build configuration dump properly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3823 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-17 10:29:11 +00:00
Richard Purdie
094234f792 base.bbclass: Drop _FUNCTION suffix to METADATA_REVISION
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3819 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-15 15:31:07 +00:00
Richard Purdie
35d364f964 base.bbclass: Show svn revision of poky being used
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3818 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-15 15:23:45 +00:00
Richard Purdie
47ecd7c73e lib_package.bbclass: Convert to use SOLIBS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3776 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11 23:16:12 +00:00
Richard Purdie
c47528db49 package_tar.bbclass: Make the output slightly less verbose
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3773 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11 22:54:02 +00:00
Ross Burton
c48757beab autotools.bbclass: enable maintainer mode when configuring
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3758 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11 17:57:44 +00:00
Ross Burton
880e17d49e gnome.bbclass: disable GConf schema installation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3755 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11 17:54:16 +00:00
Richard Purdie
c5601780b4 sdk.bbclass: Set PKG_CONFIG_SYSROOT_DIR correctly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3735 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11 10:03:14 +00:00
Richard Purdie
8dac31d678 package.bbclass: Avoid double suffix depchain packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3711 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-07 20:20:34 +00:00
Richard Purdie
a0c44e0e6c sanity.bbclass: Fix typo
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3695 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-07 10:24:40 +00:00
Richard Purdie
51fd745b36 sanity.bbclass: Fix qemu check
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3694 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-07 10:23:08 +00:00