summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
AgeCommit message (Collapse)AuthorFiles
2009-12-11package, package_ipk: add PKGV, to PV as PKG is to PN.Phil Blundell1
2009-11-23package.bbclass/module-strip.bbclass: Various strip fixesRichard Purdie1
* Turn striping functionality into functions and call in the appropriate place * Removing various races and ordering issues * Should mean kernel modules are correctly stripped (and stripping can be disabled) * Addresses bug 1182 * kernel module stripping applied to ${PKGD} (the correct place) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-23package.bbclass: Make sure PKGD is empty before populating fixing certain ↵Richard Purdie1
bugs (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-20package bbclass: drop ret = 0 check for bb.copyfile since it will return ↵Koen Kooi1
either False or the new mtime * Yes, I have files that claim to be from 19700101 :)
2009-11-20package bbclass: give better diagnostic when bb.copyfile failsKoen Kooi1
2009-11-16package.bbclass: Add back import os until further metadata cleanups happenRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16classes: Drop a number of unneeded import calls (from Poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-09package.bbclass: Add the option to declare package preprocess function hooks ↵Richard Purdie1
(from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-09package.bbclass: Change to operate on a copy of the install directory ↵Richard Purdie1
instead of directly. Also take the opportunity to rename the temp directories so their function is clear (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-09package.bbclass: Remove hardcoded use of PKGDEST variable (from Poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-09package.bbclass: Move variable checks to one place making the code more ↵Richard Purdie1
readable (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-31Revert "Revert "package.bbclass: Cleanup getVar syntax to use True, not 1 as ↵Frans Meulenbroeks1
third argument (from Poky)"" Oops, accidently reverted a patch, reverting the revert. Sorry for any inconvenience This reverts commit 056193c6638892ddde7bddbfc6f6f06a2288ba64.
2009-10-30Revert "package.bbclass: Cleanup getVar syntax to use True, not 1 as third ↵Frans Meulenbroeks1
argument (from Poky)" This reverts commit fcee557e1b0551d1743bbb3ad61102b9ccc4cba8.
2009-10-29package.bbclass: Cleanup getVar syntax to use True, not 1 as third argument ↵Richard Purdie1
(from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-27package bbclass: don't strip static libs so aggressivelyKoen Kooi1
2009-10-13package.bbclass: export subpackage individual version, if different from mainDenys Dmytriyenko1
Fixes the wrong versioned runtime dependency for shlib subpackages with own versions. Consider this: PACKAGES = "libfoo libbar" PV_libfoo = "1" PV_libbar = "2" PV = "3" That will generate libfoo_1 and libbar_2 packages, but version 3 will be exported in shlibs database, leading to the following versioned runtime dependencies: RDEPENDS: libfoo (>=3) libbar (>=3) This fixes the problem. Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Koen Kooi <koen@openembedded.org>
2009-10-02package bbclass: fix static libs logicKoen Kooi1
2009-10-01package bbclass: strip static libs as wellKoen Kooi1
2009-09-01package_deb: create md5sums control filesMichael Smith1
These are created with the package and get installed in /var/dpkg/info. Afterward it's a great way to find modified files for backup with a little shell script magic. It feels a bit weird to still use MD5, but that seems to be the convention in the Debian world. Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Chris Larson <clarson@kergoth.com>
2009-07-11package classes: count dotfiles as non-emptyMichael Smith1
Allow a package to be built that contains only dotfiles or dot directories under '/'. Signed-off-by: Michael Smith <msmith@cbnco.com>
2009-05-14First pass of cleanup of messages outputted to the user.Chris Larson1
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 Khimov1
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 Purdie1
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 Salvador1
(ipk specific)
2009-01-19package.bbclass: skip symlinks when generating shlib info in package_do_shlibs()Denys Dmytriyenko1
2008-11-03replace remaining DEBPV variables with EXTENDPVOtavio Salvador1
2008-10-30package bblass: fix ldconfig_postinst_fragment to not return an error if no ↵Koen Kooi1
/etc/ld.so.conf is present
2008-10-27classes/package*.bbclass: Remove the build_package_revision functionRichard Purdie1
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 Kooi1
2008-10-23package bbclass: add missing 'import bb'Koen Kooi1
2008-10-22Merge branch 'shared/file-pr-revert' into org.openembedded.devHolger Hans Peter Freyther1
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 Blundell1
2008-10-18WorkInProgress: Mangle the DISTRO_PR into the package revisionsHolger Hans Peter Freyther1
2008-10-06package bbclass: add an 'allow_links' param to get symlinks packaged, ↵Koen Kooi1
usefull for splitting out libraries
2008-09-17package.bbclass: apply patch from Tom Rini to avoid RDEPENDS on nonexistent ↵Phil Blundell1
empty packages
2008-09-07package.bbclass: add PACKAGE_SNAP_LIB_SYMLINKSPhil Blundell1
2008-08-21package.bbclass: add per-package staging hooksPhil Blundell1
2008-03-28package.bbclass: fix handling of kernel-modules which end with '-dev' Thomas Kunze1
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 Purdie1
(from poky)
2008-03-18classes/packages.bbclass: This sounds like a place for past tense. We ran ↵Holger Freyther1
strip...
2008-03-17package.bbclass: Write out PR into pkgdata since some packages override itRichard Purdie1
2008-03-14base.bbclass, package.bbclass: Move package_stagefile function to ↵Richard Purdie1
base.bbclass and add shell version
2008-03-14package.bbclass: Add in hooks for packaged staging in the shlibs and ↵Richard Purdie1
pkgconfig code.
2008-02-28classes: Improve various staging variable referencesRichard Purdie1
2008-02-24package.bbclass: shlib postinst: Check for ldconfig presence before running it.Paul Sokolovsky1
* 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 Purdie1
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 Purdie1
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 Purdie1
Also replace long since unused old_shlibs_dir (from poky)
2008-02-19package.bbclass: Drop unneeded copyfile function since we can use the ↵Richard Purdie1
version from bitbake now
2007-12-19package.bbclass: Don't strip files in .debug directories meaning rerunning ↵Richard Purdie1
the package task doesn't create chains of .debug directories (from poky)