generic-poky/meta/classes
Alexander D. Kanevskiy 4127fef8ba image_types: use compress framework to produce checksums for images
Existing compress framework for producing various compressed versions
of images is powerfull enough to be extended for other uses, e.g. to
convert types of images.

It is possible to use it also to produce image checksums at the time
of image generation. This commit adds support for all supported
at the moment coreutils hashing algorithms: md5, sha1, sha224,
sha256, sha384 and sha512

Usage:
IMAGE_FSTYPES_append = " hddimg.sha256sum"

(From OE-Core rev: 1fbd27122ac4403b8688bc41d128602564a05506)

Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-06 22:57:26 +01:00
..
allarch.bbclass allarch: Force TARGET_*FLAGS variable values 2015-11-24 15:55:40 +00:00
archiver.bbclass archiver.bbclass: addtask do_deploy_archives_setscene 2016-03-30 21:24:02 +01: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: Fixup PACKAGECONFIG incorrect mappings 2016-04-03 15:51:35 +01: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
bugzilla.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
buildhistory.bbclass classes/buildhistory: fix grammar in comments 2016-04-05 14:33:57 +01: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/distutils*: don't hide logs when setup script fails 2016-03-25 10:29:13 +00:00
distutils.bbclass classes/distutils*: don't hide logs when setup script fails 2016-03-25 10:29:13 +00: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 classes/distutils*: don't hide logs when setup script fails 2016-03-25 10:29:13 +00:00
externalsrc.bbclass externalsrc: avoid race in temporary git index file 2016-04-06 10:29:23 +01: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
gio-module-cache.bbclass gio-module-cache: Add class for Gio modules 2016-03-28 15:55:49 +01:00
gnome.bbclass gnome: move introspection options to gnomebase 2015-08-24 23:46:53 +01:00
gnomebase.bbclass gnomebase.bbclass: do not disable gobject introspection 2016-03-12 22:11:45 +00:00
gobject-introspection-data.bbclass bitbake.conf: rename 'gobject-introspection-data' machine feature to 'qemu-usermode' 2016-03-28 15:55:49 +01:00
gobject-introspection.bbclass bitbake.conf: rename 'gobject-introspection-data' machine feature to 'qemu-usermode' 2016-03-28 15:55:49 +01:00
grub-efi.bbclass grub-efi.bbclass: use GRUB_ROOT rather than APPEND for root device 2016-04-03 15:51:35 +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 bootimg.bbclass: merge it into image-live.bbclass 2016-03-31 23:01:37 +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 icecc.bbclass: replace icc with icecc 2016-03-28 15:55:48 +01:00
image-buildinfo.bbclass image-buildinfo.bbclass: fix performance problems 2016-03-12 22:11:46 +00:00
image-live.bbclass image-live.bbclass/image-vm.bbclass: remove duplicated code 2016-03-31 23:01:37 +01: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 image-vm: Exclude DISK_SIGNATURE_GENERATED from task signature 2016-04-03 15:51:37 +01:00
image.bbclass image: Fix debugfs image type recursion loop 2016-04-03 15:51:34 +01:00
image_types.bbclass image_types: use compress framework to produce checksums for images 2016-04-06 22:57:26 +01: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.bbclass: avoid false positives on library location 2016-04-03 15:51:36 +01: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: enforce SRC_URI specified branch 2016-04-03 15:51:37 +01:00
kernel.bbclass kernel.bbclass: consider .csp firmware files 2016-03-28 15:55:48 +01: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 warnings when run in unprivileged "container" env 2016-04-06 10:29:23 +01: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
live-vm-common.bbclass image-live.bbclass/image-vm.bbclass: remove duplicated code 2016-03-31 23:01:37 +01: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 base.bbclass: drop obsolete HOSTTOOLS_WHITELIST_GPL-3.0 2016-04-01 07:14:30 +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 devtool: add: delete externalsrc files on npm recipe do_install 2016-03-25 10:29:13 +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: do_split_packages: expand variables in extra_depends 2016-04-06 10:29:23 +01:00
package_deb.bbclass package-deb: Ignore circular dependencies 2016-03-12 22:11:47 +00:00
package_ipk.bbclass gpg_sign: add local ipk package signing functionality 2016-03-11 16:50:45 +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 classes/packagegroup: Refactor code to be simpler 2016-04-03 15:51:35 +01:00
patch.bbclass patch.bbclass: remove useless path assignment 2016-04-06 10:29:23 +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: Exclude BBTASKDEPDATA from task signature 2016-04-03 15:51:37 +01: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: don't write manifest when IMAGE_MANIFEST empty 2016-03-28 15:55:49 +01: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.bbclass: fix a hardcode in check_path_length() 2016-04-06 22:57:26 +01: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_ipk.bbclass gpg_sign: add local ipk package signing functionality 2016-03-11 16:50:45 +00:00
sign_package_feed.bbclass sign_package_feed: add feed signature type 2016-03-11 16:50:45 +00:00
sign_rpm.bbclass gpg_sign.py: get rid of pexpect 2016-03-25 10:29:14 +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 siteinfo: Fix musl 64bit targets 2016-03-29 23:20:13 +01:00
spdx.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
sstate.bbclass useradd.bbclass: remove user/group created by the package in clean* task 2016-04-06 22:57:25 +01:00
staging.bbclass staging.bbclass: remove trail slash from SYSROOT_DESTDIR 2016-02-21 09:32:41 +00:00
syslinux.bbclass grub-efi.bbclass: use GRUB_ROOT rather than APPEND for root device 2016-04-03 15:51:35 +01: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: show packages that were setscened into existence too 2016-03-11 16:50:44 +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: Switch md5sum -> sha256 2016-03-31 09:15:03 +01: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 useradd.bbclass: remove user/group created by the package in clean* task 2016-04-06 22:57:25 +01:00
useradd_base.bbclass useradd_base.bbclass: replace retry logic with flock 2016-03-20 23:12:27 +00: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: remove pre-packaged vapigen.m4 from tarballs 2016-03-12 22:11:44 +00:00
waf.bbclass waf.bbclass: Remove --disable-static from EXTRA_OECONF 2016-02-19 15:33:02 +00:00