aboutsummaryrefslogtreecommitdiffstats
path: root/classes/package.bbclass
AgeCommit message (Collapse)Author
2010-09-27native.bbclass,package.bbclass,bitbake.conf: Make provisions for system ↵Khem Raj
libdir to be something else than '/lib' * Add base_libdir_native as target libdir could be different e.g. lib32 lib64 * Dont assume lib to be system libdir during packaging. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Chris Larson <chris_larson@mentor.com>
2010-06-17Indentation fixups, caught by python -tChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-05bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Joshua Lock
populate_staging task to populate_sysroot This change, pulled from Poky, 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. This patch also includes fixes for all recipes which reference the directory. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-25change INHIBIT_PACKAGE_STRIP to PACKAGE_STRIP with more optionsRoman Khimov
Originally approached with "package.bbclass: introduce KEEP_GNU_DEBUGLINK": http://patchwork.openembedded.org/patch/886/ Redone with a change from INHIBIT_PACKAGE_STRIP to PACKAGE_STRIP which allows more options. By default it does exactly the same thing as is done today, strips the binary, but keeps the gnu.debuglink section. When set to "no", stripping is not done at all, when set to "full" the gnu.debuglink section is not re-added to the binary. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Chris Larson <chris_larson@mentor.com>
2010-03-01Revert "package.bbclass: when running 'file', be explicit about the path to ↵Chris Larson
the magic" Drop this for now, as apparently the magic file location varies with 'file' version. I'll just patch file to find it relative to the binary location instead. This reverts commit 1b5e7041ae3b26b7e59c76bd2f2fd72e35492940.
2010-02-26package.bbclass: when running 'file', be explicit about the path to the magicTom Rini
This works around one relocation issue. Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-02-19Revert "package.bbclass: when running 'file', be explicit about the path to ↵Chris Larson
the magic" Forgot to check a git status / log before pushing :) This reverts commit bd711cfab09394b6f3064eaed24b8761edc19f19.
2010-02-19package.bbclass: when running 'file', be explicit about the path to the magicTom Rini
This works around one relocation issue. Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2009-12-11package, package_ipk: add PKGV, to PV as PKG is to PN.Phil Blundell
2009-11-23package.bbclass/module-strip.bbclass: Various strip fixesRichard Purdie
* 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 Purdie
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 Kooi
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 Kooi
2009-11-16package.bbclass: Add back import os until further metadata cleanups happenRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16classes: Drop a number of unneeded import calls (from Poky)Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-09package.bbclass: Add the option to declare package preprocess function hooks ↵Richard Purdie
(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 Purdie
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 Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-09package.bbclass: Move variable checks to one place making the code more ↵Richard Purdie
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 Meulenbroeks
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 Meulenbroeks
argument (from Poky)" This reverts commit fcee557e1b0551d1743bbb3ad61102b9ccc4cba8.
2009-10-29package.bbclass: Cleanup getVar syntax to use True, not 1 as third argument ↵Richard Purdie
(from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-27package bbclass: don't strip static libs so aggressivelyKoen Kooi
2009-10-13package.bbclass: export subpackage individual version, if different from mainDenys Dmytriyenko
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 Kooi
2009-10-01package bbclass: strip static libs as wellKoen Kooi
2009-09-01package_deb: create md5sums control filesMichael Smith
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 Smith
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 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