generic-poky/meta/classes
Ross Burton 7379035e26 package: don't count every hardlink for PKGSIZE
When calculating PKGSIZE we sum the size of files after doing lstat() so we
don't count directory metadata overhead, but were not correctly handling
hardlinks.  This results in packages such as e2fsprogs-mke2fs having PKGSIZE of
1.5M when it's actually a single 300K binary with five hardlinks.

[ YOCTO #10423 ]

(From OE-Core rev: e82a7f879419828b42b5cc71e6229c8235090f21)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-17 09:57:05 +00:00
..
allarch.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
archiver.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +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 meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
base.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
bash-completion.bbclass bash-completion: add bash-completion to DEPENDS for target packages 2016-08-25 23:03:45 +01: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 meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
blacklist.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
bluetooth.bbclass bluetooth.bbclass: simplify recipe inference of bluetooth provider 2015-02-17 13:43:38 +00:00
bugzilla.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
buildhistory.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
buildstats-summary.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
buildstats.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
ccache.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
chrpath.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
clutter.bbclass clutter: remove usage of FILESPATH 2013-10-26 15:59:13 +01:00
cmake.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
cml1.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
compress_doc.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
copyleft_compliance.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
copyleft_filter.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
core-image.bbclass Drop unneeded LIC_FILES_CHKSUM values 2016-05-11 10:33:43 +01: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 meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
cross.bbclass classes/cross: set lt_cv_sys_lib_dlsearch_path_spec 2016-10-04 16:29:04 +01:00
crosssdk.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
cve-check.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
debian.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
deploy.bbclass deploy: Mark deploy tasks as MACHINE specific 2015-10-01 07:43:36 +01:00
devshell.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
distro_features_check.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
distrodata.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
distutils-base.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
distutils-common-base.bbclass distutils-common-base.bbclass: remove EXTRA_OEMAKE workaround 2016-09-03 09:58:40 +01:00
distutils-tools.bbclass python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables 2016-06-01 12:38:41 +01:00
distutils.bbclass python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables 2016-06-01 12:38:41 +01:00
distutils3-base.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
distutils3.bbclass python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables 2016-06-01 12:38:41 +01:00
externalsrc.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
extrausers.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
fontcache.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
fs-uuid.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
gconf.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
gettext.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
gio-module-cache.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
gnome.bbclass gnome: move introspection options to gnomebase 2015-08-24 23:46:53 +01:00
gnomebase.bbclass gnomebase: remove gnome-common-native DEPENDS 2016-11-30 15:48:06 +00:00
gobject-introspection-data.bbclass classes/gobject-introspecton-data: lazy assign GI_DATA_ENABLED 2016-09-14 22:22:08 +01:00
gobject-introspection.bbclass pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, STAGING_LIBDIR, PYTHON variables 2016-07-01 16:22:42 +01:00
grub-efi.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
gsettings.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
gtk-doc.bbclass classes/gtk-doc: lazy assign GTKDOC_ENABLED 2016-09-14 22:22:08 +01:00
gtk-icon-cache.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
gtk-immodules-cache.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
gummiboot.bbclass gummiboot.bbclass: Use bb.fatal() instead of raising FuncFailed 2016-10-04 16:29:04 +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: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
image-buildinfo.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
image-live.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +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-vm.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
image.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
image_types.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
image_types_uboot.bbclass image_types: Add support for lzo compressed initial ramdisk 2016-10-28 16:15:18 +01:00
insane.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
kernel-arch.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
kernel-fitimage.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
kernel-grub.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
kernel-module-split.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +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 meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
kernel-yocto.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
kernel.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +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 meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
libc-package.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
license.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
linux-kernel-base.bbclass kernel: Rearrange for 1.8 2014-12-21 12:37:53 +00:00
linuxloader.bbclass linuxloader.bbclass: Adjust mips to cover all mips/mips64 2016-10-07 16:43:58 +01:00
live-vm-common.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
logging.bbclass classes/logging: allow shell message functions to work in devshell 2015-07-16 15:09:24 +01:00
manpages.bbclass manpages.bbclass: add a class 2016-10-28 16:15:19 +01:00
meta.bbclass meta: fix no newline at end of file 2014-07-03 17:41:16 +01:00
metadata_scm.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
migrate_localcount.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
mime.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
mirrors.bbclass gnupg.org-hosted recipes: Change SRC_URI to https site 2016-05-30 15:58:13 +01:00
module-base.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
module.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
multilib.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
multilib_global.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
multilib_header.bbclass multilib_header: avoid sstate checksum issues for -nativesdk recipes 2016-10-01 21:45:56 +01:00
native.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
nativesdk.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
nopackages.bbclass nopackages.bbclass: deltask foo_setscene 2016-05-30 15:58:11 +01:00
npm.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
oelint.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
own-mirrors.bbclass mirrors/own-mirrors/sanity: Updates after npm fetcher addition 2016-02-28 11:32:57 +00:00
package.bbclass package: don't count every hardlink for PKGSIZE 2016-12-17 09:57:05 +00:00
package_deb.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
package_ipk.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
package_rpm.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
package_tar.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
packagedata.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
packagefeed-stability.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
packagegroup.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
patch.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00: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 meta: remove True option to getVar calls 2016-12-16 10:23:23 +00: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 meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
populate_sdk_ext.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
prexport.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +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 meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
python-dir.bbclass python3-dir.bbclass: add a separate class for Python 3 2016-06-01 12:38:41 +01:00
python3-dir.bbclass python3-dir.bbclass: add a separate class for Python 3 2016-06-01 12:38:41 +01:00
python3native.bbclass pythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of DEPENDS += 2016-07-01 16:22:43 +01:00
pythonnative.bbclass pythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of DEPENDS += 2016-07-01 16:22:43 +01:00
qemu.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
qemuboot.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipe_sanity.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +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 meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
rm_work.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
rootfs-postcommands.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
rootfs_deb.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
rootfs_ipk.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
rootfs_rpm.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
rootfsdebugfiles.bbclass rootfsdebugfiles.bbclass: quick-and-dirty installation of additional files 2015-04-24 11:06:55 +01:00
sanity.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
scons.bbclass scons.bbclass: rework parameters for install task 2016-09-24 07:30:10 +01: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_ipk.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
sign_package_feed.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
sign_rpm.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
siteconfig.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
siteinfo.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
spdx.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
sstate.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
staging.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
syslinux.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
systemd-boot.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
systemd.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
terminal.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
testexport.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
testimage-auto.bbclass classes: Fix do_rootfs references 2016-01-11 23:26:29 +00:00
testimage.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
testsdk.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
texinfo.bbclass texinfo.bbclass: use dummy dep for libtool-cross 2016-11-06 23:35:35 +00:00
tinderclient.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
toaster.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
toolchain-scripts-base.bbclass toolchain-scripts-base: add base class for toolchain_create_sdk_version 2016-09-23 14:56:39 +01:00
toolchain-scripts.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
typecheck.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
uboot-config.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
uboot-extlinux-config.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
uboot-sign.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
uninative.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
update-alternatives.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
update-rc.d.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
upstream-version-is-even.bbclass upstream-version-is-even.bbclass: exclude various alphas, betas, pre-releases etc. 2016-12-17 09:57:04 +00:00
useradd-staticids.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
useradd.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
useradd_base.bbclass useradd_base.bbclass: Do not mess with the gshadow file in the sysroot 2016-09-16 15:24:03 +01:00
utility-tasks.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
utils.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
vala.bbclass vala.bbclass: remove pre-packaged vapigen.m4 from tarballs 2016-03-12 22:11:44 +00:00
waf.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00