Commit Graph

438 Commits

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