Commit Graph

602 Commits

Author SHA1 Message Date
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