summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_deb.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* package_deb: The packaging command itself is run under fakeroot so these ↵Richard Purdie2010-10-221-2/+0
| | | | | | lines are totally unneeded Signed-off-by: Richard 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>
* package_deb: Fix a typo meaning the debian packaging was not running in the ↵Richard Purdie2010-10-221-1/+1
| | | | | | fakeroot evnironment Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Add Summary/Description support to packagingMark Hatle2010-10-111-1/+13
| | | | | | | | | | | | [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-9/+9
| | | | 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_(deb|rpm): Update to use packaged-staging2Joshua Lock2010-08-191-3/+15
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* package_deb.bbclass: Make sure the controldir is always cleaned outRichard Purdie2010-07-221-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Use pseudo rather than fakeroot for fake root privilegesJoshua Lock2010-07-161-2/+2
| | | | | | | 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-5/+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.
* package_deb.bbclass: Fix packaging functions to use versioned dependency ↵Richard Purdie2010-07-021-35/+39
| | | | | | package functions correctly Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* 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-10/+10
| | | | | | | | | | 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>
* 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>
* base.bbclass: Use explode_deps from bb.utils and remove the obsolete ↵Richard Purdie2009-02-051-2/+2
| | | | base.bbclass version
* package_ipk/package_deb.bbclass: Make sure control files are properly ↵Richard Purdie2008-08-181-11/+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
* poky-image.bbclass: Correctly handle inserting package-managers into images ↵Richard Purdie2008-05-201-3/+1
| | | | | | 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|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|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-12/+8
| | | | | | paths git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3222 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_deb.bbclass: Fix hardcoded apt.conf path, add depends on ↵Richard Purdie2007-11-121-6/+6
| | | | | | run-postinsts package for deb images git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3118 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_deb.bbclass: Create DPKG_ARCH to allow mapping between debian archs ↵Richard Purdie2007-09-271-2/+10
| | | | | | and Poky ones git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2817 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_(ipk|deb).bbclass: Rename do_packages stamp to be clearer about what ↵Richard Purdie2007-09-271-4/+5
| | | | | | it does git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2814 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync various tweaks from OERichard Purdie2007-09-011-2/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2643 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_ipk/deb.bbclass: Add locking for package creation to stop conflictsRichard Purdie2007-08-241-3/+15
| | | | 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
* packaging: Split deb and ipk creation into separate tasks so changing the ↵Richard Purdie2007-08-211-3/+14
| | | | | | packaging type means the new type of packages are automatically generated. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2526 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_deb/rootfs_deb.bbclass: Add fix from OE, add copyright noticeRichard Purdie2007-08-071-0/+5
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2377 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes/conf: Merge missing package epoch (PE) support (from OE), also make ↵Richard Purdie2007-05-311-2/+6
| | | | | | OE package field sane git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1839 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Rework core dependencies to work properly at the task levelRichard Purdie2007-04-031-1/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_deb.bbclass: Make sure permissions on control directory are correctRichard Purdie2007-03-311-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1417 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_deb.bbclass: dpkg-deb needs to run under fakeroot to set ownership ↵Richard Purdie2006-11-291-1/+1
| | | | | | correcting in resulting packages git-svn-id: https://svn.o-hand.com/repos/poky/trunk@975 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Fix STAGING_BINDIR for multimachine use by spliting into STAGING_BINDIR and ↵Richard Purdie2006-11-251-1/+1
| | | | | | 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
* package_deb.bbclass: Handle all architecture as a special case solving ↵Richard Purdie2006-11-241-4/+6
| | | | | | multimachine build issues git-svn-id: https://svn.o-hand.com/repos/poky/trunk@953 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Split into two tasks, one which prepares the packages and ↵Richard Purdie2006-10-201-1/+1
| | | | | | 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
* Don't nest os.path.join() callsRoss Burton2006-10-021-3/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@784 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Sync up.. all the deb/dpkg changes which I have locally are now in svn.Chris Larson2006-09-191-0/+236
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966