Commit Graph

5360 Commits

Author SHA1 Message Date
Richard Purdie 09e3f98f7e base.bbclass: Minor performance tweak, add base_get_srcrev()
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2249 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01 11:24:50 +00:00
Marcin Juszkiewicz 8541584ddd openmoko: added classes needed by openmoko-libs
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2134 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-09 14:21:05 +00:00
Richard Purdie 8b1fff0aa4 base.bbclass: Revert quoting changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2129 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-07 08:33:13 +00:00
Marcin Juszkiewicz 794a923a80 debian.bbclass: fixed typo
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2127 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-06 13:04:11 +00:00
Richard Purdie 91bbcd4ffa base.bbclass: Start to fix quoting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2126 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-06 12:45:26 +00:00
Marcin Juszkiewicz 1086ade568 poky-image.bbclass: added description of newer IMAGE_FEATURES
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2109 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-05 13:10:05 +00:00
Marcin Juszkiewicz fd46f224ad sanity: if Poky is used by root user (userid 0) then raise error
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2093 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-04 07:53:48 +00:00
Richard Purdie 0b305ffc29 poky-image.bbclass: Fix typo
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2065 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-30 11:05:39 +00:00
Richard Purdie eabfa35d7c Rewrite IMAGE_FEATURES tools options (people may be to update their local.conf), split into debug and profiling and add more profiling tools.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2063 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-29 14:31:00 +00:00
Marcin Juszkiewicz 09554c1397 task-base: we want task-base-dev too
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2042 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-28 12:50:19 +00:00
Marcin Juszkiewicz 4cf1c63879 task-base: we want task-base-dbg and no need for task-base-dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2040 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-28 11:53:51 +00:00
Marcin Juszkiewicz d9ab253cbd poky-image.bbclass: fix task-poky-apps-x11-pimlico names
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2039 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-28 11:50:21 +00:00
Marcin Juszkiewicz 40c209b79d Cleaned up task-poky and Poky images.
By default we install task-poky-boot and task-base. Additional stuff was split
to several tasks and each got IMAGE_FEATURE.


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2037 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-28 10:51:31 +00:00
Richard Purdie 1343810143 bitbake.conf: Move SDK_NAME and SDK_PREFIX into bitbake.conf
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2035 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-27 14:13:23 +00:00
Marcin Juszkiewicz 3d36dc7dd0 poky-image.bbclass: new class used for making Poky images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2031 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-27 13:19:32 +00:00
Marcin Juszkiewicz a47e493bac rootfs classes: added remove_packaging_data_files() function to be used in minimal images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2007 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-26 11:35:20 +00:00
Richard Purdie cee4b2a05a package.bbclass: Disable locale RDEPENDS since it currently does nothing due to broken depends, breaks meta-toolchain and is incompatible with debian
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1965 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-18 11:36:18 +00:00
Richard Purdie bbce8f5a04 sdk.bbclass: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1959 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-16 12:40:48 +00:00
Richard Purdie ac63e5a341 sdk.bbclass: Set PACKAGE_ARCH to something suitable (update task-sdk, meta-toolchain)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1956 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-16 11:25:53 +00:00
Marcin Juszkiewicz dcb5ef2fcd module.bbclass: make all modules depend on update-modules
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1925 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-13 12:44:52 +00:00
Marcin Juszkiewicz 5c41f1ec4c rootfs_deb.bbclass: removed usage of /dev/null as stdin as BitBake do that now by default
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1919 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-12 09:31:20 +00:00
Marcin Juszkiewicz dc68918720 rootfs_deb.bbclass: updated to works with APT 0.6
APT 0.6 require repositories to be GPG signed but Poky have them unsigned.
Second problem is that APT tries to read something from stdin (even when
forced to choose 'Yes') so it now gets /dev/null as stdin.


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1916 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-12 08:25:24 +00:00
Marcin Juszkiewicz 59470e1d06 bootimg.bbclass: get kernel from proper directory in staging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1911 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-11 10:35:28 +00:00
Richard Purdie 6a48637d29 native.bbclass: Remove uneeded variables
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1902 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-10 18:06:14 +00:00
Richard Purdie 332f632772 Remove useless class
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1901 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-10 18:03:27 +00:00
Marcin Juszkiewicz 8e5bf72f00 pkgconfig.bbclass: create proper directory
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1900 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-09 08:52:16 +00:00
Marcin Juszkiewicz 95be099de2 bootimg.bbclass: fixed generation of ISO & HDD images
bootimg.bbclass supported creation of FAT filesystem images for usage with
syslinux (kernel and initrd in /boot/) and creation of ISO images with kernel
and initrd on it. ISO images contained also not needed /boot/ directory from
FAT image.

