summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_ipk.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* rootfs_ipk/package_ipk.bbclass: Move func from rootfs_ipk to package_ipkLianhao Lu2011-02-011-0/+43
| | | | | | | | | | | | package_ipk.bbclass: Added new function package_install_internal_ipk() to install a list of ipk packages to a specified root directory, with the specified package architecutre information. rootfs_ipk.bbclass: Used the above new functions to install rootfs. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* image/package_xx/rootfs_xx.bbclass: move rootfs_xx_log_check().Lianhao Lu2011-01-311-0/+20
| | | | | | | Move function rootfs_xx_log_check() from rootfs_xx.bbclass to relevant package_xx.bbclass. (Where xx is rpm/ipk/deb). Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* package_ipk: Do not depend on the existence of "D" to create ipk packageDongxiao Xu2011-01-211-6/+1
| | | | | | | | | | If build from sstate results, the ${D} will not be installed. In this case the creation of ipk package will be skipped, which will cause the build failure. Fix the issue by removing the judgement of ${D} existence. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* cross-canadian: Update after PN changes to include TARGET_ARCHRichard Purdie2010-12-101-6/+0
| | | | | | | | | | | | | This patch massively simplifies the canadian packaging and allows multiple toolchain targets to be parallel installed into the same nativesdk sysroot without package name conflits. Since we now do this, we can simplify cross-canadian to become more like nativesdk. This is a first pass over this task, similar changes would be desireable to cross and the whole MULTIMACH_ARCH mess can then probably be similified much further. Signed-off-by: Richgard Purdie <rpurdie@linux.intel.com>
* classes: Only enable fakeroot on setscene tasks with packagingRichard Purdie2010-10-221-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* pseudo/fakeroot: Move the pseudo directory creation into bitbakeRichard Purdie2010-10-221-0/+1
| | | | | | | | | | | | | | If sstate was used to accelerate a build, the pseudo directory might not have been created leading to subsequent task failures. Also, sstate packages were not being installed under pseudo context meaning file permissions could have been lost. Fix these problems by creating a FAKEROOTDIRS variable which bitbake ensures exists before running tasks and running the appropriate setscene tasks under fakeroot context. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Add Summary/Description support to packagingMark Hatle2010-10-111-1/+10
| | | | | | | | | | | | [BUGID #281] Add the ability for the deb, ipk and rpm classes to use the new summary and description fields. The Description is wrapped around 75 characters to ensure a reasonably nice, presentable description. (Summary defaults to the description if Summary is not defined.) Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Revert "classes: Disable setscene tasks for initial testing"Richard Purdie2010-10-051-1/+1
| | | | This reverts commit 084ec86402bba92418898a4c47667a0574a3b3ee.
* meta/classes: Fix whitespace mismatch and broken functionsRichard Purdie2010-08-311-2/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Disable setscene tasks for initial testingRichard Purdie2010-08-191-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_*.bbclass: Always run these tasks under fakerootRichard Purdie2010-08-191-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk.bbclass: Convert to new task based stagingRichard Purdie2010-08-191-2/+15
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk.bbclass: Fix variable nameRichard Purdie2010-08-041-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk: Clean up initial variablesRichard Purdie2010-08-041-22/+14
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Use pseudo rather than fakeroot for fake root privilegesJoshua Lock2010-07-161-1/+1
| | | | | | | Make use of the ability to configure the fake root provider and use Wind River's pseudo utility. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* package_*.bbclass: Only set pkg in overrides. These are the only values ↵Richard Purdie2010-07-071-4/+1
| | | | | | we're interested in expanding and this makes sure we obtain the expected data Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Revert "classes/package_ipk|_deb|_rpm.bbclass: Fix setting of OVERRIDES when ↵Richard Purdie2010-07-071-1/+1
| | | | | | | packaging" This reverts commit 3abe7a0624e1215124799f97c872682a98659760 which was incorrect in some assumptions about OVERRIDE handling order.
* classes/package_ipk|_deb|_rpm.bbclass: Fix setting of OVERRIDES when packagingJoshua Lock2010-07-011-1/+1
| | | | | | | | | The OVERRIDES variable was being incorrectly set with the end result of the runtime dependencies of the package not being encoded in it's package metadata. This broke opkg-native in meta-toolchain. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* classes/package_ipk|_deb.bbclass: Make sure versions correctly make it into ↵Richard Purdie2010-06-301-12/+13
| | | | | | | | | | output packages The version information part of package dependency strings was not ending up in the output packages correctly. This patch fixes this and ensures the version information isn't lost. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk.bbclass: Tweak handling for all/any/noarch and nativesdkRichard Purdie2010-01-141-1/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk.bbclass: Add handling for all/any/noarch and nativesdkRichard Purdie2010-01-141-2/+6
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk.bbclass: Fix typoRichard Purdie2009-11-161-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie2009-11-131-2/+2
| | | | | | | | | | | | | populate_staging task to populate_sysroot This change makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Remove and sanitise import statementsRichard Purdie2009-11-131-7/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* nativesdk/package_ipk.bbclass: Clean up sdk package architecturesRichard Purdie2009-09-171-5/+14
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk.bbclass: Convert to use SDK_ARCHRichard Purdie2009-09-171-4/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sdk.bbclass: Rename to nativesdk.bbclassRichard Purdie2009-09-171-4/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk.bbclass: Place configuration files in WORKDIR, not stagingRichard Purdie2009-08-121-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk.bbclass: Solve opkg-make-index locking problem using flockRichard Purdie2009-07-081-10/+8
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Use explode_deps from bb.utils and remove the obsolete ↵Richard Purdie2009-02-051-2/+2
| | | | base.bbclass version
* package_ipk.bbclass: Simplify variable expansionRichard Purdie2008-10-101-2/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5476 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk.bbclass: Fix opkg config file generationRichard Purdie2008-10-081-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5466 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk/rootfs_ipk.bbclass: Update image from feed handlingRichard Purdie2008-10-081-5/+11
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5465 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk/package_deb.bbclass: Make sure control files are properly ↵Richard Purdie2008-08-181-10/+1
| | | | | | 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
* Switch from ipkg-utils to opkg-utilsRichard Purdie2008-07-171-7/+7
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4863 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-image.bbclass: Correctly handle inserting package-managers into images ↵Richard Purdie2008-05-201-1/+0
| | | | | | by making it an image feature git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4517 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk.bbclass: switched to opkgMarcin Juszkiewicz2008-03-171-6/+5
| | | | | | | 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
* package_{ipk|deb|tar|rpm): append depend-tasks instead of overwritingMarcin Juszkiewicz2007-11-281-1/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3265 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk.bbclass: Make sure packages which alter PACKAGE_ARCH end up in ↵Richard Purdie2007-11-251-5/+2
| | | | | | the correct 'feed' git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3234 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_{ipk|deb}.bbclass: Remove hardcoded install path referenceRichard Purdie2007-11-241-2/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3224 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Use internal bitbake functions and fix packaging unlocking on error ↵Richard Purdie2007-11-241-13/+9
| | | | | | paths git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3222 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_(ipk|deb).bbclass: Rename do_packages stamp to be clearer about what ↵Richard Purdie2007-09-271-5/+5
| | | | | | it does git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2814 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk.bbclass: Improve directory existence checkRichard Purdie2007-09-051-0/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2702 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk.bbclass: Fix ipkg-sdk.confRichard Purdie2007-09-051-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2701 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk.bbclass: Create sdk Packages filesRichard Purdie2007-09-051-0/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2700 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk.bbclass: Split ipk deploy directory by PACKAGE_ARCH (from OE)Richard Purdie2007-09-051-0/+7
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2692 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync various tweaks from OERichard Purdie2007-09-011-3/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2643 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Factor ipkg index and conf file creation into package_ipk.bbclassRichard Purdie2007-09-011-0/+44
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2637 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk/deb.bbclass: Add locking for package creation to stop conflictsRichard Purdie2007-08-241-3/+14
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2557 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Add back package_write task in a new formRichard Purdie2007-08-211-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2535 311d38ba-8fff-0310-9ca6-ca027cbcb966