Richard Purdie
246dbec868
package.bbclass: Clear package directory copy before installing new files to prevent stale data
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-20 17:11:27 +00:00
Richard Purdie
5716a14bf4
package.bbclass: Fix runtime_maping_rename so version information isn't removed
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-19 10:13:10 +00: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
Richard Purdie
7501b625b6
package.bbclass: Add the option to declare package preprocess function hooks
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
4b0332c431
package.bbclass: Change to operate on a copy of the install directory instead of directly. Also take the opportunity to rename the temp directories so their function is clear
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
0eee29e451
package.bbclass: Remove hardcoded use of PKGDEST variable
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
4f4a3da843
package.bbclass: Move variable checks to one place making the code more readable
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
ae0e1ad29b
package.bbclass: Cleanup getVar syntax to use True, not 1 as third argument
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-29 23:24:19 +00:00
Richard Purdie
3927e38eba
Merge ssh://gitserver@git.pokylinux.org/poky
2009-04-28 08:24:11 +01:00
Koen Kooi
f94bd6b312
package bbclass: add an 'allow_links' param to get symlinks packaged, usefull for splitting out libraries
2009-03-11 12:05:53 +01:00
Richard Purdie
be10b46b73
base.bbclass: Use explode_deps from bb.utils and remove the obsolete base.bbclass version
2009-02-05 23:54:11 +00:00
Richard Purdie
c2c16bced8
base.bbclass: Move package metadata handling functions into their own class file
2009-02-05 23:54:11 +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
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
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
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
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
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
Marcin Juszkiewicz
02a180ab6f
package.bbclass: unbreak
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4242 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-11 20:37:51 +00:00
Richard Purdie
028178b722
package.bbclass: Add patch to try and handle dynamic librbary dependencies on darwin through libtool
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4237 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-11 15:19:45 +00:00
Richard Purdie
7c097c7812
package.bbclass: Sync with OE.dev
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4062 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 16:05:35 +00:00
Richard Purdie
8dac31d678
package.bbclass: Avoid double suffix depchain packages
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3711 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-07 20:20:34 +00:00
Richard Purdie
69683bfe8c
package.bbclass: Abstract shlibs path to SHLIBSDIR variable
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3576 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-23 21:03:26 +00:00
Richard Purdie
822779e598
package.bbclass: Fix shlibs and pkgconfig magic to use HOST_SYS, not TARGET_SYS
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3511 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-17 21:51:05 +00:00
Richard Purdie
0f1ddc5c32
package.bbclass: Account for DEPENDS in -dev packages
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3439 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-09 13:50:38 +00:00
Richard Purdie
bbb0b8bba7
package.bbclass: Various cleanups and bugfixes, some form OE
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3347 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-12-19 11:07:14 +00:00
Richard Purdie
6480e3a2f6
package.bbclass: Don't strip files in .debug directories
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3346 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-12-19 10:32:12 +00:00
Richard Purdie
3526acda1a
package.bbclass: Remove debug code
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3245 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-27 15:09:56 +00:00
Richard Purdie
48c7f7fc85
package.bbclass: Remove PKGMAPS functionality and supersede with pkgdata. Remove duplicate unneeded PACKAGES checks.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3225 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-24 23:06:56 +00:00
Richard Purdie
c065977948
classes: Use internal bitbake functions and fix packaging unlocking on error paths
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3222 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-24 14:55:57 +00:00
Richard Purdie
6e23136cc7
package.bbclass: Make populate_packages copy files, not move them during do_package
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2950 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-23 21:57:31 +00:00
Richard Purdie
62b67b04d4
package.bbclass: Remove depchains packaged() check. This broke after pkgdata was split for multimachine issues and I'm not sure we need/want it anyway, we're only dealing with Recommends, not Depends
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2824 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-02 14:19:54 +00:00
Richard Purdie
82bdad4c78
package.bbclass: Append to do_package[deptask], cleanup up PACKAGES checks, generate .packaged file for depchains benefit (fixing -dev and -dbg package dependencies). People should wipe do_install stamps and rebuild to fix package dependencies
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2815 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-27 11:52:15 +00:00
Richard Purdie
f403f6ef10
package.bbclass: Cleanup install references into a configurable variable
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2681 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-03 14:16:12 +00:00
Richard Purdie
d475a771eb
package.bbclass: Fix typo
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2550 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-24 10:59:50 +00:00
Richard Purdie
9bb91785c9
package.bbclass: Add back package_write task in a new form
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2535 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21 22:39:57 +00:00
Richard Purdie
a4b8304b62
package.bbclass: More pkgdata fixes, (install task needs to rerun on existing builds)
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21 11:51:25 +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
7024f1af86
package.bbclass: Deal with write protected files correctly
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2374 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-06 14:05:51 +00:00
Richard Purdie
dd51fc0ffb
package.bbclass: Try stripping files more enthusiastically
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2372 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-06 09:10:08 +00:00
Richard Purdie
60b4328491
package.bbclass: Convert runstrip shell into python
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2371 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-06 08:54:41 +00:00
Richard Purdie
cee4b2a05a
package.bbclass: Disable locale RDEPENDS since it currently does nothing due to broken depends, breaks meta-toolchain and is incompatible with debian
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1965 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-18 11:36:18 +00:00
Richard Purdie
9697c0ca8b
package.bbclass: do_package[deptask] only needs to be set when PACKAGES != ""
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1619 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-09 09:54:54 +00:00
Richard Purdie
aca29f112c
package.bbclass/insane.bbclass: Don't set task dependencies when PACKAGES is empty
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1455 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-10 11:23:14 +00:00
Richard Purdie
36875b21fc
package.bbclass: Adjust package_depchains to work for cases where multiple pre or postfix packages are specified
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1433 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-04 11:06:37 +00:00
Richard Purdie
69fbfd5c69
package.bbclass: Only need file-native if packaging
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1428 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03 11:46:15 +00:00
Richard Purdie
409335beae
classes: Rework core dependencies to work properly at the task level
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03 11:31:02 +00:00
Richard Purdie
887b8b1289
package.bbclass: Improve recommends dependency code to catch all dependencies for -dbg and -dev packages, not just some
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1409 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-29 09:49:07 +00:00
Ross Burton
968b14a121
Fix spelling
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1374 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-21 10:11:50 +00:00