Richard Purdie
fe55fe7a41
base.bbclass: Fix missing argument
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18 12:13:32 +00:00
Richard Purdie
1ec852688b
base.bbclass: Fix indentation error
2009-12-18 12:11:42 +00:00
Richard Purdie
29ae46a866
kernel.bbclass: Use B, not S in KERNEL_VERSION
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18 11:41:44 +00:00
Richard Purdie
9a2f361a59
devshell.bbclass: Merge tweaks from OE.dev
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18 11:41:44 +00:00
Richard Purdie
22429b6137
base.bbclass: Partially sync branch/scm handling functions with OE.dev
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-18 11:41:43 +00:00
Joshua Lock
4859945b11
insane.bbclass: Handle native packages in the gettext test
...
When the package we are checking is a native package we need to check
for gettext-native rather than gettext in the DEPENDS.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2009-12-17 10:26:05 +00:00
Joshua Lock
71e21a72cd
insane.bbclass: Check whether gettext is required but not in DEPENDS
...
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2009-12-15 21:07:14 +00:00
Richard Purdie
51497a7436
kernel.bbclass: Sync with OE.dev
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-14 15:55:03 +00:00
Joshua Lock
62ab23e067
insane.bbclass: Skip arch check for Cross Canadian
...
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2009-12-14 11:56:01 +00:00
Richard Purdie
288e62a221
distutils: Sync with OE.dev
...
Signed-off-by: Richard Purdie <richard@rex.(none)>
2009-12-05 23:18:02 +00:00
Richard Purdie
28fc110e6d
nativesdk.bbclass: Disable debug
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-02 13:16:01 +00:00
Richard Purdie
82fd3bda34
nativesdk.bbclass: Fix DEPENDS handling
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-02 13:12:53 +00:00
Richard Purdie
4248fbef9f
cross-canadian: Set PKGHIST_DIR to a correct value
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-12-02 11:34:47 +00:00
Richard Purdie
66c952cbc2
autotools.bbclass: Make sure config.rpath is present if needed
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-30 17:03:38 +00:00
Richard Purdie
dfd32b429a
base.bbclass: Stage etc directory for native packages
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-30 15:11:22 +00:00
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
6ebcb57968
glibc-package.bbclass: Fix the case PN == glibc
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-20 17:10:49 +00:00
Richard Purdie
46fbe4cd80
glibc-package.bbclass: Add GLIBC_INTERNAL_USE_BINARY_LOCALE precompiled mode
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-20 15:50:34 +00:00
Richard Purdie
1e549b98e1
glibc: Separate out core glibc packaging functionality into a class
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-19 22:37:45 +00:00
Richard Purdie
43bee8b735
Disable packaged-staging for cross-linkage/staging-linkage and external-poky-toolchain
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-19 13:37:11 +00:00
Richard Purdie
affbcf3202
kernel.bbclass: Merge do_stage into do_install
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-19 13:22:48 +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
ca5f36ee6a
perl: Update from OE.dev and convert to use do_install for staging
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-18 20:05:55 +00:00
Richard Purdie
7d9e2e530e
cross.bbclass: Adjust the core class staging method as all users have been vetted and won't be affected
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-17 10:32:45 +00:00
Richard Purdie
977b3fe554
cross.bbclass: Add defitions of target_*dir variables and improve sysroot_stage_all to cope with mixed packages as found in cross recipes
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 23:34:42 +00:00
Richard Purdie
76d9b6ea7f
native.bbclass: Make sure PACKAGES is empty in case _prepend or _append are used
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 22:38:44 +00:00
Richard Purdie
6568a6d8a9
base.bbclass: Drop unused PSTAGE_BROKEN_DESTDIR variable and run sysroot_prehook at the right point
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 22:38:23 +00:00
Richard Purdie
7096a54436
packaged-staging.bbclass: Fix staging reference -> sysroots
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 22:37:39 +00:00
Richard Purdie
668ae67a4f
update-rc.d: Add native version, add native dependency to class, convert staging function
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 22:00:22 +00:00
Richard Purdie
7acfa9467f
perl: Standardise config.sh location
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 10:56:17 +00:00
Richard Purdie
5c0111cb9d
lib_package.bbclass: Sync with OE.dev to remove hardcoded layout assumption
2009-11-16 10:53:16 +00:00
Richard Purdie
5f22458409
debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixes
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 10:52:35 +00:00
Richard Purdie
01f75c1b48
rootfs_rpm/icecc: Sync whitespace with OE.dev
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 10:51:24 +00:00
Richard Purdie
a59f67fdb9
gtk-icon-cache.bbclass: Fix hardcoded PKGDEST reference and operate on directories other than hicolor (from OE.dev)
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 10:13:39 +00:00
Richard Purdie
67fa7a1c60
gconf.bbclass: Fix hardcoded PKGDEST reference
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 10:12:59 +00:00
Richard Purdie
7da2f8c51d
packaged-staging: Fix libdir references to use libdir_native
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 10:09:01 +00:00
Richard Purdie
c226b38181
package_ipk.bbclass: Fix typo
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16 10:06:52 +00:00
Richard Purdie
9198908755
cross.bbclass: Override the sysroot_stage_all to work appropriately for cross packages
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 15:37:50 +00:00
Richard Purdie
e2677471e6
base.bbclass: Add special stage keyword to override leagcy mode
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 15:37:00 +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
7ad17848de
gtk-icon-cache.bbclass: Drop unneeded module import
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:41 +00:00
Richard Purdie
c8dc3928fb
gconf.bbclass: Drop unneeded module import
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:41 +00:00
Richard Purdie
7b849ae2f5
native.bbclass: Fix DEPENDS handling for BBCLASSEXTEND use
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:28 +00:00
Richard Purdie
c6f860596c
base/autotools.bbclass: Make sure extra dependencies are not lost for native and nativesdk BBCLASSEXTEND. Ugly but no simpler/neater way seems possible
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:28 +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
80d55bbd6e
base.bbclass: Drop import bb and import os as no longer needed
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:27 +00:00
Richard Purdie
b26b8f4f23
native.bbclass: Improve DEPENDS mangling code so sub matches don't break upon substitutions
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:27 +00:00
Richard Purdie
aaf9b6aa5f
base.bbclass: Add an option of forcing the new staging mechanism
...
Add an option of forcing the new staging mechanism for native packages
that don't use autotools with the NATIVE_INSTALL_WORKS option
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:23 +00:00
Richard Purdie
08d949ee12
base.bbclass: Fix do_populate_staging to operating on TMPDIR, not STAGING_DIR_TARGET
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:23 +00:00
Richard Purdie
379bc4788f
classes: Various staging improvement fixups
...
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:23 +00:00
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