Richard Purdie
e6566322bd
meta/classes: Fix whitespace mismatch and broken functions
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-31 12:02:24 +01:00
Mark Hatle
9a8b6447c6
package_rpm: Temporary workaround for perfile dependencies
...
Until the pseudo code is fully integrated, we need to roll up the
per file dependencies into package dependencies for rpm.
Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-23 21:04:20 +01:00
Mark Hatle
59a3e98b04
rootfs_rpm: Enable multi dep solverdbs
...
Update package_rpm.bbclass to generate dep solver databases for each
package arch. Following the example of the deb and ipk integration
Revise the rootfs_rpm to solve the installation based on the multiple
dep solvers.
Note, recommends, locale and attemptonly pckages are still to be
implemented.
Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-23 20:56:47 +01:00
Mark Hatle
55a046bd4c
package_rpm: Rewrite the way the spec files are generated
...
Use a single spec file to generate all of the split packages. This allows
us to ensure the RPM package source package meta data is correct, and also
speeds up the package generation process.
Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-23 20:55:14 +01:00
Richard Purdie
084ec86402
classes: Disable setscene tasks for initial testing
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19 22:36:26 +01:00
Richard Purdie
3c539be84c
package_*.bbclass: Always run these tasks under fakeroot
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19 22:36:26 +01:00
Joshua Lock
0769e847cb
package_(deb|rpm): Update to use packaged-staging2
...
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-19 20:06:25 +01:00
Joshua Lock
8760cde94a
rpm: switch to using RPM 5
...
Switch to RPM5 as our rpm provider of choice and update the recipe to the latest
stable release.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Modify the package_rpm.bbclass to understand the macro and command line changes
present in rpm5.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-07-24 00:46:57 +01:00
Joshua Lock
29d5edffb0
Use pseudo rather than fakeroot for fake root privileges
...
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>
2010-07-16 15:40:32 +01:00
Richard Purdie
4d4b7922b1
package_*.bbclass: Only set pkg in overrides. These are the only values we're interested in expanding and this makes sure we obtain the expected data
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-07 12:53:46 +01:00
Richard Purdie
1497af07fa
Revert "classes/package_ipk|_deb|_rpm.bbclass: Fix setting of OVERRIDES when packaging"
...
This reverts commit 3abe7a0624
which was incorrect
in some assumptions about OVERRIDE handling order.
2010-07-07 12:15:11 +01:00
Joshua Lock
3abe7a0624
classes/package_ipk|_deb|_rpm.bbclass: Fix setting of OVERRIDES when packaging
...
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>
2010-07-01 16:14:21 +01:00
Richard Purdie
b772c8cde5
bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the 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>
2009-11-13 12:15:42 +00:00
Richard Purdie
c54117458a
classes: Remove and sanitise import statements
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:28 +00: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
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
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
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
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
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
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
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
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
Marcin Juszkiewicz
d862b5758c
package_{ipk|deb|tar|rpm): append depend-tasks instead of overwriting
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3265 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-28 20:01:41 +00:00
Richard Purdie
48fd37f5f9
packaging: Split deb and ipk creation into separate tasks so changing the 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
2007-08-21 09:37:30 +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
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
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