Now still two files are created as result but both contain only needed files.


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1899 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-08 20:45:44 +00:00
Marcin Juszkiewicz 2b22125a85 bootimg: reformatted again
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1898 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-08 18:22:19 +00:00
Marcin Juszkiewicz 834b006eb0 bootimg: reformatted
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1897 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-08 18:21:18 +00:00
Marcin Juszkiewicz 7fd02840ad bootimg.bbclass: imported from OE, updated to recent BitBake
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1894 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-08 08:39:22 +00:00
Marcin Juszkiewicz 9ac61d2968 syslinux.bbclass: imported from OE (needed to generate booting CD)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1893 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-08 08:38:43 +00:00
Marcin Juszkiewicz da9419add5 src_distribute: fix when licenses are separated with |, renamed vars to more readable ones
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1885 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-07 13:40:27 +00:00
Marcin Juszkiewicz d950323772 src_distribute.bbclass: add distsrcall task which calls do_distribute_sources recursively
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1863 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-05 16:32:40 +00:00
Marcin Juszkiewicz f8e9384205 src_distribute classes: store sources in tmp/deploy/sources/LICENSE dirs
- recipe with few licenses has source stored in few directories
- recipes without LICENSE have source stored in "unknown" directory


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1862 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-05 16:23:20 +00:00
Richard Purdie c9dc5f07a7 classes/conf: Merge missing package epoch (PE) support (from OE), also make OE package field sane
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1839 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-31 22:51:19 +00:00
Marcin Juszkiewicz 80bab8a5df cpan.bbclass: sync another fix from OE - this time for uclibc mode
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1826 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-30 13:47:29 +00:00
Marcin Juszkiewicz 6c47cd48af cpan classes: sync Perl with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1815 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-30 09:32:36 +00:00
Richard Purdie 73a06a99b0 images: Merge common functionality into image.bbclass, add copyright headers
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1732 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-16 13:33:27 +00:00
Richard Purdie 9c1cf5640f bitbake.conf: PKG_CONFIG_PATH is a PATH like variable and may contain multiple entries so create PKG_CONFIG_DIR as a path to install to.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1731 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-16 13:15:35 +00:00
Richard Purdie 5d2fcf3a2f patch.bbclass: Set default patch resolver to noop
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1711 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-11 11:17:32 +00:00
Richard Purdie 2ee4cf3f5e cpan.bbclass: Add perl to DEPENDS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1625 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-09 13:50:59 +00:00
Marcin Juszkiewicz a8c4f824ba mozilla.bbclass: minimo does not need orbit2 or libidl-native to build
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1623 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-09 10:46:36 +00:00
Richard Purdie 363ebd8bb7 autotools.bbclass: Fix addition of libtool-cross
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1620 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-09 09:55:38 +00:00
Richard Purdie 9697c0ca8b package.bbclass: do_package[deptask] only needs to be set when PACKAGES != ""
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1619 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-09 09:54:54 +00:00
Richard Purdie 77a7221be4 autotools.bbclass: Add libtool-cross as a default dependency
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1617 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-09 09:09:36 +00:00
Richard Purdie 7260b954a9 autotools.bbclass: Reverse r1603 until we can find a better solution
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1604 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-08 08:08:01 +00:00
Ross Burton 1f3573dd3a Handle GTK_DOC_CHECK and GNOME_DOC_INIT in configure.ac
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1603 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-04 15:46:07 +00:00
Marcin Juszkiewicz ba370feada image.bbclass: Removed wildcard rm as it broke building multiple rootfs image types (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1586 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-30 14:59:49 +00:00
Marcin Juszkiewicz 7f3bb9d637 image.bbclass: remove not-needed list of packages after populating rootfs
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1584 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-30 14:42:14 +00:00
Marcin Juszkiewicz bb59ece118 image.bbclass: install only en-gb locales
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1560 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-25 15:36:57 +00:00
Marcin Juszkiewicz caf3b5b1bc scons.bbclass: sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1555 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-25 12:35:27 +00:00
Marcin Juszkiewicz 19e521b977 sdk.bbclass: store SDK in /usr/local/poky/ARCH/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1525 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-20 15:01:33 +00:00
Ross Burton 075d2b7ecb Add comment
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1513 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-16 12:41:25 +00:00
Richard Purdie 0443d80b50 patch.bbclass: Specify a quiltrc file so users settings don't interfere with correct operation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1509 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-14 11:07:33 +00:00
Richard Purdie aca29f112c package.bbclass/insane.bbclass: Don't set task dependencies when PACKAGES is empty
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1455 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-10 11:23:14 +00:00
Richard Purdie 36875b21fc package.bbclass: Adjust package_depchains to work for cases where multiple pre or postfix packages are specified
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1433 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-04 11:06:37 +00:00
Richard Purdie 0a15894004 native.bbclass: Enhance to allow extra pkgconfig search paths to be injected
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1429 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03 22:33:11 +00:00
Richard Purdie 69fbfd5c69 package.bbclass: Only need file-native if packaging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1428 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03 11:46:15 +00:00
Richard Purdie 409335beae classes: Rework core dependencies to work properly at the task level
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03 11:31:02 +00:00
Richard Purdie ee221cdbdd package_deb.bbclass: Make sure permissions on control directory are correct
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1417 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-31 14:04:49 +00:00
Richard Purdie 4445685999 rootfs_deb: Catch all error codes and return them
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1416 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-30 14:52:41 +00:00
Richard Purdie 887b8b1289 package.bbclass: Improve recommends dependency code to catch all dependencies for -dbg and -dev packages, not just some
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1409 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-29 09:49:07 +00:00
Richard Purdie 1d48528c36 base.bbclass: unexport DISTRO to prevent application compile failures
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1380 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-21 16:30:33 +00:00
Ross Burton 968b14a121 Fix spelling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1374 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-21 10:11:50 +00:00
Ross Burton 1275d5765b Fix INTLTOOL usage check (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1330 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-06 10:20:26 +00:00
Richard Purdie 7b5b56cf19 image.bbclass: We need to make sure all do_populate_staging tasks have fun so postinsts run correcting at image generation time
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1283 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-02-21 20:19:32 +00:00
Ross Burton 56a65b34e8 Fix bashisms
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1281 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-02-21 17:21:43 +00:00
Ross Burton 74e0426503 Fix typo when reporting an error
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1258 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-02-04 18:44:37 +00:00
Richard Purdie c09b109c6d image.bbclass: Make relative symlinks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1222 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-30 14:45:48 +00:00
Richard Purdie 44856a298c STAGING_BINDIR: No longer need to rename -native binconfig binaries, set STAGING_BINDIR correctly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1221 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-30 14:44:18 +00:00
Ross Burton 4292e8199b Remove exclude hack in insane.bbclass and replace it with something a little less foul. This involces adding INSANE_SKIP_package=1 statements to the relevant .bb files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1197 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-22 20:11:19 +00:00
Ross Burton 539b0f853a Add exclude list for now, until insane can handle per-package exclusions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1196 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-22 19:41:29 +00:00
Ross Burton 6e6fdde69b When checking for .so files in non-dev packages, only check for .so symlinks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1195 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-22 17:04:39 +00:00
Ross Burton 248c3ed477 Add insane, from OE (but with fatal warnings)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1187 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-21 21:28:51 +00:00
Richard Purdie 70eeb3ab5c native.bbclass: Override STAGING_BINDIR_CROSS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1126 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08 21:07:49 +00:00
Richard Purdie 81fc6532fb image.bbclass: Sync minor changes with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1125 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08 21:07:10 +00:00
Richard Purdie b30afa242b rootfs_ipk.bbclass: Fix typo, whitespace
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1124 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08 21:06:47 +00:00
Richard Purdie fb61dc1430 kernel.bbclass: Drop KERNEL_RELEASE variable
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1123 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08 21:05:18 +00:00
Richard Purdie 3a8695033f patch.bbclass: Fix force options for recent quilt versions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1122 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-08 21:04:27 +00:00
Richard Purdie ae60cc23f9 README, sanity.bbclass: Add makeinfo (from texinfo) as a dependency. Also check for qemu-arm binary
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1086 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-22 13:51:35 +00:00
Richard Purdie f5b38f9db0 Remove DISTRO_TYPE, replacing with IMAGE_FEATURES. Documentation is in local.conf.sample
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1053 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-20 00:00:03 +00:00
Matthew Allum 5eadd9dfaf Remove now uneeded gcc-3.x check
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1008 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-05 14:47:38 +00:00
Richard Purdie 4cf2d71a16 rootfs_(deb|ipk).bbclass: Fix bashism so works on dash
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1002 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-05 11:10:28 +00:00
Richard Purdie 034861cf5b image.bbclass: Add export machine as needed by bbimage
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@992 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-01 15:48:24 +00:00
Richard Purdie bc4de141cb rootfs_deb.bbclass: Add sanity check
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@991 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-01 09:29:06 +00:00
Richard Purdie adabf6c093 sanity.bbclass: Add umask check
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@986 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29 16:55:31 +00:00
Richard Purdie 2dc275c3ca package.bbclass: Add fakeroot-native as a PACKAGE_DEPENDS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@985 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29 15:14:05 +00:00
Richard Purdie 34aa4cad3d cross.bbclass: Set PACKAGE_ARCH correctly under inherit cross
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@981 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29 13:55:34 +00:00
Richard Purdie 85e27da51a rootfs_deb.bbclass: Reverse sources.list file to correct repository priorities. Add Release file to sources giving a Label. Update preferences file to use source labels instead of paths
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@976 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29 10:53:23 +00:00
Richard Purdie b7880fab82 package_deb.bbclass: dpkg-deb needs to run under fakeroot to set ownership correcting in resulting packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@975 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29 10:50:33 +00:00
Richard Purdie e65d97d62f rootfs_deb.bbclass: Mark packages as installed/unpacked correctly. Add in hacks to work around /var being tmpfs and to enable ipkg to handle the postinsts on device (for now)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@966 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-27 22:57:27 +00:00
Richard Purdie 207db00743 rootfs_deb: Set Architecture correctly in a copy of apt.conf in staging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@965 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-27 17:29:04 +00:00
Richard Purdie 4f249a8efb Fix STAGING_BINDIR for multimachine use by spliting into STAGING_BINDIR and STAGING_BINDIR_NATIVE and adding both to PATH
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@958 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-25 10:01:30 +00:00
Richard Purdie 82dd73248d base.bbclass: unexport MACHINE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@957 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-25 09:58:34 +00:00
Richard Purdie 1e1e9a3209 package_deb.bbclass: Handle all architecture as a special case solving multimachine build issues
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@953 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-24 17:23:05 +00:00
Richard Purdie e4bb4ba86b base.bbclass: Make sure MACHINE isn't exported fixing failures in binutils when MACHINE is an envirionmental variable
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@951 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-23 17:51:39 +00:00
Richard Purdie 5285430f17 siteinfo.bbclass: Change note to a debug message
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@947 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-23 12:13:46 +00:00
Richard Purdie db564fe4d9 sanity.bbclass: Add sdl-config to required programs list. Remove fixme as now dealt with.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@941 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-22 16:43:41 +00:00
Richard Purdie 0ac664d01a rootfs_xxx.bbclass: Add missing checkins from the log_check updates
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@938 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-22 15:28:28 +00:00
Richard Purdie e2f9e1a4aa Factor common code out of rootfs_xxx.bbclass into image.bbclass. Add error detection code for roofs_deb.bbclass
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@936 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-21 23:21:06 +00:00
Richard Purdie 01b1dbaefd base.bbclass: Fix errors in none libtooled packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@935 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-21 17:46:14 +00:00
Richard Purdie 634232e696 Site file handling update: Instead of one site file per target, allow entries to be shared. Handled through siteinfo.bbclass
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@931 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-21 14:34:40 +00:00
Richard Purdie e09dab0614 classes: Sync with OE - mainly quoting fixes or other minor updates
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@885 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 15:19:39 +00:00
Richard Purdie 4015d48fcf binconfig.bbclass: Sync with OE to benefit from improved .la file handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@884 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 15:19:01 +00:00
Ross Burton 99498a127e Fix whitespace
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@883 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 14:58:47 +00:00
Richard Purdie 9101515a49 update-rc.d.bbclass: 'Fix' whitespace
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@881 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 14:37:01 +00:00
Richard Purdie 95febfd333 base.bbclass: Sync with OE (remove broken mirrors, fix fetchall task)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@880 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 12:51:14 +00:00
Richard Purdie 8aee6b32a0 classes: Standardise whitespace in anonymous python methods and factor out functions for more efficent use by bitbake (as also patched in OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@875 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 09:16:34 +00:00
Richard Purdie 8174ba4222 kernel.bbclass: Unset MACHINE to avoid problems
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@874 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 08:56:52 +00:00
Richard Purdie 5962332b14 sanity.bbclass: Merge with OE syncing improvements both ways
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@855 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-16 14:20:49 +00:00
Richard Purdie 0d59c10f98 kernel.bbclass: Sync with updates in OE to work with kernels >= 2.6.18
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@851 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-02 10:18:03 +00:00
Richard Purdie 6312385927 lib_package.bbclass: Fix .debug packaging (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@829 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-28 19:01:38 +00:00
Chris Larson a67d36b533 base.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@824 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-27 19:26:50 +00:00
Chris Larson d726bba0e0 package.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@823 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-27 19:25:05 +00:00
Chris Larson 002f491523 patch.bbclass: fix bug where it failed to detect that the user did not modify the patches at all, add note about pressing ctrl+d to exit the resolver shell.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@822 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-25 18:19:39 +00:00
Richard Purdie 7759703169 package.bbclass: Partially fix another dubious use of packages[0]
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@812 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-22 12:06:41 +00:00
Richard Purdie 2af3b213e5 package.bbclass: Fix split_locales to remove spurious references to -dbg packages. The way it selects the principle package name needs totally reworking as the current code is flawed but apply a workaround for now (this is unrelated to other changes to package.bbclass)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@810 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-21 22:03:13 +00:00
Richard Purdie ec30e86122 image.bbclass: Fix image task dependencies after package.bbclass updates
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@809 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-20 22:19:42 +00:00
Richard Purdie 866ab593a0 package.bbclass: Sync with OE upstream
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@808 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-20 16:09:53 +00:00
Richard Purdie e2b821a834 package.bbclass: Split into two tasks, one which prepares the packages and then package_write which actually generates the packages. The two stage approach allows us to avoid circular dependency issues from classes like debian.bbclass. As the data being emitted into pkgdata/ changed, you need to either wipe tmp or rerun the do_install/do_package tasks (wipe the do_xyz stamps from the stamps dir). Everything will repackage anyway due to the new task.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@807 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-20 16:09:05 +00:00
Richard Purdie 49d42d9fe6 base.bbclass, package.bbclass: Clean up and document. Should be no actual code changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@806 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-20 14:31:06 +00:00
Richard Purdie b6959cf8d3 base.bbclass: Add fetchall task to fetch all sources for all the given task and all its dependencies (requires bitbake trunk)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@803 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-16 23:19:19 +00:00
Matthew Allum 5713649ceb Add check for gawk, needed by x86 glic build
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@794 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-12 12:48:46 +00:00
Ross Burton dade587c81 Don't nest os.path.join() calls
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@784 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-02 16:06:08 +00:00
Matthew Allum f27a0caa85 Update sanity checking to report all missing instead of one per run. Add a check for gcc 3.x
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@769 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-28 09:18:17 +00:00
Richard Purdie 2ea41da820 rootfs_ipk: Remove extra rm command to ensure /dev is correctly created
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@762 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-26 09:47:06 +00:00
Richard Purdie a45581c29f rootfs_ipk.bbclass: Fix function names and exports
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@745 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-22 15:46:35 +00:00
Chris Larson 8d804ea40a Merge devgen branch to trunk.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@743 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-21 16:29:02 +00:00
Richard Purdie 5cacd3ea7e Remove unneeded classes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@742 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-21 15:17:23 +00:00
Richard Purdie a48da11aca Clean up and correct MAINTAINERS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@739 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-21 14:48:08 +00:00
Chris Larson dd9ff71de4 Package.bbclass: sync with upstream oe legitimize_package_name.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@730 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-20 16:40:07 +00:00
Chris Larson 4fa2d11bb1 Sync up.. all the deb/dpkg changes which I have locally are now in svn.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-19 09:04:09 +00:00
Richard Purdie 04f6953333 classes: Reorder tasks so staging occurs after packaging. Add do_install into the task chain with dirs fix. Changes merged from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@727 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-18 20:31:39 +00:00
Richard Purdie 1f0424a2d3 base.bbclass: Remove do_fetch[nostamp] so we don't run the fetch tasks everytime we build an image. WARNING: This will cause all do_fetch's to rerun which will in turn trigger a complete rebuild of everything. To avoid, use http://www.rpsys.net/openzaurus/temp/make_fetch_stamps
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@726 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-18 20:22:47 +00:00
Chris Larson 81971a2766 patch.bbclass: sync with upstream oe.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@713 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-15 07:54:58 +00:00
Chris Larson 5027d8f8f2 patch.bbclass: updates from upstream oe.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@691 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-01 08:36:17 +00:00
Chris Larson 99da426eb5 base.bbclass: Add a new 'rebuild' convenience task, which simply does a clean and then runs the default task ('build').
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@685 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-31 09:20:47 +00:00
Richard Purdie c48931146d devshell.bbclass: Run after do_patch
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@684 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-31 08:19:26 +00:00
Richard Purdie b9f06d1671 devshell: Convert to its own class and add to poky.conf by default. Export EXTRA_OEMAKE to devshell.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@683 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-30 22:11:12 +00:00
Richard Purdie c1ab349f63 base.bbclass: Add devshell task. Trigger as bitbake somepackage -c devshell which will drop you into an interactive shell within the source (S) directory. The environment is as found internally to other tasks for the package (PATH includes the toolchain etc.).
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@682 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-30 21:28:55 +00:00
Chris Larson 874a642961 Patch.bbclass: add NOOPResolver class for use in unattended builds, which does no actual patch resolution, simply passing the failure on up. Set PATCHRESOLVE='noop' to make use of it. Also pulls in the workaround for quilt's upward searching for a 'patches' dir from upstream oe.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@680 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-30 07:25:59 +00:00
Richard Purdie b1d72c5762 image.bbclass: Add symlinks to the latest images for a given machine
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@677 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-29 22:12:42 +00:00
Chris Larson ecb32bdee7 Patch failure handling updates, added a 'patch' concrete class, so we can apply patches to quilt-native itself.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@670 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-28 20:36:36 +00:00
Chris Larson d717d4f196 Patch.bbclass: fix bug resulting in a failure to md5 the local path.. it broke when localpath() included variable references.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@662 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-27 22:29:46 +00:00
Richard Purdie 93a8d0662e classes: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@651 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-27 16:01:33 +00:00
Richard Purdie 3b50962e83 Tweaks to work with bitbake trunk: add BB_DEFAULT_TASK, add do_rootfs[nostamp] back, remove image_ipk PR
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@630 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-23 09:42:43 +00:00
Chris Larson 056b43353e Fix the patch.bbclass error handling in a couple of the error paths by changing the semantics of the PatchError exception.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@627 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-23 08:50:26 +00:00
Chris Larson 7aa52d7fd9 Clean up the way patch.bbclass's runcmd handles the directory not existing.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@624 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-22 08:58:02 +00:00
Chris Larson fe7c8c26ed Changes for ticket:8, with fixes for the bugs reported by Richard.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@622 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-21 00:50:19 +00:00
Richard Purdie 283e9868e7 classes/base.bbclass:
* Add stamps for do_fetch task
  * Remove empty NOTE messages
  * Add do_configure task dependecy for DEPENDS handling
classes/debian.bbclass:
  * Add do_package task dependecy for RDEPENDS handling
classes/image_ipk.bbclass:
  * Add do_package task dependecy for recursive RDEPENDS handling
classes/package.bbclass:
  * Add do_package task dependecy for DEPENDS handling
classes/rootfs_ipk.bbclass:
  * Derive image PR from DATE and TIME
  * Add stamps to do_rootfs task (PR changing will trigger rebuilds instead)


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@605 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-14 00:38:08 +00:00
Richard Purdie 0f5e8d268a multimachine: HOST_OS should be TARGET_OS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@604 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-14 00:31:00 +00:00
Richard Purdie c5b80f33c5 Add projects.o-hand.com/sources/kernel as a mirror for rpsys.net's patches
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@582 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-28 16:57:17 +00:00
Richard Purdie 25f46620dd Update debug packages to place symbol files in a .debug directory - fixes certain packaging problems
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@578 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-28 15:12:05 +00:00
Richard Purdie 36a7962e74 base.bbclass: Add base_both_contains function for use in task files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@561 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-26 22:17:08 +00:00
Richard Purdie 60493a3359 rootfs_ipk.bbclass: Add context to reported errors
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@557 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-26 21:28:32 +00:00
Richard Purdie 3e472bb56d base.bbclass: Add base_contains function - Can be used to check if a string is present in a variable.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@547 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-24 09:22:17 +00:00
Richard Purdie 2ca73b57dc Add automatic generation of -dbg packages. These contain the debug symbols that are stripped from binaries and the symbols are linked to the original binaries via the gnu-debuglink section. If the -dbg packages are installed, oprofile and gdb will use them for symbol lookup.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@546 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-24 08:35:37 +00:00
Richard Purdie 23b93ceb82 rootfs_ipk.bbclass, package-index: With the fixed ipkg-utils there is no need to remove the old Packages file when regenerating the Packages index. This gives a big speed improvement when regenerating images as it doesn't have to open every ipk for its metadata.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@545 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-24 08:27:13 +00:00
Richard Purdie f75754d05b tinderclient.bbclass: Update from .dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@543 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-23 17:57:13 +00:00
Richard Purdie b2f192faab Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-21 10:10:31 +00:00