Richard Purdie
d7399bd56c
base.bbclass: Rework staging function to use a DESTDIR style configuration based on the data from the do_install step. This falls back to any standard do_stage function if defined, see the mailing list for more info.
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:23 +00:00
Richard Purdie
a1d93ee326
packaged-staging.bbclass: Use a variable for the location of the staging lock file
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
3c83baeb26
native.bbclass: If do_stage isn't overridden, allow do_install to run for native packages
...
Also let do_install run for packages that run autotools_stage_all directly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
7c97538327
binconfig/pkgconfig.bbclass: Convert staging functions into SYSROOT_PREPROCESS_FUNCS operating on SYSROOT_DESTDIR
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
6ea78d6489
autotools.bbclass: Separate out useful staging functions into base.bbclass and call from autotools classes
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
1383f0fb4c
autotools.bbclass: No need to fork sed each time
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
cbcad726fe
autotools.bbclass: Convert .la file mangling to package preprocessing hook
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie
99cdb59aed
binconfig.bbclass: Convert do_install_append() into a PACKAGE_PREPROCESS_FUNCS
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +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
764f73a033
base.bbclass: Only run do_stage if its been overwritten as the default is empty and its pointless to run it
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:21 +00:00
Richard Purdie
58c01c147c
xfce.bbclass: Sync with OE.dev
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:21 +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
83a64003f8
packaged-staging: Whitelist the empty base_do_stage function as it does nothing and locks need not be held
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-28 15:22:37 +00:00
Richard Purdie
8aa3e16e1f
nativesdk.bbclass: Drop ineffective dynamic linker flag
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-18 01:05:32 +01:00
Richard Purdie
3fbbc44cfd
nativesdk/package_ipk.bbclass: Clean up sdk package architectures
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:25:25 +01:00
Richard Purdie
a51362cc76
package_ipk.bbclass: Convert to use SDK_ARCH
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:25:24 +01:00
Richard Purdie
00127b3744
packaged-staging.bbclass Use libdir_native for opkg paths in directory creation
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:25:23 +01:00
Richard Purdie
5912ab1de1
native.bbclass: Use prefix_native variable
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:25:23 +01:00
Richard Purdie
ca667135a3
nativesdk: Convert to use crosssdk toolchain and remove binutils/gcc nativesdk recipes
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:25:23 +01:00
Richard Purdie
afa02c5470
cross-canadian: Add cross-canadian class with gcc and binutils recipes
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:25:23 +01:00
Richard Purdie
c906f2bce4
crosssdk: Add crosssdk class with gcc and binutils recipes
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:25:23 +01:00
Richard Purdie
bc5afa640b
nativesdk: Don't use search and replace on DEPENDS field
...
Search and replace on the DEPENDS field can cause problems if
multiple similar names are present in the string so use an
alternative approach.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:25:22 +01:00
Richard Purdie
0d7207ca39
sdk.bbclass: Rename to nativesdk.bbclass
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:25:22 +01:00
Richard Purdie
af85ce4b4e
Remove layout_* variables
...
Remove layout_* variables and replace them with variables specific to the
different classes. The layout variables were only useful for the native/cross
classes and caused more confusion than they solved. They didn't scale to the
sdk class. It now clear a small set of native/cross variables fulfil the needs.
This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes
sense since we're installing binaries into the locations we're compiling them for.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:24:36 +01:00
Richard Purdie
846794c17e
bitbake.conf: Rename SDK_PREFIX SDKPATH
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-10 17:58:36 +01:00
Richard Purdie
43fa53c9f3
patch.bbclass: Merge in git resolver changes from OE.dev. Catch all exceptions rather than print horrid backtraces
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-03 22:22:10 +01:00
Richard Purdie
d5341fb796
Add poky-trim-schemas post install script to remove unneeded schema locale translations from images (credit to Ross Burton for the initial script)
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-28 17:11:57 +01:00
Damien Lespiau
0f2df9e639
base.bbclass: Don't retrieve SRC_URI when not necessary
...
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2009-08-26 00:45:53 +01:00
Damien Lespiau
65bf6c90e6
base.bbclass: packages pulling a mercurial tree should depend on mercurial
...
As we don't provide a mercurial-native package (yet) let's assume the
build machine has it installed and check (sanity.bbclass) if it's the
case.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2009-08-26 00:44:41 +01:00
Richard Purdie
c2b4308119
base.bbclass: Use subprocess rather than os.system for do_unpack
...
gzip reports broken pipe errors with do_unpack on Fedora with
certain builds of gzip and bash. By avoding python's SIGPIPE handler
we can work correctly on these distributions.
Patch based on a patch from the OE-devel mailing list, thanks to
Khem Raj <raj.khem@gmail.com> and Holger Freyther <zecke@selfish.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-25 16:37:50 +01:00
Richard Purdie
b8398e1cdf
autotools.bbclass: Remove pointless inherit
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-12 12:02:21 +01:00
Richard Purdie
db549cdae3
binconfig.bbclass: Remove pointless inherit
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-12 12:01:41 +01:00
Richard Purdie
98c561bf17
package_ipk.bbclass: Place configuration files in WORKDIR, not staging
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-12 11:26:07 +01:00
Richard Purdie
9e9663ac06
packagehistory.bbclass: Make package history package architecture specific
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-28 20:03:36 +01:00
Richard Purdie
9439e99ae7
autotools.bbclass: Fix to work with configure files with leading whitespace
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-16 15:54:47 +01:00
Richard Purdie
710d5b5f0f
root_ipk.bbclass: Give EXTRAOPKGCONFIG a default value
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-15 13:43:33 +01:00
Richard Purdie
efd00048e3
rootfs_ipk.bbclass: Don't generate the arch.conf file, provide this as a packaged file in future
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-15 12:57:10 +01:00
Richard Purdie
5d51a7e705
packagehistory: Make sure package is inherited beforehand to preserve the PACKAGEFUNCS variable
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-13 17:09:17 +01:00
Richard Purdie
0a155f0d10
gnome.bbclass: Convert to autotools_stage
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-09 17:51:53 +01:00
Richard Purdie
ffe979a855
Add package_history.bbclass which checks generated package against previous package looking for problematic changes
2009-07-09 17:19:29 +01:00
Richard Purdie
2b7886853c
package_ipk.bbclass: Solve opkg-make-index locking problem using flock
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-08 00:51:51 +01:00
Richard Purdie
b8b7652815
pkgconfig.bbclass: No longer default to pkgconfig_stage code (breaks libdrm)
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-07 15:13:56 +01:00
Richard Purdie
e2580df891
patch.bbclass: Fix up the environment for the patch resolution code
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-02 14:36:56 +01:00
Richard Purdie
b93a3d1d91
patch.bbclass: Sync with OE.dev
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-02 12:38:35 +01:00
Richard Purdie
96f56b2603
patch.bbclass: Allow a patch to be applied or not applied against a specific srcrev
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-22 16:00:28 +01:00
Richard Purdie
1c543df879
distutils.bbclass: Sync with OE
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-16 23:14:40 +01:00
Richard Purdie
e595bc11c8
poky-autobuild-notifier.bbclass: Remove unneeded recipients
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-15 22:51:42 +01:00
Richard Purdie
5dd9134d5e
pkgconfig.bbclass: Fix typo
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-12 17:17:04 +01:00
Richard Purdie
1247e2bba2
pkgconfig.bbclass: Split out the staging function into its own class (pkgconfig_stage)
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-12 16:02:13 +01:00
Richard Purdie
2684b195bc
packaged-staging.bbclass: Fix for packages which don't stage anything
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-12 15:55:11 +01:00
Richard Purdie
3a309d20f2
packaged-staging.bbckass: Add option of setting PSTAGE_BROKEN_DESTDIR to disable packaged staging acceleration for packages with broken DESTDIR handling
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-11 16:10:28 +01:00
Richard Purdie
d684d4385d
packaged-staging.bbclass: Turn off debug
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-11 15:04:33 +01:00
Richard Purdie
5a4c688958
packaged-staging.bbclass: Detect when we're using autotools_stage_all and don't hold the lock for as long when that is the case giving a significant performance boost with less lock contention and staging area file timestamp checking required
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-11 14:46:17 +01:00
Richard Purdie
4d503cfa06
native.bbclass: Drop INHIBIT_NATIVE_STAGE_INSTALL function and wrap logic in a do_stage_native() wrapper which packaged-staging can detect
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-11 14:43:45 +01:00
Richard Purdie
f80563c9cf
cpan_build.bbclass: Just write a do_stage function, INHIBIT_NATIVE_STAGE_INSTALL isn't particuarly useful
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-11 14:41:50 +01:00
Richard Purdie
f187869891
pkgconfig.bbclass: Drop strange unneeded inherit base
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-11 11:55:24 +01:00
Richard Purdie
f1619b3567
packaged-staging.bbclass: Fix accidental debug addition
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-08 17:36:08 +01:00
Richard Purdie
1a21e6e2d5
packaged-staging.bbclass: Add support for mangling .la files so the staging directory path can change. Someday libtool will support sysroot but until then...
...
Signed-off-by: Richard Purdie <richard@ted.(none)>
2009-06-04 20:46:09 +01:00
Richard Purdie
f2a9705633
sanity.bbclass: Really fix TMPDIR change warning message
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-28 21:32:30 +01:00
Richard Purdie
ec4d79ddc8
sanity.bbclass: Fix the warning message above tmpdir moving to point to the correct path
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-23 10:56:21 +01:00
Richard Purdie
a811131e69
base.bbclass: Update to work with systems where install won't overwrite files
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-19 12:09:21 +01: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
Robert Schuster
58ffd5a0ed
base.bbclass: Add subdir feature to SRC_URI entries (from OE)
2009-03-11 12:03:25 +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
Damien Lespiau
bcf14a38d5
sanity.bbclass: Fix error message when not having g++ on build
2009-02-04 09:47:35 +01:00
Richard Purdie
c92acf4b05
image.bbclass: Use IMAGE_ROOTFS_SIZE if the image will fit into it and only add extra space if the image is too small (ported from OE by hrw)
2009-01-23 16:24:46 +00:00
Richard Purdie
b74734d8c9
poky-image/moblin-image.bbclass: Fix a typo noticed by Mike Turquette
2009-01-23 16:03:58 +00:00
Richard Purdie
aa8de0e941
mozilla.bbclass: Fix pkgconfig usage for pkgconfig sysroot
2009-01-23 15:51:44 +00:00
Richard Purdie
98fa049ba0
sdk.bbclass: Ignore -sdk suffix warnings for gcc-cross-sdk
2009-01-16 15:40:49 +00:00
Richard Purdie
30238161a6
image.bbclass: Generate the image after running the kernel modules and ldconfig commands, not before
2009-01-07 16:31:48 +00:00
Richard Purdie
0341841061
update-rc.d.bbclass: Only change the main package RDEPENDS, not all the RDEPENDS as this affects things like the -doc packages
2009-01-07 16:30:28 +00:00
Richard Purdie
7b281a3924
native.bbclass: Add virtclass-native to OVERRIDES and use in fakeroot to function correctly
2009-01-05 22:00:22 +00:00
Richard Purdie
e247f22c27
sdk.bbclass: Don't special case virtual/ dependencies as this breaks things like libx11
2009-01-05 15:59:22 +00:00
Richard Purdie
fb9196ddcf
native.bbclass: Handling remapping of PROVIDES similar to sdk.bbclass
2009-01-05 15:57:50 +00:00
Richard Purdie
f091e6c78a
Remove unneeded S variables
2009-01-03 18:34:00 +00:00
Richard Purdie
c4a39f6417
zlib: Clean up recipe and use BBCLASSEXTEND for native and sdk versions
2009-01-03 17:31:17 +00:00
Richard Purdie
ee0faf1346
native/sdk.bbclass: Handle DEPENDS and PROVIDES fields magically, remove a number of xorg sdk and native packages replacing with BBCLASSEXTEND
2009-01-03 16:25:39 +00:00
Richard Purdie
01793c5bd3
base.bbclass: Remove pointless expand call
2009-01-02 11:18:42 +00:00
Richard Purdie
3ab2ff7668
base.bbclass: Add metadata revision handling for git (from OE)
2009-01-02 11:09:04 +00:00
Richard Purdie
1d89595e2b
base.bbclass: Add unpack handling for .jar files (from OE)
2009-01-02 10:35:32 +00:00
Richard Purdie
94c895aad5
bitbake.conf: Create BPN variable containing the pruned version of PN with various suffixes removed and use this for S and FILESPATH. This uses naming from OE but with improved code
2009-01-02 10:15:45 +00:00
Richard Purdie
e380b48602
classes/autotools_stage.bbclass: Add autotools_stage class to simplify recipes using standard autotools
2008-12-30 17:07:04 +00:00
Richard Purdie
13ee3030f3
image.bbclass: Fix typo
2008-11-10 21:47:49 +00:00
Richard Purdie
793dc948e6
image.bbclass: Add function to write out an image manifest
2008-11-10 21:39:34 +00:00
Samuel Ortiz
e437435158
bootimg: Let mkdosfs choose between fat12 and fat16
2008-11-10 19:26:19 +01:00
Samuel Ortiz
31aee0a9f9
image.bbclass: Add routine for disabling x startup when needed
2008-11-10 17:21:10 +01:00
Samuel Ortiz
1782861e45
Add missing ";" to the ROOTFS_POSTPROCESS_COMMAND string
2008-11-10 17:19:26 +01:00
Richard Purdie
826cd19f04
meta/classes/rootfs_*.bbclass: Fix unset variable
2008-11-07 13:59:12 +00:00
Joshua Lock
5ef71a4121
distutils.bbclass: Remove .pyo object files before packaging.
2008-11-07 13:42:36 +00:00
Richard Purdie
436c5f4716
classes: Add mechanism to install packages into images only if they've been built
2008-11-06 16:23:32 +00:00
Samuel Ortiz
faae7d38e6
bootimg: As image size grows, we want to switch to FAT16
2008-11-06 11:25:34 +01:00
Richard Purdie
7fdff0f3cd
base.bbclass: Improve the git proxy syntax to match the http/ftp syntax too
2008-11-04 19:13:25 +00:00
Richard Purdie
e0dab8bda5
packaged-staging.bbclass: Ignore errors resulting from parallel threads clashing
2008-11-04 17:34:45 +00:00
Richard Purdie
4a3a35f81c
autotools.bbclass: Handle /lib as well as /usr/lib in autotools_stage_all
2008-11-04 15:40:56 +00:00
Richard Purdie
4c626238e7
base.bbclass: Set GIT_CONFIG correctly
2008-11-04 13:32:35 +00:00
Richard Purdie
66481d67f4
base.bbclass: Fix whitepsace damage
2008-11-04 11:49:06 +00:00
Richard Purdie
2a0c668a9b
base.bbclass: Create ~/.gitconfig if it doesn't already exist
2008-11-04 11:48:12 +00:00
Richard Purdie
51be1fad9c
linux-simtec: Update simtec1 -> simtec3 and add COMPATIBLE_MACHINE
2008-11-04 11:43:33 +00:00
Richard Purdie
4f083a4ada
packaged-staging.bbclass: Make sure target directory exists, fixing build failures
2008-11-03 17:03:27 +00:00
Richard Purdie
10fd960412
sdk.bbclass: Fix PKG_CONFIG_DIR value
2008-11-03 17:00:29 +00:00
Rob Bradford
76a7b78b40
roots_rpm.bbclass: Use opkg-native to get update-alternatives
2008-10-31 16:24:31 +00:00
Richard Purdie
efbd5e58d4
base.bbclass: Fix infinite loop
2008-10-31 14:47:22 +00:00
Richard Purdie
af861caace
base.bbclass: Fix typo
2008-10-31 14:40:49 +00:00
Richard Purdie
921cbb2626
base.bbclass: Fix the git config file writing code
2008-10-31 14:38:11 +00:00
Richard Purdie
57fbc64c59
base.bbclass: Fix getVar call
2008-10-31 13:25:04 +00:00
Richard Purdie
175b45b6ec
base.bbclass: Add missing import os
2008-10-31 13:19:10 +00:00
Richard Purdie
d487daccd6
base.bbclass: Add missing import bb
2008-10-31 13:07:04 +00:00
Joshua Lock
d514eeeaec
base.bbclass: Additional git proxy support.
...
Add to the git proxy support so that the proxy configuration can be propogated to the git config (etc/gitconfig in staging).
Add support for ignored hosts in the git proxy.
Examples in site.conf.sample
2008-10-30 17:52:32 +00:00
Rob Braford
b906b0cd60
rootfs_rpm.bbclass: Disable non Poky repositories.
...
Only use repositories that begin "poky-feed". This prevents contamination with
system repositories.
It may be better to patch yum not to ever look in the system repository
locations (i.e. /etc/yum.repos.d).
2008-10-29 18:22:42 +00:00
Samuel Ortiz
7994045755
kernel.bbclass: We dont want to tar lib/ if we dont have any modules
2008-10-29 03:00:56 +01: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
Richard Purdie
774485d133
image.bbclass: Add INHIBIT_DEFAULT_DEPS
2008-10-28 15:14:00 +00:00
Samuel Ortiz
f19e4350c0
bootimg: copy rootfs to ISO image
...
We are only copying the initrd right now.
2008-10-27 13:44:20 +01:00
Richard Purdie
b8ff2b6cc3
base.bbclass/bitbake.conf: Fix some string quoting to handle more unusual URLs
2008-10-23 21:08:42 +01:00
Robert Bradford
7ddbeb2931
packaged-staging.bbclass: Avoid removing the staging.lock lock file.
...
The pstage_manualclean function can be called on a directory containing an
actively held lock on staging. Removing the lock file whilst the lock is held
results in a failure when the lock is released.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5553 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 14:58:47 +00:00
Robert Bradford
a8644924ab
base.bbclass: Output notes only on BB <= 1.8.x
...
With BB > 1.9 the UI can output the details of an event as it chooses. They do
not need to be converted into notes. Without this patch spurious messages are
generated on BB 1.9.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5540 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 11:35:37 +00:00
Andrzej Zaborowski
3f93ed6bce
syslinux-native: Try to make syslinux cross-compile friendly.
...
We only had one package for building both the bootloader and the installer,
i.e. target and host code. It used always the host compiler. Split the
package into syslinux and syslinux-installer-native, require both for a
cd bootable image.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5539 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-20 00:22:07 +00:00
Samuel Ortiz
e1720d80de
bootimg: Add symbolic links to iso and hddimg
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5535 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 11:04:51 +00:00
Richard Purdie
e0c1bd1bd1
sdk.bbclass: Rewrite PACKAGE_ARCHS
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5532 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 10:43:38 +00:00
Richard Purdie
9a38dbddc0
syslinux.bbclass: Clean up boot menu title
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5521 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 08:39:34 +00:00
Richard Purdie
fe795de8f5
package_ipk.bbclass: Simplify variable expansion
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5476 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-10 11:24:33 +00:00
Richard Purdie
fc467314f8
image.bbclass: Make the kernel depmod dependent on the presence of a kernel - some images eg an initramfs don't have this
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5473 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-09 19:08:11 +00:00
Marcin Juszkiewicz
2eadfa913f
image.bbclass: generate modules.dep
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5468 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-09 09:36:00 +00:00
Richard Purdie
51268c1f15
rootfs_ipk.bbclass: Don't error if the file doesn't exist
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5467 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-08 22:20:14 +00:00
Richard Purdie
7daedbf051
package_ipk.bbclass: Fix opkg config file generation
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5466 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-08 19:16:08 +00:00
Richard Purdie
fb439d9bc0
package_ipk/rootfs_ipk.bbclass: Update image from feed handling
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5465 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-08 16:49:57 +00:00
Samuel Ortiz
4d3d6fbb41
syslinux: We forward the LABEL through cmdline
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5458 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-08 14:36:47 +00:00
Marcin Juszkiewicz
c8a3fab82f
rootfs_rpm.bbclass: added code to generate images from feeds
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5436 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07 16:47:22 +00:00
Marcin Juszkiewicz
0ea7472583
rootfs_rpm.bbclass: added generation of feed entries
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5434 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07 16:21:25 +00:00
Marcin Juszkiewicz
d1a327bede
rootfs_rpm.bbclass: remove temporary yum config - rootfs has one from yum package
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5433 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07 15:34:55 +00:00
Marcin Juszkiewicz
f9b9e314eb
rootfs_rpm.bbclass: fix platform so rpm will be usable on device
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5432 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07 13:43:07 +00:00
Richard Purdie
559a522dc3
base.bbclass: Add automatic osc-native dependencies for osc:// recipes
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5425 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-07 09:25:11 +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
Marcin Juszkiewicz
e71b7011d4
rootfs_rpm.bbclass: remove lock files to get rpm working on device
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5412 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-03 15:23:05 +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
a61f5b0a77
rootfs_rpm.bbclass: Set YUM_ARCH_FORCE
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5398 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 21:31:32 +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
Marcin Juszkiewicz
e5e21ca415
rootfs_rpm: set target architecture and do not tell yum which arch we will use
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5391 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 20:43: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
6e62524f37
base.bbclass: Add read_subpkgdata_dict function
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5389 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 19:56:43 +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
Marcin Juszkiewicz
2d4b12e62b
rootfs_rpm.bbclass: use more efficient way to copy packages
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5386 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 19:02:39 +00:00
Richard Purdie
096b0cd292
packaged-staging.bbclass: Add rpm package coverage
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5382 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 15:22:10 +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
Marcin Juszkiewicz
9c63c7ef05
rootfs_rpm.bbclass: ship rpm and yum in target images
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5380 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 14:26:38 +00:00
Richard Purdie
8626cf563c
rootfs_ipk.bbclass: Fix shell commands
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5378 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02 09:42:27 +00:00
Richard Purdie
beee0c51f2
rootfs_ipk.bbclass: Improve image from feed generation
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5374 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 15:52:19 +00:00
Richard Purdie
39b0cfa2bd
Rename FEED_URIS -> IPK_FEED_URIS
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5373 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 15:42:55 +00:00
Richard Purdie
18104e1216
rootfs_ipk.bbclass: Add the hard bit of image generation from feeds, controlled by a BUILD_IMAGES_FROM_FEEDS variable
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5372 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 15:38:55 +00:00
Richard Purdie
f36ea090d1
bootimg.bbclass: Set nostamp for the bootimg task
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5369 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 13:56:29 +00:00
Marcin Juszkiewicz
3db5955abd
gconf.bbclass: depend also on gconf-native
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5361 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-01 09:50:47 +00:00
Richard Purdie
845d2988df
Revert unintended commits
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5353 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:58:43 +00:00
Richard Purdie
979f987c44
bitbake cache.py: When SRCREV autorevisioning for a recipe is in use, don't cache the recipe. Based on work from Heikki Paajanen
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5352 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-30 21:54:47 +00:00
Marcin Juszkiewicz
6ae402ea3f
image.bbclass: make ext2/ext3 images autoresize
...
New variable IMAGE_EXTRA_SPACE contains amount of kilobytes which has
to be added to size of IMAGE_ROOTFS. Resulting size is then passed to
genext2fs util.
As a result we do not have to specify size for ROOTFS_SIZE anymore.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5269 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-25 14:09:22 +00:00
Joshua Lock
8f8fbefd0f
Initial support for netbooks with a poky-image-netbook(-live) image target.
...
This needs much love from folk with UI and WM skills.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5266 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-25 09:50:05 +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
Samuel Ortiz
71a2e0d41d
bootimg: Adding a rootfs to the disk image
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5172 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-10 21:19:19 +00:00
Richard Purdie
13671658cb
rootfs_rpm.bbclass: Add recommends handling
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5158 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-08 11:19:23 +00:00
Richard Purdie
5b24b9c9fa
poky.bbclass: Add https mirror source
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5155 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-07 11:18:45 +00:00
Richard Purdie
23c36b0fbf
rootfs_rpm.bbclass: Fixup broken symlinks due to fakechroot and run any leftover postinstalls on real hardware at first boot
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5143 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-04 21:52:34 +00:00
Richard Purdie
9a90cab476
gconf.bbclass: Drop configure/install/upgarde checks since not all SCMs support these in postinstalls
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5137 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-04 11:34:26 +00:00
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
Richard Purdie
9e6cfe2225
base.bbclass: Disable do_mrproper - it doesn't do anything sane/useful
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4563 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-29 09:28:36 +00:00
Richard Purdie
820845f6b7
packaged-staging.bbclass: The staging_packager function should not be installing the package, that is the job of the staging_package_installer() function which is called with the correct locks held
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4531 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 22:00:10 +00:00
Richard Purdie
c209f853b6
image.bbclass: Drop bbimage command
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4527 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 20:20:08 +00:00
Richard Purdie
b85bc2744a
devshell.bbclass: Export needed variables
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4526 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 20:19:01 +00:00
Richard Purdie
f7dd25d3f3
image.bbclass: Fix whitespace
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4525 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 20:16:49 +00:00
Richard Purdie
fe1c075411
rootfs_deb.bbclass: Use DPKG_ARCH for the architecture field, not TARGET_ARCH since it breaks x86
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4520 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 13:17:53 +00:00
Richard Purdie
37f3bbaa41
module.bbclass: Fix external module version dependencies
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4518 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-21 09:35:53 +00:00
Richard Purdie
bfe8092d3b
poky-image.bbclass: Correctly handle inserting package-managers into images by making it an image feature
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4517 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-20 14:58:34 +00:00
Richard Purdie
03c0969ef8
poky-image.bbclass: Remove DISTRO_TASKS variable and replace with POKY_BASE_INSTALL
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4516 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-20 14:56:00 +00:00
Richard Purdie
6a468efd9a
rootfs_deb.bbclass: Use /var/dpkg for dpkg status data
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4511 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-20 14:16:48 +00:00
Richard Purdie
8b60069706
rootfs_deb: Export OPKG_OFFLINE_ROOT for update-alternatives fixing dpkg rootfs generation
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4506 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-20 10:08:34 +00:00
Richard Purdie
d35f304c2a
gtk-icon-cache.bbclass: Using dashes in shell function names is a really bad idea
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4505 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-20 08:40:02 +00:00
Richard Purdie
7d4beb21d5
packaged-staging.bbclass: Make the class compatible with opkg, ipkg and ipkg-sh and allow auto switching between whichever is available. Fix task dependencies in BB_STAMP_POLICY == whitelist case. Remove now unneeded basic dependencies.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4492 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-18 21:24:41 +00:00
Richard Purdie
aa3141e979
image.bbclass: Fix locking so multiple image targets work
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4491 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-18 17:56:29 +00:00
Richard Purdie
9909e989d9
patch.bbclass: Make it possibe to override the patch dependency
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4489 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-18 16:22:21 +00:00
Richard Purdie
f0e154b9f9
packaged-staging.bbclass: Execute staging_helper earlier to make sure the configuration file exists when needed. When installing the package after building make sure the control and list files are created. Use stage-manager-ipkg-build instead of needing ipkg-utils-native
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4488 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-18 14:12:15 +00:00
Richard Purdie
4c664f698c
packaged-staging.bbclass: Improve postamble exit code handling
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4484 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-16 07:18:42 +00:00
Richard Purdie
9b6d8f4400
classes: Add gtk-doc.bbclass
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4479 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-15 14:11:13 +00:00
Richard Purdie
a71df5506a
packaged-staging.bbclass: Add code to handle checking the stamp dependency tree properly
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4472 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-14 16:50:51 +00:00
Richard Purdie
7564d63ba5
base.bbclass: Add sanity check for multiple file matches to oe_libinstall from OE.dev
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4460 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-12 14:10:06 +00:00
Richard Purdie
b6fefce736
autotools.bbclass: Switch stage_autotools_all to change la files itself and to stop using oe_libinstall
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4459 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-12 13:09:17 +00:00
Richard Purdie
1b969af1b9
sanity.bbclass: Sync with OE, introduce TMPDIR ABI versioning, drop bitbake 1.8.6 cruft, only run the mmap_min_addr check on ARM when we need to run binary locale generation
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4450 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-07 09:49:38 +00:00
Richard Purdie
f7cabaae53
sanity.bbclass: Add check of the /proc/sys/vm/mmap_min_addr value and warn if its potentially problematic
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4448 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-07 09:31:43 +00:00
Ross Burton
8076a7b88a
base.bbclass: don't add shasum-native dependency if we are building shasum-native
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4444 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-06 15:43:12 +00:00
Richard Purdie
be886a8b1b
autotools.bbclass: There is no need to use the strange -t option to cp anymore
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4442 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-06 14:18:01 +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
Richard Purdie
2fdb008097
poky.bbclass: Fix mirror URLs
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4414 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-05 14:25:07 +00:00
Richard Purdie
cd4e478699
packaged-staging.bbclass: Set BB_STAMP_WHITELIST with packaged-staging tasks, update package location code to deal with packaged which don't exist, preserve stamp timestamps when copying them
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4410 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-04 23:16:40 +00:00
Richard Purdie
317b53682e
sdk.bbclass: Instead of changing HOST_VENDOR which badly affects gcc compilation, modify STAGING_DIR_HOST.
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4406 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-02 12:44:57 +00:00
Richard Purdie
1122b0093f
packaged-staging.bbclass: Fixup do_prepackaged_stage references
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4402 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 16:46:49 +00:00
Ross Burton
06fd2b6aaf
base.bbclass: only depend on shasum-native if we don't have hashlib
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4389 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 11:42:24 +00:00
Ross Burton
6697984ca2
sanity.bbclass: we don't use the md5sum binary any more, remove it
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4388 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 11:01:16 +00:00
Ross Burton
9fb8bc41bf
When checksuming tarballs use bb.utils.*_sum instead of calling commands directly
...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4387 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-01 11:00:27 +00:00