generic-poky/meta/classes
Tyler Hall b578a06564 image-mklibs: handle position independent binaries
Executables built with -fpie have the ELF type DYN rather than EXEC
which makes them difficult to distinguish from shared libraries.
Currently when building the list of executables we omit these binaries
so they might fail to run on the resultant rootfs due to missing
symbols. One of these is systemd which builds -fpie unconditionally, so
mklibs breaks images containing systemd.

Modify the search to catch all executable files that are ELF and have an
interpreter set. Omit libc and libpthread as special cases because they
have an interpreter and are directly executable but treating them as
such is antithetical to the pupose of mklibs.

(From OE-Core rev: 30da34ef032d5b4b2f694743715f2c8d64dd9849)

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-10 23:13:54 +00:00
..
allarch.bbclass allarch: Force TARGET_*FLAGS variable values 2015-11-24 15:55:40 +00:00
archiver.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
autotools-brokensep.bbclass autotools-brokensep: Mark recipes with broken separate build dir support 2014-02-28 14:01:16 +00:00
autotools.bbclass autotools: Fix interaction with bitbake -b 2016-02-14 11:42:18 +00:00
base.bbclass base: Add nodejs-native dependency for npm:// urls 2016-02-28 11:32:57 +00:00
bash-completion.bbclass bash-completion.bbclass: add class 2016-01-30 11:37:02 +00:00
bin_package.bbclass bin_package.bbclass: binary package recipe class 2012-09-10 13:01:46 +01:00
binconfig-disabled.bbclass binconfig-disabled: write an message to stderr to help confused developers 2015-08-19 18:05:43 +01:00
binconfig.bbclass *.bbclass (shell): avoid pipe with sed 2014-05-08 13:00:33 +01:00
blacklist.bbclass Revert "base.bbclass/blacklist.bbclass: remove doc item when d.getVarFlags()" 2015-08-11 09:28:52 -07:00
bluetooth.bbclass bluetooth.bbclass: simplify recipe inference of bluetooth provider 2015-02-17 13:43:38 +00:00
boot-directdisk.bbclass syslinux.bbclass: make vm and live can be built together 2016-03-02 23:08:51 +00:00
bootimg.bbclass bootimg: set default value for LABELS variable 2016-03-02 23:08:51 +00:00
bugzilla.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
buildhistory.bbclass buildhistory.bbclass: remove out-dated information on request 2016-02-15 17:47:08 +00:00
buildstats-summary.bbclass buildstats-summary/toaster: Cope with removal of get_bn() 2015-12-18 13:50:57 +00:00
buildstats.bbclass buildstats.bbclass: Don't assume /proc/<pid>/io present 2016-02-28 11:32:59 +00:00
ccache.bbclass meta: Don't use deprecated bitbake API 2013-09-01 15:51:42 +01:00
chrpath.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
clutter.bbclass clutter: remove usage of FILESPATH 2013-10-26 15:59:13 +01:00
cmake.bbclass cmake: don't inherit autotools 2016-02-18 07:39:30 +00:00
cml1.bbclass cml1/sstate: Fix missing getVar parameter 2016-02-19 15:33:02 +00:00
compress_doc.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
copyleft_compliance.bbclass archiver.bbclass: make it can filter the license 2014-03-25 09:55:35 +00:00
copyleft_filter.bbclass copyleft_filter.bbclass: Allow to filter on name 2015-06-23 11:46:57 +01:00
core-image.bbclass qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00
cpan-base.bbclass meta: Drop now pointless manual -dbg packaging 2015-12-16 11:56:30 +00:00
cpan.bbclass perl: fix Perl5 module builds 2015-10-29 07:31:17 +00:00
cpan_build.bbclass perl: Remove errornous extra path-specs for Module::Build based modules 2015-10-29 07:31:17 +00:00
cross-canadian.bbclass package_deb.bbclass, cross-canadian.bbclass: DPKG_ARCH mapping function 2016-01-11 23:26:31 +00:00
cross.bbclass nopackages: Add class for recipes which don't generate packages 2015-12-14 22:30:57 +00:00
crosssdk.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
debian.bbclass debian: Fix superfluous setting for RPROVIDES 2016-02-14 11:42:19 +00:00
deploy.bbclass deploy: Mark deploy tasks as MACHINE specific 2015-10-01 07:43:36 +01:00
devshell.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
distro_features_check.bbclass distro_features_check: add any of test 2015-05-09 22:26:45 +01:00
distrodata.bbclass classes/distrodata: split SRC_URI properly before determining type 2015-11-16 11:39:39 +00:00
distutils-base.bbclass classes/distutils: Introduce PYTHON_PN 2014-02-02 22:37:38 +00:00
distutils-common-base.bbclass distutils-common-base: do not set PACKAGES - use defaults from bitbake.conf 2016-01-26 22:32:00 +00:00
distutils-native-base.bbclass classes/distutils: Introduce PYTHON_PN 2014-02-02 22:37:38 +00:00
distutils-tools.bbclass classes: Add distutils for python3 2014-02-02 22:37:39 +00:00
distutils.bbclass distutils.bbclass: Handle python-backport modules 2015-09-14 20:46:38 +01:00
distutils3-base.bbclass python3: Upgrade from 3.4.3 to 3.5 2015-12-01 21:32:06 +00:00
distutils3-native-base.bbclass python3: Upgrade from 3.4.3 to 3.5 2015-12-01 21:32:06 +00:00
distutils3.bbclass distutils3: Avoid MACHINE specific checksums 2015-10-01 07:43:36 +01:00
externalsrc.bbclass classes/externalsrc: fix symlinking if symlink exists pointing to another path 2016-03-02 22:39:45 +00:00
extrausers.bbclass extrausers.bbclass: avoid infinite loop 2013-11-06 11:02:26 +00:00
fontcache.bbclass fontcache: allow to pass extra parameters and environment to fc-cache 2015-10-01 17:54:55 +01:00
fs-uuid.bbclass boot loader: support root=UUID 2015-09-06 15:26:25 +01:00
gconf.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
gettext.bbclass gettext: Improve USE_NLS handling for nativesdk/crosssdk/cross-canadian 2013-08-23 16:20:11 +01:00
gnome.bbclass gnome: move introspection options to gnomebase 2015-08-24 23:46:53 +01:00
gnomebase.bbclass classes/gnomebase: change tarball compression to xz 2015-08-24 23:46:58 +01:00
grub-efi.bbclass grub-efi, gummiboot: Emit correct path in startup.nsh 2015-10-19 17:57:58 +01:00
gsettings.bbclass gsettings.bbclass: fix whitespace 2012-09-05 22:25:23 +01:00
gtk-doc.bbclass gtk-doc: Add pkgconfig inherit 2014-06-25 13:51:48 +01:00
gtk-icon-cache.bbclass gtk-icon-cache: pass the native libdir to the intercept 2015-10-29 07:31:16 +00:00
gtk-immodules-cache.bbclass gtk-immodules-cache.bbclass: fix immodules-cache path 2016-02-02 14:44:16 +00:00
gummiboot.bbclass grub-efi, gummiboot: Emit correct path in startup.nsh 2015-10-19 17:57:58 +01:00
gzipnative.bbclass gzipnative: Ensure dependencies apply to do_unpack and do_populate_lic 2013-09-22 12:19:43 +01:00
icecc.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
image-buildinfo.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
image-live.bbclass syslinux.bbclass: make vm and live can be built together 2016-03-02 23:08:51 +00:00
image-mklibs.bbclass image-mklibs: handle position independent binaries 2016-03-10 23:13:54 +00:00
image-prelink.bbclass image-prelink: use STAGING_*_NATIVE variables 2016-03-09 16:58:12 +00:00
image-swab.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
image-vm.bbclass syslinux.bbclass: make vm and live can be built together 2016-03-02 23:08:51 +00:00
image.bbclass image.bbclass: support chaining compression (aka conversion) commands 2016-03-09 16:58:10 +00:00
image_types.bbclass image creation: allow overriding .rootfs suffix 2016-03-07 17:17:43 +00:00
image_types_uboot.bbclass image_types_uboot: add cpio.gz.uboot to supported IMAGE_TYPES 2016-02-11 12:27:49 +00:00
insane.bbclass insane/prelink: Handle nonstandard library paths 2016-03-07 00:11:39 +00:00
kernel-arch.bbclass Revert "kernel/kernel-arch: Explicitly mapping between i386/x86_64 and x86 for kernel ARCH" 2016-02-04 23:39:02 +00:00
kernel-fitimage.bbclass classes: Fix do_rootfs references 2016-01-11 23:26:29 +00:00
kernel-grub.bbclass *.bbclass (shell): avoid pipe with sed 2014-05-08 13:00:33 +01:00
kernel-module-split.bbclass kernel-module-split.bbclass: Avoid bogus recommends for modules ending with -dev 2015-03-25 12:39:42 +00:00
kernel-uboot.bbclass kernel: Correct mishandling of linux.bin for building uImage 2015-08-14 08:30:33 +01:00
kernel-uimage.bbclass kernel: Build uImage only when really needed 2015-05-26 10:57:52 +01:00
kernel-yocto.bbclass kernel-yocto.bbclass: move do_kernel_link_vmlinux() into kernel.bbclass 2016-01-18 11:47:08 +00:00
kernel.bbclass Revert "kernel/kernel-arch: Explicitly mapping between i386/x86_64 and x86 for kernel ARCH" 2016-02-04 23:39:02 +00:00
kernelsrc.bbclass kernelsrc.bbclass: fix KERNEL_VERSION 2015-03-16 17:41:56 +00:00
lib_package.bbclass lib_package.bbclass: Correct comment referring to bin directories. 2013-01-07 11:09:42 +00:00
libc-common.bbclass libc-common.bbclass: rename ALL the packages 2014-08-23 23:01:57 +01:00
libc-package.bbclass libc-package.bbclass: add LOCALE_UTF8_IS_DEFAULT 2016-01-30 11:36:57 +00:00
license.bbclass license.bbclass: fix host contamination warnings for license files 2016-03-09 16:58:12 +00:00
linux-kernel-base.bbclass kernel: Rearrange for 1.8 2014-12-21 12:37:53 +00:00
linuxloader.bbclass linuxloader/image-prelink/image-mklibs: Fix non-standard path prelinking 2016-03-07 00:11:40 +00:00
logging.bbclass classes/logging: allow shell message functions to work in devshell 2015-07-16 15:09:24 +01:00
meta.bbclass meta: fix no newline at end of file 2014-07-03 17:41:16 +01:00
metadata_scm.bbclass classes/metadata_scm: fix git errors showing up on non-git repositories 2015-11-24 15:50:26 +00:00
migrate_localcount.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
mime.bbclass mime.bbclass: remove the --disable-update-mimedb 2014-01-06 11:13:56 +00:00
mirrors.bbclass mirrors/own-mirrors/sanity: Updates after npm fetcher addition 2016-02-28 11:32:57 +00:00
module-base.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
module.bbclass classes/module: allow substitution of the modules_install target name 2016-03-02 22:39:43 +00:00
multilib.bbclass mulitlib: Ensure SDKTARGETSYSROOT is set correctly 2015-09-28 12:00:17 +01:00
multilib_global.bbclass multilib_global: Add handling of SIGGEN variables for multilib 2015-10-01 07:43:35 +01:00
multilib_header.bbclass multilib_header: Do not install mutlilib headers for musl 2014-06-01 14:29:29 +01:00
native.bbclass bitbake.conf/native/nativesdk: Set PKG_CONFIG_SYSTEM_ at top level 2016-02-06 23:10:44 +00:00
nativesdk.bbclass bitbake.conf/native/nativesdk: Set PKG_CONFIG_SYSTEM_ at top level 2016-02-06 23:10:44 +00:00
nopackages.bbclass nopackages: Add class for recipes which don't generate packages 2015-12-14 22:30:57 +00:00
npm.bbclass recipetool: create: split npm module dependencies into packages 2016-03-09 17:00:29 +00:00
oelint.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
own-mirrors.bbclass mirrors/own-mirrors/sanity: Updates after npm fetcher addition 2016-02-28 11:32:57 +00:00
package.bbclass package: check inherit instead of PN to decide if a recipe is a packagegroup 2016-02-28 11:32:57 +00:00
package_deb.bbclass package_deb: Ensure allarch deb packages aren't target specific 2016-02-10 16:06:24 +00:00
package_ipk.bbclass package_ipk: allow to specify OPKG_ARGS in local.conf 2015-12-09 08:48:24 +00:00
package_rpm.bbclass classes: Ensure pass setVar/setVarFlag strings, not integers 2015-11-24 15:50:26 +00:00
package_tar.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
packagedata.bbclass packagedata: Fix to ensure variables expand correctly 2015-06-16 14:21:29 +01:00
packagegroup.bbclass packagegroup.bbclass: Use immediate expanded PACKAGE_ARCH value 2014-09-10 15:38:57 +01:00
patch.bbclass patch.bbclass: unset TMPDIR after use 2014-06-29 09:04:22 +01:00
perlnative.bbclass base/perlnative/pythonnative/gzipnative: Add a new variable to enable easier handling of native path issues 2012-07-26 14:56:20 +01:00
pixbufcache.bbclass gtk-icon-cache/pixbufcache: don't set GDK_PIXBUF_MODULEDIR 2015-09-28 12:00:17 +01:00
pkgconfig.bbclass pkgconfig: Drop automatic pkgconfig RDEPENDS 2012-10-18 12:13:12 +01:00
populate_sdk.bbclass nativesdk: Switch to using nativesdk as a prefix, not a suffix 2012-09-02 05:52:06 -07:00
populate_sdk_base.bbclass populate_sdk_base: handle empty SDK_PACKAGING_FUNC 2016-03-02 22:39:44 +00:00
populate_sdk_ext.bbclass populate_sdk_ext: Correct commit 8b81bb56c69aabdea984352f8e267a9783c0bdbc 2016-03-09 22:33:40 +00:00
prexport.bbclass prexport.bbclass: avoid export for native and crosssdk 2015-11-16 11:39:27 +00:00
primport.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
ptest-gnome.bbclass ptest-gnome: extend EXTRA_OECONF in all builds, not just target 2015-11-24 15:50:25 +00:00
ptest.bbclass classes: Ensure pass setVar/setVarFlag strings, not integers 2015-11-24 15:50:26 +00:00
python-dir.bbclass distutils: Introduce PYTHON_ABI variable 2014-02-02 22:37:39 +00:00
python3native.bbclass python3: Upgrade from 3.4.3 to 3.5 2015-12-01 21:32:06 +00:00
pythonnative.bbclass pythonnative: set PYTHON_EXECUTABLE so that cmake can find it 2014-12-25 08:18:13 +00:00
qemu.bbclass qemu.bbclass: add qemu_wrapper_cmdline() 2016-03-09 17:00:28 +00:00
recipe_sanity.bbclass recipe_sanity.bbclass: skip DataSmart in recipe_sanity_eh() 2016-02-21 09:32:41 +00:00
relocatable.bbclass relocatable.bbclass: split it up, to reuse code 2012-08-02 15:28:39 +01:00
remove-libtool.bbclass remove-libtool: add new class 2016-02-02 14:44:16 +00:00
report-error.bbclass report-error.bbclass: Support Unicode reports 2015-10-07 00:11:20 +01:00
rm_work.bbclass classes: Fix do_rootfs references 2016-01-11 23:26:29 +00:00
rootfs-postcommands.bbclass rootfs-postcommands: fix ssh_allow_empty_password checking 2016-02-28 11:33:06 +00:00
rootfs_deb.bbclass rootfs_*.bbclass: don't add BUILDNAME to do_rootfs vardepsexclude 2015-11-24 15:50:27 +00:00
rootfs_ipk.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
rootfs_rpm.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
rootfsdebugfiles.bbclass rootfsdebugfiles.bbclass: quick-and-dirty installation of additional files 2015-04-24 11:06:55 +01:00
sanity.bbclass sanity: Do not mistake meta-yocto-bsp for meta-yocto 2016-03-02 23:08:51 +00:00
scons.bbclass scons.bbclass: SCons packages don't require do_configure 2015-11-16 11:39:27 +00:00
sdl.bbclass classes/sdl: remove Opie-specific desktop file/packaging 2012-02-21 17:00:46 +00:00
setuptools.bbclass classes: Add distutils for python3 2014-02-02 22:37:39 +00:00
setuptools3.bbclass python3-distribute: Upgrade to python3-setuptools 15.2 2015-06-08 17:34:04 +01:00
sign_package_feed.bbclass signing-keys: Make signing keys the only publisher of keys 2016-02-26 17:16:25 +00:00
sign_rpm.bbclass signing-keys: Make signing keys the only publisher of keys 2016-02-26 17:16:25 +00:00
sip.bbclass *.bbclass (shell): avoid pipe with sed 2014-05-08 13:00:33 +01:00
siteconfig.bbclass meta-environment: Fix config-site with a multilib config 2014-11-12 15:38:33 +00:00
siteinfo.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
spdx.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
sstate.bbclass sstate: Allow late expansion of NATIVELSBSTRING 2016-03-07 11:55:37 +00:00
staging.bbclass staging.bbclass: remove trail slash from SYSROOT_DESTDIR 2016-02-21 09:32:41 +00:00
syslinux.bbclass syslinux.bbclass: make vm and live can be built together 2016-03-02 23:08:51 +00:00
systemd.bbclass systemd.bbclass: Allow enabling of parameterised services 2015-12-09 08:48:24 +00:00
terminal.bbclass terminal.bbclass: import oe.terminal for oe.terminal.prioritized() 2016-02-21 09:32:41 +00:00
testimage-auto.bbclass classes: Fix do_rootfs references 2016-01-11 23:26:29 +00:00
testimage.bbclass testimage.bbclass: reuse generic test suites 2016-02-28 11:33:02 +00:00
testsdk.bbclass classes/testsdk: Pass tcname to SDK and SDKExt contexts 2016-02-28 11:33:06 +00:00
texinfo.bbclass texinfo.bbclass: native/cross uses dummy texinfo; target uses host's Texinfo. 2014-06-13 12:31:38 +01:00
tinderclient.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
toaster.bbclass toaster.bbclass: improve how we gather buildstats for Toaster 2016-03-09 16:58:13 +00:00
toolchain-scripts.bbclass toolchain-scripts.bbclass: add three other path to PATH in env.sh 2016-02-21 09:32:41 +00:00
typecheck.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
uboot-config.bbclass uboot-config.bbclass: Allow multiple U-Boot config for machine 2015-02-08 08:00:24 +00:00
uninative.bbclass uninative: Handle relocate of GCONV_PATH in libc 2016-03-07 12:41:38 +00:00
update-alternatives.bbclass update-alternatives: when warning about alt_link==alt_target, say what PN 2016-01-24 09:40:25 +00:00
update-rc.d.bbclass update-rc.d.bbclass: explicitly dep on initscripts 2015-08-30 12:35:58 +01:00
upstream-version-is-even.bbclass package_regex.inc: split entries with odd-even versioning into their own recipes 2015-12-08 10:20:51 +00:00
useradd-staticids.bbclass useradd-staticids.bbclass: Remove unnecessary spaces 2016-01-18 11:47:07 +00:00
useradd.bbclass classes/useradd: handle whitespace only USERADD/GROUPADD/GROUPMEMS 2016-02-11 12:27:44 +00:00
useradd_base.bbclass useradd_base.bbclass: Do not warn without a reason 2015-10-21 22:56:05 +01:00
utility-tasks.bbclass classes/lib: Add expand parameter to getVarFlag 2016-02-04 23:39:00 +00:00
utils.bbclass utils: Handle MLPREFIX in all_multilib_tune_values() 2015-08-01 07:34:04 +01:00
vala.bbclass vala.bbclass: enable PARALLEL_MAKE 2015-02-15 21:58:27 +00:00
waf.bbclass waf.bbclass: Remove --disable-static from EXTRA_OECONF 2016-02-19 15:33:02 +00:00