aboutsummaryrefslogtreecommitdiffstats
path: root/classes/package.bbclass
AgeCommit message (Collapse)Author
2009-05-14First pass of cleanup of messages outputted to the user.Chris Larson
OpenEmbedded outputs a lot of messages that the user is likely to never care about. We should only output something when it reflects upon their recipe (i.e. unpacking their sources, applying their patches), or is quite significant or unusual. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-04-21package.bbclass: fix globbing for mask-like filesRoman I Khimov
When a package contains two files like "name*" and "name*smth" OE can't properly package those, looping infinetely trying to build file list. The reason is that first file name globs to two files and OE adds them both into the list, then globs the first one again and gets two same files, etc. Fix that. Signed-off-by: Koen Kooi <koen@openembedded.org>
2009-03-19package.bbclass: Write out extra useful data into the pkgdata files (from Poky)Richard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5388 311d38ba-8fff-0310-9ca6-ca027cbcb966
2009-02-13package.bbclass, package_ipk.bbclass: add dynamic depends on locale packages ↵Otavio Salvador
(ipk specific)
2009-01-19package.bbclass: skip symlinks when generating shlib info in package_do_shlibs()Denys Dmytriyenko
2008-11-03replace remaining DEBPV variables with EXTENDPVOtavio Salvador
2008-10-30package bblass: fix ldconfig_postinst_fragment to not return an error if no ↵Koen Kooi
/etc/ld.so.conf is present
2008-10-27classes/package*.bbclass: Remove the build_package_revision functionRichard Purdie
Based on experience, this function is going to cause massive code readability issues. We can actually clean up the code more without it so do this instead.
2008-10-25package bbclass: only run ldconfig when there's a ld.so.conf presentKoen Kooi
2008-10-23package bbclass: add missing 'import bb'Koen Kooi
2008-10-22Merge branch 'shared/file-pr-revert' into org.openembedded.devHolger Hans Peter Freyther
Conflicts: packages/busybox/busybox_1.11.3.bb packages/dsplink/codec-engine_2.10.bb packages/gdb/gdb_6.3.bb packages/gdb/gdb_6.4.bb packages/gdb/gdb_6.6.bb packages/gdb/gdb_6.8.bb packages/glibc/glibc_2.2.5.bb packages/glibc/glibc_2.3.2+cvs20040726.bb packages/glibc/glibc_2.3.2.bb packages/glibc/glibc_2.3.3+cvs20041128.bb packages/glibc/glibc_2.3.3+cvs20050221.bb packages/glibc/glibc_2.3.3+cvs20050420.bb packages/glibc/glibc_2.3.3.bb packages/glibc/glibc_2.3.5+cvs20050627.bb packages/glibc/glibc_2.3.6.bb packages/glibc/glibc_2.4.bb packages/glibc/glibc_2.5.bb packages/glibc/glibc_2.6.1.bb packages/glibc/glibc_2.7.bb packages/kexecboot/linux-kexecboot_2.6.26.bb packages/libsdl/libsdl-x11_1.2.11.bb packages/linux/linux-rp_2.6.26.bb packages/mozilla/fennec_hg.bb packages/python/python_2.5.2.bb packages/tasks/task-xfce-base.bb packages/xorg-driver/xf86-video-omapfb_git.bb packages/xorg-xserver/xserver-kdrive_1.4.0.90.bb
2008-10-19package.bbclass: don't output postinst for ldconfig if USE_LDCONFIG=0Phil Blundell
2008-10-18WorkInProgress: Mangle the DISTRO_PR into the package revisionsHolger Hans Peter Freyther
2008-10-06package bbclass: add an 'allow_links' param to get symlinks packaged, ↵Koen Kooi
usefull for splitting out libraries
2008-09-17package.bbclass: apply patch from Tom Rini to avoid RDEPENDS on nonexistent ↵Phil Blundell
empty packages
2008-09-07package.bbclass: add PACKAGE_SNAP_LIB_SYMLINKSPhil Blundell
2008-08-21package.bbclass: add per-package staging hooksPhil Blundell
2008-03-28package.bbclass: fix handling of kernel-modules which end with '-dev' Thomas Kunze
Kernel-modules which end with -dev get update-modules-dev as RRECOMMENDS so update-modules-dev gets pulled in images. So we blacklist kernel-module packages for now.
2008-03-20package.bbclass: Add PN to list of package variables emitted in pkgdata ↵Richard Purdie
(from poky)
2008-03-18classes/packages.bbclass: This sounds like a place for past tense. We ran ↵Holger Freyther
strip...
2008-03-17package.bbclass: Write out PR into pkgdata since some packages override itRichard Purdie
2008-03-14base.bbclass, package.bbclass: Move package_stagefile function to ↵Richard Purdie
base.bbclass and add shell version
2008-03-14package.bbclass: Add in hooks for packaged staging in the shlibs and ↵Richard Purdie
pkgconfig code.
2008-02-28classes: Improve various staging variable referencesRichard Purdie
2008-02-24package.bbclass: shlib postinst: Check for ldconfig presence before running it.Paul Sokolovsky
* This helps uclibc systems where ldconfig is optional, in particular 3rd-party systems like OpenWRT. * Per RFC on the list.
2008-02-19package.bbclass: Correct SHLIBSDIR to use HOST_SYS, not TARGET_SYS. For most ↵Richard Purdie
packages this doesn't change much but for cross/sdk/native packages the distinction is important (from poky)
2008-02-19package.bbclass: Add various depchains improvements/fixes from poky. This ↵Richard Purdie
whole functionality ideally needs rewriting but this fixes various important issues with SDK generation
2008-02-19package.bbclass: Add SHLIBSDIR variable and replace hardcoded paths with it. ↵Richard Purdie
Also replace long since unused old_shlibs_dir (from poky)
2008-02-19package.bbclass: Drop unneeded copyfile function since we can use the ↵Richard Purdie
version from bitbake now
2007-12-19package.bbclass: Don't strip files in .debug directories meaning rerunning ↵Richard Purdie
the package task doesn't create chains of .debug directories (from poky)
2007-12-15package.bbclass: Add ASSUME_SHLIBS, way to specify shlib dependencies for ↵Paul Sokolovsky
ASSUME_PROVIDED. * List of <shlib_file_name>:<package>[_<version>] mappings. This info will be appended to one inferred by automatic shlib tracking code. So, it would be possible to have correct package dependencies even for libraries in ASSUME_PROVIDED.
2007-12-01classes/meta-toolchain: Remove pkgmaps from use using pkgdata to provide all ↵Richard Purdie
functionality in a multimachine safe way instead (from poky).
2007-12-01package.bbclass: Remove uneeded PACKAGE variable sanity checks, use pkgdata ↵Richard Purdie
packaged function from base.bbclass rather than our own (from poky)
2007-12-01package.bbclass: Ensure 'packaged' pkgdata stamp is emitted for packages ↵Richard Purdie
using ALLOW_EMPTY instead of ALLOW_EMTPY_pkg (from poky)
2007-11-17package.bbclass: fix some corner cases with the new package copy mechanism.Mike Westerhof
- do not transform a symlink to a directory into a directory on copy - preserve the mode when copying a directory
2007-11-05package.bbclass: Stop do_package from being destructive by copying instead ↵Richard Purdie
of moving files (from poky). The copyfile function will be moved to bitbake in due course.
2007-10-02mono 1.2.5.1: added mono.bbclass, many changes required for packagingHenryk Ploetz
New file: packages/mono/mono-mcs-intermediate_1.2.5.1.bb Compiles mono in native mode with standard prefix, then tars up the resulting tree and puts the tarfile into staging New file: packages/mono/mono_files.py Automatically generated using collect-path.py (attached to this mail) and contains a list that maps file patterns to package names (and contained assemblies, see below). New file: classes/mono.bbclass Has a helper function for the list that maps file patterns to package names and assemblies (see below). Also has a function mono_do_clilibs and inserts that function into PACKAGEFUNCS. This function calls mono_find_provides_and_requires which finds out (through calls to monodis --assembly and monodis --assemblyref) which assemblies are provided and required by a particular package. mono_do_clilibs then puts the information about provided assemblies into ${STAGING_DIR}/clilibs/${packagename}.list and information about the required packages into ${PKGDEST}/{packagename}.clilibdeps where it will later be picked up by the modified read_shlibdeps. Originally I had dependency resolution through the partial list in mono_files.py but obviously this doens't scale, so I implemented the new method with mono_do_clilibs. The benefit is now that I don't really need the extra information in mono_files.py anymore and can in principle get rid of mono_get_file_table and related code. Instead it should be possible to modify collect-paths.py to output bitbake .inc code (e.g. PACKAGES = "..." and a whole lot of FILES_... = "...") instead of python code. There's still the minor problem of how to handle the .mdb files, that's why I didn't implement it yet but instead opted for an approach that I knew would work. (Debian just puts the .mdb files into the individual packages, while I would argue that they do belong into corresponding -dbg packages.) Modified file: classes/package.bbclass In read_shlibdeps I folded the two identical code blocks dealing with *.shlibdeps and *.pcdeps into one and added *.clilibdeps (generated by mono_do_clilibs above). Modified file: packages/mono/mono_1.2.5.1.bb Add the mono-mcs-intermediate workaround. Add a whole lot of python code in populate_packages_prepend in order to split up the packages based on information from mono_files.py (via mono.bbclass' mono_get_file_table). As I said above a lot of this code can hopefully be replaced in the future.
2007-09-29package.bbclass: Fix .packaged pkgmaps data creation to fix depchains. Clean ↵Richard Purdie
up/optimise PACKAGES checks a bit
2007-09-04package.bbclass: Turn install path into a variable (PKGDATA) and cleanup ↵Richard Purdie
some unneeded complexity (from poky)
2007-09-04package*.bbclass: Switch to separate tasks for each packing type (from poky)Richard Purdie
2007-09-01classes: Convert to PKGDATA_DIR variable (from poky)Richard Purdie
2007-09-01package.bbclass: Improve strip function and convert to python (from poky)Richard Purdie
2007-08-11package.bbclass: Improve dependency chain handling function to differentiate ↵Richard Purdie
when multiple -dev or -dbg packages are generated and when a single one is generated (from poky)
2007-08-11package.bbclass: Fix a typo and remove broken code (from poky)Richard Purdie
2007-08-11package.bbclass: Remove wildcards from the RDEPENDS field, unbreaking ↵Richard Purdie
certain dependency chainhandling in both ipkg and dpkg (from poky)
2007-08-11package.bbclass: Only set the do_package dependency when we have packages to ↵Richard Purdie
generate (PACKAGES != ) removing needless dependencies (from poky)
2007-04-18classes: Add support for intertask dependencies to be specified, needed for ↵Richard Purdie
correct operation with bitbake 1.8.x. Old behaviour is maintained in a special legacy anonymous function in base.bbclass. The patch is an improved version of the one discussed on the mailing list.
2007-03-29package.bbclass: fix build problem related to private libsMarcin Juszkiewicz
2007-03-29package.bbclass: added support for private libraries (used only in package)Marcin Juszkiewicz
- if package contain libraries which are not used outside then add PRIVATE_LIBS variable with names of them to not generate shlibs for them.
2007-02-27package.bbclass: comment out the cleandir since it breaks constructions like ↵Koen Kooi
"inherit package_ipk package_tar" and seems to interfere with do_split_packages