summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/allarch.bbclass2
-rw-r--r--meta/classes/archiver.bbclass8
-rw-r--r--meta/classes/base.bbclass5
-rw-r--r--meta/classes/buildhistory.bbclass54
-rw-r--r--meta/classes/cargo_common.bbclass1
-rw-r--r--meta/classes/crate-fetch.bbclass13
-rw-r--r--meta/classes/create-spdx.bbclass66
-rw-r--r--meta/classes/cross.bbclass2
-rw-r--r--meta/classes/cve-check.bbclass1
-rw-r--r--meta/classes/debian.bbclass4
-rw-r--r--meta/classes/devupstream.bbclass2
-rw-r--r--meta/classes/distutils-common-base.bbclass3
-rw-r--r--meta/classes/distutils3-base.bbclass3
-rw-r--r--meta/classes/distutils3.bbclass4
-rw-r--r--meta/classes/go.bbclass7
-rw-r--r--meta/classes/gobject-introspection.bbclass10
-rw-r--r--meta/classes/gtk-doc.bbclass2
-rw-r--r--meta/classes/image.bbclass15
-rw-r--r--meta/classes/image_types.bbclass14
-rw-r--r--meta/classes/insane.bbclass90
-rw-r--r--meta/classes/kernel-artifact-names.bbclass5
-rw-r--r--meta/classes/kernel-devicetree.bbclass24
-rw-r--r--meta/classes/kernel-fitimage.bbclass20
-rw-r--r--meta/classes/kernel.bbclass103
-rw-r--r--meta/classes/manpages.bbclass7
-rw-r--r--meta/classes/meson.bbclass53
-rw-r--r--meta/classes/mirrors.bbclass134
-rw-r--r--meta/classes/multilib.bbclass4
-rw-r--r--meta/classes/native.bbclass31
-rw-r--r--meta/classes/nativesdk.bbclass2
-rw-r--r--meta/classes/npm.bbclass2
-rw-r--r--meta/classes/overlayfs-etc.bbclass76
-rw-r--r--meta/classes/overlayfs.bbclass69
-rw-r--r--meta/classes/own-mirrors.bbclass24
-rw-r--r--meta/classes/package.bbclass21
-rw-r--r--meta/classes/package_deb.bbclass1
-rw-r--r--meta/classes/package_ipk.bbclass1
-rw-r--r--meta/classes/package_rpm.bbclass1
-rw-r--r--meta/classes/patch.bbclass4
-rw-r--r--meta/classes/populate_sdk_base.bbclass15
-rw-r--r--meta/classes/populate_sdk_ext.bbclass4
-rw-r--r--meta/classes/python3native.bbclass2
-rw-r--r--meta/classes/qemuboot.bbclass11
-rw-r--r--meta/classes/rootfs-postcommands.bbclass6
-rw-r--r--meta/classes/rootfs_rpm.bbclass2
-rw-r--r--meta/classes/sanity.bbclass64
-rw-r--r--meta/classes/scons.bbclass8
-rw-r--r--meta/classes/setuptools3-base.bbclass31
-rw-r--r--meta/classes/setuptools3.bbclass66
-rw-r--r--meta/classes/sstate.bbclass87
-rw-r--r--meta/classes/staging.bbclass2
-rw-r--r--meta/classes/testimage.bbclass9
-rw-r--r--meta/classes/testsdk.bbclass2
-rw-r--r--meta/classes/uboot-sign.bbclass16
-rw-r--r--meta/classes/uninative.bbclass2
-rw-r--r--meta/classes/utility-tasks.bbclass1
-rw-r--r--meta/classes/waf.bbclass3
-rw-r--r--meta/conf/abi_version.conf2
-rw-r--r--meta/conf/bitbake.conf6
-rw-r--r--meta/conf/distro/include/cve-extra-exclusions.inc9
-rw-r--r--meta/conf/distro/include/default-distrovars.inc2
-rw-r--r--meta/conf/distro/include/default-providers.inc1
-rw-r--r--meta/conf/distro/include/maintainers.inc96
-rw-r--r--meta/conf/distro/include/no-static-libs.inc9
-rw-r--r--meta/conf/distro/include/ptest-packagelists.inc8
-rw-r--r--meta/conf/distro/include/tclibc-baremetal.inc2
-rw-r--r--meta/conf/distro/include/tclibc-newlib.inc2
-rw-r--r--meta/conf/distro/include/tcmode-default.inc10
-rw-r--r--meta/conf/distro/include/yocto-uninative.inc3
-rw-r--r--meta/conf/documentation.conf6
-rw-r--r--meta/conf/machine/include/arm/arch-armv8-5a.inc19
-rw-r--r--meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc12
-rw-r--r--meta/conf/machine/include/arm/armv8a/tune-cortexa73.inc10
-rw-r--r--meta/conf/machine/include/arm/armv9a/tune-neoversen2.inc22
-rw-r--r--meta/conf/machine/include/qemu.inc1
-rw-r--r--meta/conf/machine/include/x86/x86-base.inc2
-rw-r--r--meta/conf/machine/qemuarmv5.conf2
-rw-r--r--meta/conf/machine/qemux86-64.conf1
-rw-r--r--meta/conf/machine/qemux86.conf1
-rw-r--r--meta/files/overlayfs-all-overlays.service.in12
-rw-r--r--meta/files/overlayfs-create-dirs.service.in14
-rw-r--r--meta/files/overlayfs-etc-preinit.sh.in29
-rw-r--r--meta/files/overlayfs-unit.mount.in13
-rw-r--r--meta/lib/crate.py149
-rw-r--r--meta/lib/oe/distro_check.py2
-rw-r--r--meta/lib/oe/overlayfs.py5
-rw-r--r--meta/lib/oe/package.py9
-rw-r--r--meta/lib/oe/patch.py16
-rw-r--r--meta/lib/oe/reproducible.py2
-rw-r--r--meta/lib/oe/sdk.py4
-rw-r--r--meta/lib/oe/spdx.py6
-rw-r--r--meta/lib/oe/sstatesig.py10
-rw-r--r--meta/lib/oe/terminal.py7
-rw-r--r--meta/lib/oe/utils.py15
-rw-r--r--meta/lib/oeqa/runtime/cases/go.py19
-rw-r--r--meta/lib/oeqa/runtime/cases/ksample.py2
-rw-r--r--meta/lib/oeqa/runtime/cases/logrotate.py14
-rw-r--r--meta/lib/oeqa/runtime/cases/parselogs.py18
-rw-r--r--meta/lib/oeqa/runtime/cases/rust.py19
-rw-r--r--meta/lib/oeqa/runtime/cases/stap.py35
-rw-r--r--meta/lib/oeqa/runtime/context.py29
-rw-r--r--meta/lib/oeqa/runtime/files/hello.stp1
-rw-r--r--meta/lib/oeqa/sdkext/testsdk.py4
-rw-r--r--meta/lib/oeqa/selftest/cases/archiver.py6
-rw-r--r--meta/lib/oeqa/selftest/cases/bbtests.py17
-rw-r--r--meta/lib/oeqa/selftest/cases/buildoptions.py4
-rw-r--r--meta/lib/oeqa/selftest/cases/devtool.py54
-rw-r--r--meta/lib/oeqa/selftest/cases/fetch.py2
-rw-r--r--meta/lib/oeqa/selftest/cases/imagefeatures.py2
-rw-r--r--meta/lib/oeqa/selftest/cases/overlayfs.py254
-rw-r--r--meta/lib/oeqa/selftest/cases/recipetool.py189
-rw-r--r--meta/lib/oeqa/selftest/cases/reproducible.py30
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py10
-rw-r--r--meta/lib/oeqa/selftest/cases/sstatetests.py59
-rw-r--r--meta/lib/oeqa/utils/dump.py2
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py2
-rw-r--r--meta/recipes-bsp/apmd/apmd/libtool.patch22
-rw-r--r--meta/recipes-bsp/apmd/apmd_3.2.2-15.bb2
-rw-r--r--meta/recipes-bsp/efibootmgr/efibootmgr/0001-src-make-compatible-with-efivar-38.patch47
-rw-r--r--meta/recipes-bsp/efibootmgr/efibootmgr_17.bb8
-rw-r--r--meta/recipes-bsp/efivar/efivar/0001-docs-do-not-build-efisecdb-manpage.patch26
-rw-r--r--meta/recipes-bsp/efivar/efivar/0001-src-Makefile-build-util.c-separately-for-makeguids.patch38
-rw-r--r--meta/recipes-bsp/efivar/efivar/determinism.patch18
-rw-r--r--meta/recipes-bsp/efivar/efivar/no-werror.patch18
-rw-r--r--meta/recipes-bsp/efivar/efivar_37.bb41
-rw-r--r--meta/recipes-bsp/efivar/efivar_38.bb40
-rw-r--r--meta/recipes-bsp/grub/files/CVE-2021-3981-grub-mkconfig-Restore-umask-for-the-grub.cfg.patch49
-rw-r--r--meta/recipes-bsp/grub/grub-efi_2.06.bb3
-rw-r--r--meta/recipes-bsp/grub/grub2.inc1
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch2
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch2
-rw-r--r--meta/recipes-bsp/opensbi/opensbi_0.9.bb2
-rw-r--r--meta/recipes-bsp/u-boot/files/0001-tools-image-host-fix-wrong-return-value.patch41
-rw-r--r--meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb2
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-common.inc4
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-configure.inc39
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-tools_2021.07.bb4
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-tools_2022.01.bb2
-rw-r--r--meta/recipes-bsp/u-boot/u-boot.inc33
-rw-r--r--meta/recipes-bsp/u-boot/u-boot_2021.07.bb6
-rw-r--r--meta/recipes-bsp/u-boot/u-boot_2022.01.bb7
-rw-r--r--meta/recipes-connectivity/avahi/files/local-ping.patch1
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.21/0001-avoid-start-failure-with-bind-user.patch27
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.21/0001-named-lwresd-V-and-start-log-hide-build-options.patch35
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.21/conf.patch330
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.24/0001-avoid-start-failure-with-bind-user.patch27
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.24/0001-named-lwresd-V-and-start-log-hide-build-options.patch37
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.24/bind-ensure-searching-for-json-headers-searches-sysr.patch (renamed from meta/recipes-connectivity/bind/bind-9.16.21/bind-ensure-searching-for-json-headers-searches-sysr.patch)0
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.24/bind9 (renamed from meta/recipes-connectivity/bind/bind-9.16.21/bind9)0
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.24/conf.patch330
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.24/generate-rndc-key.sh (renamed from meta/recipes-connectivity/bind/bind-9.16.21/generate-rndc-key.sh)0
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.24/init.d-add-support-for-read-only-rootfs.patch (renamed from meta/recipes-connectivity/bind/bind-9.16.21/init.d-add-support-for-read-only-rootfs.patch)0
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.24/make-etc-initd-bind-stop-work.patch (renamed from meta/recipes-connectivity/bind/bind-9.16.21/make-etc-initd-bind-stop-work.patch)0
-rw-r--r--meta/recipes-connectivity/bind/bind-9.16.24/named.service (renamed from meta/recipes-connectivity/bind/bind-9.16.21/named.service)0
-rw-r--r--meta/recipes-connectivity/bind/bind_9.16.21.bb129
-rw-r--r--meta/recipes-connectivity/bind/bind_9.16.24.bb129
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5.inc1
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5/0001-audio-Rename-pause-funciton-to-avoid-shadowing-glibc.patch48
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5_5.61.bb70
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5_5.63.bb70
-rw-r--r--meta/recipes-connectivity/connman/connman-conf.bb33
-rw-r--r--meta/recipes-connectivity/connman/connman-conf/qemuall/wired-connection.service10
-rw-r--r--meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup16
-rw-r--r--meta/recipes-connectivity/connman/connman-conf/qemuall/wired.config9
-rw-r--r--meta/recipes-connectivity/connman/connman-gnome_0.7.bb2
-rw-r--r--meta/recipes-connectivity/connman/connman/connman5
-rw-r--r--meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.0.bb58
-rw-r--r--meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.1.bb57
-rw-r--r--meta/recipes-connectivity/dhcpcd/files/0002-src-privsep-linux.c-add-support-for-arc-28.patch63
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch37
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2_5.14.0.bb11
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2_5.16.0.bb12
-rw-r--r--meta/recipes-connectivity/iw/iw_5.16.bb31
-rw-r--r--meta/recipes-connectivity/iw/iw_5.9.bb31
-rw-r--r--meta/recipes-connectivity/kea/files/0001-add-missing-headers-in-timer_mgr.cc.patch29
-rw-r--r--meta/recipes-connectivity/kea/files/0001-ax_cpp11.m4-Include-memory-header.patch24
-rw-r--r--meta/recipes-connectivity/kea/files/0001-include-limits.h.patch35
-rw-r--r--meta/recipes-connectivity/kea/files/0001-keactrl.in-create-var-lib-kea-and-var-run-kea-folder.patch39
-rw-r--r--meta/recipes-connectivity/kea/files/0001-src-lib-log-logger_unittest_support.cc-do-not-write-.patch7
-rw-r--r--meta/recipes-connectivity/kea/files/fix-multilib-conflict.patch55
-rw-r--r--meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch27
-rw-r--r--meta/recipes-connectivity/kea/kea_1.8.2.bb81
-rw-r--r--meta/recipes-connectivity/kea/kea_2.0.1.bb77
-rw-r--r--meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.15.1.bb2
-rw-r--r--meta/recipes-connectivity/libuv/libuv_1.42.0.bb20
-rw-r--r--meta/recipes-connectivity/libuv/libuv_1.43.0.bb20
-rw-r--r--meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb2
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils/0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch2
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.4.bb145
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_2.6.1.bb145
-rw-r--r--meta/recipes-connectivity/ofono/ofono_1.32.bb55
-rw-r--r--meta/recipes-connectivity/ofono/ofono_1.34.bb55
-rw-r--r--meta/recipes-connectivity/openssh/openssh_8.7p1.bb185
-rw-r--r--meta/recipes-connectivity/openssh/openssh_8.8p1.bb185
-rw-r--r--meta/recipes-connectivity/openssl/openssl/reproducibility.patch22
-rw-r--r--meta/recipes-connectivity/openssl/openssl_3.0.0.bb244
-rw-r--r--meta/recipes-connectivity/openssl/openssl_3.0.1.bb248
-rw-r--r--meta/recipes-connectivity/ppp/ppp/0001-ppp-fix-build-against-5.15-headers.patch36
-rw-r--r--meta/recipes-connectivity/ppp/ppp_2.4.9.bb3
-rw-r--r--meta/recipes-connectivity/resolvconf/resolvconf/fix-path-for-busybox.patch20
-rw-r--r--meta/recipes-connectivity/resolvconf/resolvconf_1.87.bb68
-rw-r--r--meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb67
-rw-r--r--meta/recipes-connectivity/socat/socat/0001-configure.ac-check-getprotobynumber_r-with-AC_TRY_LI.patch35
-rw-r--r--meta/recipes-connectivity/socat/socat_1.7.4.1.bb53
-rw-r--r--meta/recipes-connectivity/socat/socat_1.7.4.3.bb53
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb2
-rw-r--r--meta/recipes-core/base-files/base-files_3.0.14.bb2
-rw-r--r--meta/recipes-core/busybox/busybox-inittab_1.35.0.bb (renamed from meta/recipes-core/busybox/busybox-inittab_1.34.1.bb)0
-rw-r--r--meta/recipes-core/busybox/busybox/0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch114
-rw-r--r--meta/recipes-core/busybox/busybox/0001-mktemp-add-tmpdir-option.patch81
-rw-r--r--meta/recipes-core/busybox/busybox/defconfig70
-rw-r--r--meta/recipes-core/busybox/busybox/fail_on_no_media.patch28
-rw-r--r--meta/recipes-core/busybox/busybox_1.34.1.bb54
-rw-r--r--meta/recipes-core/busybox/busybox_1.35.0.bb52
-rw-r--r--meta/recipes-core/dbus-wait/dbus-wait_git.bb2
-rw-r--r--meta/recipes-core/ell/ell/0001-pem.c-do-not-use-rawmemchr.patch27
-rw-r--r--meta/recipes-core/ell/ell_0.44.bb24
-rw-r--r--meta/recipes-core/ell/ell_0.47.bb23
-rw-r--r--meta/recipes-core/expat/expat/libtool-tag.patch30
-rw-r--r--meta/recipes-core/expat/expat/run-ptest22
-rw-r--r--meta/recipes-core/expat/expat_2.4.1.bb32
-rw-r--r--meta/recipes-core/expat/expat_2.4.3.bb31
-rw-r--r--meta/recipes-core/fts/fts_1.2.7.bb2
-rw-r--r--meta/recipes-core/gettext/gettext-0.21/0001-libtextstyle-fix-builds-with-automake-1.16.4-and-new.patch29
-rw-r--r--meta/recipes-core/gettext/gettext_0.21.bb1
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch2
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch2
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.70.0.bb54
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.70.2.bb54
-rw-r--r--meta/recipes-core/glib-networking/glib-networking_2.70.0.bb38
-rw-r--r--meta/recipes-core/glib-networking/glib-networking_2.70.1.bb38
-rw-r--r--meta/recipes-core/glibc/cross-localedef-native_2.34.bb9
-rw-r--r--meta/recipes-core/glibc/glibc-package.inc4
-rw-r--r--meta/recipes-core/glibc/glibc-tests_2.34.bb115
-rw-r--r--meta/recipes-core/glibc/glibc.inc4
-rw-r--r--meta/recipes-core/glibc/glibc/0001-CVE-2021-3998.patch282
-rw-r--r--meta/recipes-core/glibc/glibc/0001-CVE-2021-3999.patch36
-rw-r--r--meta/recipes-core/glibc/glibc/0001-CVE-2022-23218.patch178
-rw-r--r--meta/recipes-core/glibc/glibc/0001-CVE-2022-23219.patch55
-rw-r--r--meta/recipes-core/glibc/glibc/0001-Make-shell-interpreter-overridable-in-tzselect.ksh.patch50
-rw-r--r--meta/recipes-core/glibc/glibc/0002-CVE-2021-3998.patch138
-rw-r--r--meta/recipes-core/glibc/glibc/0002-CVE-2021-3999.patch357
-rw-r--r--meta/recipes-core/glibc/glibc/0002-CVE-2022-23218.patch126
-rw-r--r--meta/recipes-core/glibc/glibc/0002-CVE-2022-23219.patch89
-rw-r--r--meta/recipes-core/glibc/glibc/0009-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch1581
-rw-r--r--meta/recipes-core/glibc/glibc/0010-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch205
-rw-r--r--meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch384
-rw-r--r--meta/recipes-core/glibc/glibc/0012-Quote-from-bug-1443-which-explains-what-the-patch-do.patch58
-rw-r--r--meta/recipes-core/glibc/glibc/0013-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch33
-rw-r--r--meta/recipes-core/glibc/glibc/0014-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch58
-rw-r--r--meta/recipes-core/glibc/glibc/0015-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch2
-rw-r--r--meta/recipes-core/glibc/glibc/0017-timezone-re-written-tzselect-as-posix-sh.patch34
-rw-r--r--meta/recipes-core/glibc/glibc/CVE-2021-43396.patch184
-rwxr-xr-xmeta/recipes-core/glibc/glibc/run-ptest37
-rw-r--r--meta/recipes-core/glibc/glibc_2.34.bb19
-rw-r--r--meta/recipes-core/ifupdown/ifupdown_0.8.36.bb2
-rw-r--r--meta/recipes-core/images/build-appliance-image_15.0.0.bb8
-rw-r--r--meta/recipes-core/images/core-image-tiny-initramfs.bb2
-rw-r--r--meta/recipes-core/initscripts/init-system-helpers_1.60.bb2
-rw-r--r--meta/recipes-core/libxcrypt/files/fix_cflags_handling.patch10
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.27.bb (renamed from meta/recipes-core/libxcrypt/libxcrypt-compat_4.4.25.bb)0
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt.inc6
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt_4.4.27.bb (renamed from meta/recipes-core/libxcrypt/libxcrypt_4.4.25.bb)0
-rw-r--r--meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch6
-rw-r--r--meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch1
-rw-r--r--meta/recipes-core/libxml/libxml2/runtest.patch2
-rw-r--r--meta/recipes-core/musl/gcompat_git.bb2
-rw-r--r--meta/recipes-core/musl/libucontext_git.bb2
-rw-r--r--meta/recipes-core/musl/musl-obstack.bb2
-rw-r--r--meta/recipes-core/musl/musl-utils.bb2
-rw-r--r--meta/recipes-core/musl/musl_git.bb6
-rw-r--r--meta/recipes-core/ncurses/files/0002-configure-reproducible.patch26
-rw-r--r--meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch9
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc12
-rw-r--r--meta/recipes-core/ncurses/ncurses_6.2.bb14
-rw-r--r--meta/recipes-core/ncurses/ncurses_6.3.bb14
-rw-r--r--meta/recipes-core/os-release/os-release.bb6
-rw-r--r--meta/recipes-core/ovmf/ovmf/0004-Strip-build-paths.patch32
-rw-r--r--meta/recipes-core/ovmf/ovmf/0005-debug-prefix-map.patch2
-rw-r--r--meta/recipes-core/ovmf/ovmf/0006-reproducible.patch2
-rw-r--r--meta/recipes-core/ovmf/ovmf_git.bb5
-rw-r--r--meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb2
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb3
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb11
-rw-r--r--meta/recipes-core/psplash/psplash_git.bb5
-rw-r--r--meta/recipes-core/readline/files/rl-native.map (renamed from meta/recipes-core/readline/readline-8.1/rl-native.map)0
-rw-r--r--meta/recipes-core/readline/readline/configure-fix.patch (renamed from meta/recipes-core/readline/readline-8.1/configure-fix.patch)0
-rw-r--r--meta/recipes-core/readline/readline/norpath.patch (renamed from meta/recipes-core/readline/readline-8.1/norpath.patch)0
-rw-r--r--meta/recipes-core/readline/readline_8.1.2.bb7
-rw-r--r--meta/recipes-core/readline/readline_8.1.bb7
-rw-r--r--meta/recipes-core/systemd/systemd-boot_249.4.bb74
-rw-r--r--meta/recipes-core/systemd/systemd-boot_250.3.bb74
-rw-r--r--meta/recipes-core/systemd/systemd-conf_1.0.bb6
-rw-r--r--meta/recipes-core/systemd/systemd.inc9
-rw-r--r--meta/recipes-core/systemd/systemd/0001-Adjust-for-musl-headers.patch453
-rw-r--r--meta/recipes-core/systemd/systemd/0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch16
-rw-r--r--meta/recipes-core/systemd/systemd/0001-pass-correct-parameters-to-getdents64.patch50
-rw-r--r--meta/recipes-core/systemd/systemd/0001-src-fundamental-list-fundamental_source_paths-using-.patch28
-rw-r--r--meta/recipes-core/systemd/systemd/0001-test-parse-argument-Include-signal.h.patch14
-rw-r--r--meta/recipes-core/systemd/systemd/0002-Add-sys-stat.h-for-S_IFDIR.patch29
-rw-r--r--meta/recipes-core/systemd/systemd/0002-don-t-use-glibc-specific-qsort_r.patch28
-rw-r--r--meta/recipes-core/systemd/systemd/0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch16
-rw-r--r--meta/recipes-core/systemd/systemd/0004-add-fallback-parse_printf_format-implementation.patch24
-rw-r--r--meta/recipes-core/systemd/systemd/0005-src-basic-missing.h-check-for-missing-strndupa.patch202
-rw-r--r--meta/recipes-core/systemd/systemd/0006-Include-netinet-if_ether.h.patch382
-rw-r--r--meta/recipes-core/systemd/systemd/0007-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch30
-rw-r--r--meta/recipes-core/systemd/systemd/0008-add-missing-FTW_-macros-for-musl.patch29
-rw-r--r--meta/recipes-core/systemd/systemd/0009-fix-missing-of-__register_atfork-for-non-glibc-build.patch4
-rw-r--r--meta/recipes-core/systemd/systemd/0010-Use-uintmax_t-for-handling-rlim_t.patch46
-rw-r--r--meta/recipes-core/systemd/systemd/0011-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch10
-rw-r--r--meta/recipes-core/systemd/systemd/0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch21
-rw-r--r--meta/recipes-core/systemd/systemd/0013-Define-glibc-compatible-basename-for-non-glibc-syste.patch6
-rw-r--r--meta/recipes-core/systemd/systemd/0014-Do-not-disable-buffering-when-writing-to-oom_score_a.patch10
-rw-r--r--meta/recipes-core/systemd/systemd/0015-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch10
-rw-r--r--meta/recipes-core/systemd/systemd/0016-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch2
-rw-r--r--meta/recipes-core/systemd/systemd/0017-missing_type.h-add-__compar_d_fn_t-definition.patch2
-rw-r--r--meta/recipes-core/systemd/systemd/0018-avoid-redefinition-of-prctl_mm_map-structure.patch2
-rw-r--r--meta/recipes-core/systemd/systemd/0019-Handle-missing-LOCK_EX.patch2
-rw-r--r--meta/recipes-core/systemd/systemd/0020-Fix-incompatible-pointer-type-struct-sockaddr_un.patch10
-rw-r--r--meta/recipes-core/systemd/systemd/0021-test-json.c-define-M_PIl.patch8
-rw-r--r--meta/recipes-core/systemd/systemd/0022-do-not-disable-buffer-in-writing-files.patch224
-rw-r--r--meta/recipes-core/systemd/systemd/0025-Handle-__cpu_mask-usage.patch2
-rw-r--r--meta/recipes-core/systemd/systemd/0026-Handle-missing-gshadow.patch16
-rw-r--r--meta/recipes-core/systemd/systemd/0028-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch22
-rw-r--r--meta/recipes-core/systemd/systemd_249.4.bb785
-rw-r--r--meta/recipes-core/systemd/systemd_250.3.bb795
-rw-r--r--meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch34
-rw-r--r--meta/recipes-core/sysvinit/sysvinit/realpath.patch2
-rw-r--r--meta/recipes-core/sysvinit/sysvinit_2.99.bb117
-rw-r--r--meta/recipes-core/sysvinit/sysvinit_3.01.bb117
-rw-r--r--meta/recipes-core/update-rc.d/update-rc.d_0.8.bb2
-rw-r--r--meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch35
-rw-r--r--meta/recipes-devtools/apt/apt_2.2.4.bb30
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch1
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch1
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/preferbash.patch2
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/program_prefix.patch1
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/remove-usr-local-lib-from-m4.patch1
-rw-r--r--meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch83
-rw-r--r--meta/recipes-devtools/automake/automake/python-libdir.patch88
-rw-r--r--meta/recipes-devtools/automake/automake_1.16.3.bb41
-rw-r--r--meta/recipes-devtools/automake/automake_1.16.5.bb42
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.37.inc6
-rw-r--r--meta/recipes-devtools/binutils/binutils/0001-CVE-2021-42574.patch2001
-rw-r--r--meta/recipes-devtools/binutils/binutils/0001-elf-Discard-input-.note.gnu.build-id-sections.patch215
-rw-r--r--meta/recipes-devtools/binutils/binutils/0004-configure-widen-the-regexp-for-SH-architectures.patch41
-rw-r--r--meta/recipes-devtools/binutils/binutils/0009-Change-default-emulation-for-mips64-linux.patch57
-rw-r--r--meta/recipes-devtools/binutils/binutils/0010-Add-support-for-Netlogic-XLP.patch415
-rw-r--r--meta/recipes-devtools/binutils/binutils/0011-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch4
-rw-r--r--meta/recipes-devtools/binutils/binutils/0012-Detect-64-bit-MIPS-targets.patch47
-rw-r--r--meta/recipes-devtools/binutils/binutils/0013-Use-libtool-2.4.patch171
-rw-r--r--meta/recipes-devtools/binutils/binutils/0017-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch2
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.37.bb4
-rw-r--r--meta/recipes-devtools/bison/bison_3.8.1.bb54
-rw-r--r--meta/recipes-devtools/bison/bison_3.8.2.bb54
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2/0001-bootchart2-support-usrmerge.patch2
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2/0001-bootchartd.in-make-sure-only-one-bootchartd-process.patch68
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb5
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-btrfs-progs-kerncompat-add-local-definition-for-alig.patch46
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-btrfs-tools-include-linux-const.h-to-fix-build-with-.patch42
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools_5.13.1.bb72
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools_5.16.bb72
-rw-r--r--meta/recipes-devtools/cargo/cargo-cross-canadian_1.58.0.bb (renamed from meta/recipes-devtools/cargo/cargo-cross-canadian_1.55.0.bb)0
-rw-r--r--meta/recipes-devtools/cargo/cargo_1.58.0.bb (renamed from meta/recipes-devtools/cargo/cargo_1.55.0.bb)0
-rw-r--r--meta/recipes-devtools/ccache/ccache_4.4.bb26
-rw-r--r--meta/recipes-devtools/ccache/ccache_4.5.1.bb26
-rw-r--r--meta/recipes-devtools/cmake/cmake-native_3.22.1.bb (renamed from meta/recipes-devtools/cmake/cmake-native_3.21.2.bb)0
-rw-r--r--meta/recipes-devtools/cmake/cmake.inc2
-rw-r--r--meta/recipes-devtools/cmake/cmake_3.22.1.bb (renamed from meta/recipes-devtools/cmake/cmake_3.21.2.bb)0
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c_0.17.5.bb40
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c_0.18.0.bb40
-rw-r--r--meta/recipes-devtools/diffstat/diffstat/0001-aclocal.m4-add-missing-header-defines.patch24
-rw-r--r--meta/recipes-devtools/diffstat/diffstat_1.64.bb1
-rw-r--r--meta/recipes-devtools/distcc/distcc_3.4.bb2
-rw-r--r--meta/recipes-devtools/dnf/dnf_4.10.0.bb90
-rw-r--r--meta/recipes-devtools/dnf/dnf_4.9.0.bb91
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch2
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc10
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch8
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch2
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0013-scripts-dpkg-fsys-usrunmess.pl-correct-shebang.patch23
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0014-arch-Add-support-for-ARCv2-CPU.patch68
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.20.9.bb25
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.21.1.bb23
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs.inc2
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-tests-u_direct_io-expect-correct-expected-output.patch69
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch2
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch2
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.46.4.bb141
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.46.5.bb140
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.185.bb170
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.186.bb166
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-debuginfod-debuginfod-client.c-correct-string-format.patch63
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-debuginfod-debuginfod-client.c-use-long-for-cache-ti.patch45
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-debuginfod-fix-compilation-on-platforms-without-erro.patch54
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch2
-rw-r--r--meta/recipes-devtools/elfutils/files/0002-musl-libs.patch118
-rw-r--r--meta/recipes-devtools/elfutils/files/0003-musl-utils.patch6
-rw-r--r--meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch36
-rw-r--r--meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch8
-rw-r--r--meta/recipes-devtools/elfutils/files/glibc-2.34-fix.patch138
-rw-r--r--meta/recipes-devtools/erofs-utils/erofs-utils/0001-fsck-main.c-add-missing-include.patch26
-rw-r--r--meta/recipes-devtools/erofs-utils/erofs-utils_1.3.bb23
-rw-r--r--meta/recipes-devtools/erofs-utils/erofs-utils_1.4.bb25
-rw-r--r--meta/recipes-devtools/expect/expect/01-example-shebang.patch144
-rw-r--r--meta/recipes-devtools/expect/expect_5.45.4.bb2
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correct-ncurses-6.3-errors.patch99
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk_1.0.8.bb1
-rw-r--r--meta/recipes-devtools/file/file_5.40.bb54
-rw-r--r--meta/recipes-devtools/file/file_5.41.bb54
-rw-r--r--meta/recipes-devtools/gcc/gcc-11.2.inc23
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc6
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc8
-rw-r--r--meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch138
-rw-r--r--meta/recipes-devtools/gcc/gcc/0001-CVE-2021-42574.patch2282
-rw-r--r--meta/recipes-devtools/gcc/gcc/0001-Fix-install-path-of-linux64.h.patch33
-rw-r--r--meta/recipes-devtools/gcc/gcc/0002-CVE-2021-35465.patch39
-rw-r--r--meta/recipes-devtools/gcc/gcc/0002-CVE-2021-42574.patch1765
-rw-r--r--meta/recipes-devtools/gcc/gcc/0003-CVE-2021-35465.patch103
-rw-r--r--meta/recipes-devtools/gcc/gcc/0003-CVE-2021-42574.patch142
-rw-r--r--meta/recipes-devtools/gcc/gcc/0003-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch70
-rw-r--r--meta/recipes-devtools/gcc/gcc/0004-64-bit-multilib-hack.patch2
-rw-r--r--meta/recipes-devtools/gcc/gcc/0004-CVE-2021-35465.patch304
-rw-r--r--meta/recipes-devtools/gcc/gcc/0004-CVE-2021-42574.patch573
-rw-r--r--meta/recipes-devtools/gcc/gcc/0005-optional-libstdc.patch120
-rw-r--r--meta/recipes-devtools/gcc/gcc/0006-COLLECT_GCC_OPTIONS.patch35
-rw-r--r--meta/recipes-devtools/gcc/gcc/0006-If-CXXFLAGS-contains-something-unsupported-by-the-bu.patch63
-rw-r--r--meta/recipes-devtools/gcc/gcc/0008-fortran-cross-compile-hack.patch43
-rw-r--r--meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch56
-rw-r--r--meta/recipes-devtools/gcc/gcc/0010-MIPS64-Default-to-N64-ABI.patch54
-rw-r--r--meta/recipes-devtools/gcc/gcc/0011-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch52
-rw-r--r--meta/recipes-devtools/gcc/gcc/0012-gcc-Fix-argument-list-too-long-error.patch44
-rw-r--r--meta/recipes-devtools/gcc/gcc/0013-Disable-sdt.patch110
-rw-r--r--meta/recipes-devtools/gcc/gcc/0018-export-CPP.patch225
-rw-r--r--meta/recipes-devtools/gcc/gcc/0021-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch26
-rw-r--r--meta/recipes-devtools/gcc/gcc/0022-aarch64-Add-support-for-musl-ldso.patch25
-rw-r--r--meta/recipes-devtools/gcc/gcc/0026-Fix-various-_FOR_BUILD-and-related-variables.patch134
-rw-r--r--meta/recipes-devtools/gcc/gcc/0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch28
-rw-r--r--meta/recipes-devtools/gcc/gcc/0030-sync-gcc-stddef.h-with-musl.patch2
-rw-r--r--meta/recipes-devtools/gcc/gcc/0031-fix-segmentation-fault-in-precompiled-header-generat.patch57
-rw-r--r--meta/recipes-devtools/gcc/gcc/0032-Fix-for-testsuite-failure.patch255
-rw-r--r--meta/recipes-devtools/gcc/libgfortran.inc5
-rw-r--r--meta/recipes-devtools/gdb/gdb-10.2.inc23
-rw-r--r--meta/recipes-devtools/gdb/gdb-11.1.inc19
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc5
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc2
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian_11.1.bb (renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_10.2.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross.inc2
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross_11.1.bb (renamed from meta/recipes-devtools/gdb/gdb-cross_10.2.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch20
-rw-r--r--meta/recipes-devtools/gdb/gdb/0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch8
-rw-r--r--meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch10
-rw-r--r--meta/recipes-devtools/gdb/gdb/0004-Add-support-for-Renesas-SH-sh4-architecture.patch913
-rw-r--r--meta/recipes-devtools/gdb/gdb/0005-Dont-disable-libreadline.a-when-using-disable-static.patch12
-rw-r--r--meta/recipes-devtools/gdb/gdb/0006-use-asm-sgidefs.h.patch8
-rw-r--r--meta/recipes-devtools/gdb/gdb/0007-Change-order-of-CFLAGS.patch30
-rw-r--r--meta/recipes-devtools/gdb/gdb/0008-Change-order-of-CFLAGS.patch30
-rw-r--r--meta/recipes-devtools/gdb/gdb/0008-resolve-restrict-keyword-conflict.patch48
-rw-r--r--meta/recipes-devtools/gdb/gdb/0009-Fix-invalid-sigprocmask-call.patch49
-rw-r--r--meta/recipes-devtools/gdb/gdb/0009-resolve-restrict-keyword-conflict.patch48
-rw-r--r--meta/recipes-devtools/gdb/gdb/0010-Fix-invalid-sigprocmask-call.patch49
-rw-r--r--meta/recipes-devtools/gdb/gdb/0010-gdbserver-ctrl-c-handling.patch40
-rw-r--r--meta/recipes-devtools/gdb/gdb/0011-AArch64-Make-gdbserver-register-set-selection-dynamic.patch317
-rw-r--r--meta/recipes-devtools/gdb/gdb/0011-gdbserver-ctrl-c-handling.patch40
-rw-r--r--meta/recipes-devtools/gdb/gdb/0012-arc-Add-support-for-signal-handlers.patch218
-rw-r--r--meta/recipes-devtools/gdb/gdb/0013-arc-Add-support-for-signal-frames-for-Linux-targets.patch232
-rw-r--r--meta/recipes-devtools/gdb/gdb/0014-arc-Take-into-account-the-REGNUM-in-supply-collect-g.patch104
-rw-r--r--meta/recipes-devtools/gdb/gdb/0015-gdb-Add-native-support-for-ARC-in-GNU-Linux.patch414
-rw-r--r--meta/recipes-devtools/gdb/gdb_11.1.bb (renamed from meta/recipes-devtools/gdb/gdb_10.2.bb)0
-rw-r--r--meta/recipes-devtools/git/git.inc1
-rw-r--r--meta/recipes-devtools/git/git_2.33.0.bb9
-rw-r--r--meta/recipes-devtools/git/git_2.34.1.bb9
-rw-r--r--meta/recipes-devtools/glide/glide_0.13.3.bb2
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config_git.bb6
-rw-r--r--meta/recipes-devtools/go/go-1.16.8.inc25
-rw-r--r--meta/recipes-devtools/go/go-1.16/0002-cmd-go-make-content-based-hash-generation-less-pedan.patch219
-rw-r--r--meta/recipes-devtools/go/go-1.16/0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch47
-rw-r--r--meta/recipes-devtools/go/go-1.16/0005-make.bash-override-CC-when-building-dist-and-go_boot.patch39
-rw-r--r--meta/recipes-devtools/go/go-1.16/0006-cmd-dist-separate-host-and-target-builds.patch274
-rw-r--r--meta/recipes-devtools/go/go-1.16/0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch95
-rw-r--r--meta/recipes-devtools/go/go-1.17.6.inc25
-rw-r--r--meta/recipes-devtools/go/go-1.17/0001-allow-CC-and-CXX-to-have-multiple-words.patch (renamed from meta/recipes-devtools/go/go-1.16/0001-allow-CC-and-CXX-to-have-multiple-words.patch)0
-rw-r--r--meta/recipes-devtools/go/go-1.17/0001-exec.go-do-not-write-linker-flags-into-buildids.patch41
-rw-r--r--meta/recipes-devtools/go/go-1.17/0001-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch41
-rw-r--r--meta/recipes-devtools/go/go-1.17/0002-cmd-go-make-content-based-hash-generation-less-pedan.patch237
-rw-r--r--meta/recipes-devtools/go/go-1.17/0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch52
-rw-r--r--meta/recipes-devtools/go/go-1.17/0004-ld-add-soname-to-shareable-objects.patch (renamed from meta/recipes-devtools/go/go-1.16/0004-ld-add-soname-to-shareable-objects.patch)0
-rw-r--r--meta/recipes-devtools/go/go-1.17/0005-make.bash-override-CC-when-building-dist-and-go_boot.patch41
-rw-r--r--meta/recipes-devtools/go/go-1.17/0006-cmd-dist-separate-host-and-target-builds.patch283
-rw-r--r--meta/recipes-devtools/go/go-1.17/0007-cmd-go-make-GOROOT-precious-by-default.patch (renamed from meta/recipes-devtools/go/go-1.16/0007-cmd-go-make-GOROOT-precious-by-default.patch)0
-rw-r--r--meta/recipes-devtools/go/go-1.17/0008-use-GOBUILDMODE-to-set-buildmode.patch (renamed from meta/recipes-devtools/go/go-1.16/0008-use-GOBUILDMODE-to-set-buildmode.patch)0
-rw-r--r--meta/recipes-devtools/go/go-1.17/0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch94
-rw-r--r--meta/recipes-devtools/go/go-binary-native_1.16.8.bb46
-rw-r--r--meta/recipes-devtools/go/go-binary-native_1.17.6.bb46
-rw-r--r--meta/recipes-devtools/go/go-common.inc4
-rw-r--r--meta/recipes-devtools/go/go-cross-canadian_1.17.6.bb (renamed from meta/recipes-devtools/go/go-cross-canadian_1.16.8.bb)0
-rw-r--r--meta/recipes-devtools/go/go-cross_1.17.6.bb (renamed from meta/recipes-devtools/go/go-cross_1.16.8.bb)0
-rw-r--r--meta/recipes-devtools/go/go-crosssdk_1.17.6.bb (renamed from meta/recipes-devtools/go/go-crosssdk_1.16.8.bb)0
-rw-r--r--meta/recipes-devtools/go/go-native_1.17.6.bb (renamed from meta/recipes-devtools/go/go-native_1.16.8.bb)0
-rw-r--r--meta/recipes-devtools/go/go-runtime.inc8
-rw-r--r--meta/recipes-devtools/go/go-runtime_1.17.6.bb (renamed from meta/recipes-devtools/go/go-runtime_1.16.8.bb)0
-rw-r--r--meta/recipes-devtools/go/go-target.inc11
-rw-r--r--meta/recipes-devtools/go/go_1.17.6.bb (renamed from meta/recipes-devtools/go/go_1.16.8.bb)0
-rw-r--r--meta/recipes-devtools/json-c/json-c_0.15.bb2
-rw-r--r--meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch50
-rw-r--r--meta/recipes-devtools/libcomps/libcomps_0.1.17.bb24
-rw-r--r--meta/recipes-devtools/libcomps/libcomps_0.1.18.bb23
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch2
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch2
-rw-r--r--meta/recipes-devtools/libdnf/libdnf_0.64.0.bb38
-rw-r--r--meta/recipes-devtools/libdnf/libdnf_0.65.0.bb38
-rw-r--r--meta/recipes-devtools/libedit/libedit_20210714-3.1.bb24
-rw-r--r--meta/recipes-devtools/libedit/libedit_20210910-3.1.bb24
-rw-r--r--meta/recipes-devtools/librepo/librepo_1.14.1.bb29
-rw-r--r--meta/recipes-devtools/librepo/librepo_1.14.2.bb29
-rw-r--r--meta/recipes-devtools/libtool/libtool-2.4.6.inc27
-rw-r--r--meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb10
-rw-r--r--meta/recipes-devtools/libtool/libtool-native_2.4.6.bb4
-rw-r--r--meta/recipes-devtools/libtool/libtool/0001-Makefile.am-make-sure-autoheader-run-before-autoconf.patch35
-rw-r--r--meta/recipes-devtools/libtool/libtool/0001-Makefile.am-make-sure-autoheader-run-before-automake.patch35
-rw-r--r--meta/recipes-devtools/libtool/libtool/0001-libtool-Check-for-static-libs-for-internal-compiler-.patch37
-rw-r--r--meta/recipes-devtools/libtool/libtool/0001-libtool-Fix-support-for-NIOS2-processor.patch68
-rw-r--r--meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch35
-rw-r--r--meta/recipes-devtools/libtool/libtool/0002-libtool.m4-Rename-the-with-sysroot-option-to-avoid-c.patch167
-rw-r--r--meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch24
-rw-r--r--meta/recipes-devtools/libtool/libtool/0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch50
-rw-r--r--meta/recipes-devtools/libtool/libtool/0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch72
-rw-r--r--meta/recipes-devtools/libtool/libtool/0006-libtool.m4-Handle-as-a-sysroot-correctly.patch44
-rw-r--r--meta/recipes-devtools/libtool/libtool/0007-libtool-Fix-support-for-NIOS2-processor.patch69
-rw-r--r--meta/recipes-devtools/libtool/libtool/0008-libtool-Check-for-static-libs-for-internal-compiler-.patch38
-rw-r--r--meta/recipes-devtools/libtool/libtool/0009-Makefile.am-make-sure-autoheader-run-before-autoconf.patch35
-rw-r--r--meta/recipes-devtools/libtool/libtool/0010-Makefile.am-make-sure-autoheader-run-before-automake.patch36
-rw-r--r--meta/recipes-devtools/libtool/libtool/0011-ltmain.in-Handle-prefix-map-compiler-options-correct.patch26
-rw-r--r--meta/recipes-devtools/libtool/libtool/0012-libtool.m4-For-reproducibility-stop-encoding-hostnam.patch27
-rw-r--r--meta/recipes-devtools/libtool/libtool/ARFLAGS-use-cr-instead-of-cru-by-default.patch133
-rwxr-xr-xmeta/recipes-devtools/libtool/libtool/debian-no_hostname.patch21
-rw-r--r--meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch50
-rw-r--r--meta/recipes-devtools/libtool/libtool/fix-resolve-lt-sysroot.patch42
-rw-r--r--meta/recipes-devtools/libtool/libtool/fix-rpath.patch65
-rw-r--r--meta/recipes-devtools/libtool/libtool/fixinstall.patch6
-rw-r--r--meta/recipes-devtools/libtool/libtool/libool.m4-add-ARFLAGS-variable.patch77
-rw-r--r--meta/recipes-devtools/libtool/libtool/lto-prefix.patch22
-rw-r--r--meta/recipes-devtools/libtool/libtool/norm-rpath.patch38
-rw-r--r--meta/recipes-devtools/libtool/libtool/prefix.patch98
-rw-r--r--meta/recipes-devtools/libtool/libtool/rename-with-sysroot.patch166
-rw-r--r--meta/recipes-devtools/libtool/libtool/trailingslash.patch35
-rw-r--r--meta/recipes-devtools/libtool/libtool/use-sysroot-in-libpath.patch22
-rw-r--r--meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb5
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb2
-rw-r--r--meta/recipes-devtools/lua/lua/74d99057a5146755e737c479850f87fd0e3b6868.patch43
-rw-r--r--meta/recipes-devtools/lua/lua_5.4.3.bb1
-rw-r--r--meta/recipes-devtools/meson/meson.inc37
-rw-r--r--meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch28
-rw-r--r--meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch36
-rw-r--r--meta/recipes-devtools/meson/meson/0001-is_debianlike-always-return-False.patch26
-rw-r--r--meta/recipes-devtools/meson/meson/0001-modules-python.py-do-not-substitute-python-s-install.patch41
-rw-r--r--meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch53
-rw-r--r--meta/recipes-devtools/meson/meson/disable-rpath-handling.patch14
-rwxr-xr-xmeta/recipes-devtools/meson/meson/meson-setup.py8
-rwxr-xr-xmeta/recipes-devtools/meson/meson/meson-wrapper5
-rw-r--r--meta/recipes-devtools/meson/meson_0.59.1.bb4
-rw-r--r--meta/recipes-devtools/meson/meson_0.61.1.bb133
-rw-r--r--meta/recipes-devtools/meson/nativesdk-meson_0.59.1.bb56
-rw-r--r--meta/recipes-devtools/mmc/mmc-utils_git.bb2
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_git.bb6
-rw-r--r--meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch2
-rw-r--r--meta/recipes-devtools/mtools/mtools_4.0.35.bb49
-rw-r--r--meta/recipes-devtools/mtools/mtools_4.0.37.bb49
-rw-r--r--meta/recipes-devtools/ninja/ninja_1.10.2.bb2
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_0.4.5.bb66
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_0.5.0.bb65
-rw-r--r--meta/recipes-devtools/opkg/opkg_0.4.5.bb88
-rw-r--r--meta/recipes-devtools/opkg/opkg_0.5.0.bb72
-rw-r--r--meta/recipes-devtools/patch/patch/CVE-2019-13636.patch2
-rw-r--r--meta/recipes-devtools/patch/patch/CVE-2019-20633.patch2
-rw-r--r--meta/recipes-devtools/patchelf/patchelf/handle-read-only-files.patch15
-rw-r--r--meta/recipes-devtools/patchelf/patchelf_0.13.bb18
-rw-r--r--meta/recipes-devtools/patchelf/patchelf_0.14.3.bb18
-rw-r--r--meta/recipes-devtools/perl-cross/files/0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch2
-rw-r--r--meta/recipes-devtools/perl-cross/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch2
-rw-r--r--meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch2
-rw-r--r--meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb1
-rw-r--r--meta/recipes-devtools/perl/files/0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch26
-rw-r--r--meta/recipes-devtools/perl/files/5bc1e5fdd87aa205011512cd1e6cc655bcf677fd.patch31
-rw-r--r--meta/recipes-devtools/perl/files/aacd2398e766500cb5d83c4d76b642fcf31d997a.patch40
-rw-r--r--meta/recipes-devtools/perl/files/ea57297a58b8f10ab885c19eec48ea076116cc1f.patch25
-rw-r--r--meta/recipes-devtools/perl/files/native-perlinc.patch2
-rw-r--r--meta/recipes-devtools/perl/files/perl-dynloader.patch2
-rw-r--r--meta/recipes-devtools/perl/perl_5.34.0.bb10
-rw-r--r--meta/recipes-devtools/pkgconf/pkgconf_1.8.0.bb2
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig/fix-glib-configure-libtool-usage.patch45
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig_git.bb3
-rw-r--r--meta/recipes-devtools/pseudo/pseudo_git.bb2
-rw-r--r--meta/recipes-devtools/python-numpy/files/0001-numpy-core-Define-RISCV-32-support.patch56
-rw-r--r--meta/recipes-devtools/python-numpy/python3-numpy_1.21.2.bb58
-rw-r--r--meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch6
-rw-r--r--meta/recipes-devtools/python/python-cython.inc2
-rw-r--r--meta/recipes-devtools/python/python-gitdb.inc2
-rw-r--r--meta/recipes-devtools/python/python-pycryptodome.inc4
-rw-r--r--meta/recipes-devtools/python/python-pyparsing.inc22
-rw-r--r--meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch32
-rw-r--r--meta/recipes-devtools/python/python3-attrs_21.2.0.bb19
-rw-r--r--meta/recipes-devtools/python/python3-attrs_21.4.0.bb19
-rw-r--r--meta/recipes-devtools/python/python3-cython_0.29.24.bb37
-rw-r--r--meta/recipes-devtools/python/python3-cython_0.29.26.bb37
-rw-r--r--meta/recipes-devtools/python/python3-dbus_1.2.18.bb2
-rw-r--r--meta/recipes-devtools/python/python3-dbusmock_0.24.0.bb18
-rw-r--r--meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb18
-rw-r--r--meta/recipes-devtools/python/python3-docutils_0.17.1.bb11
-rw-r--r--meta/recipes-devtools/python/python3-docutils_0.18.1.bb11
-rw-r--r--meta/recipes-devtools/python/python3-dtschema_2021.12.bb15
-rw-r--r--meta/recipes-devtools/python/python3-git_3.1.24.bb32
-rw-r--r--meta/recipes-devtools/python/python3-git_3.1.26.bb32
-rw-r--r--meta/recipes-devtools/python/python3-gitdb_4.0.7.bb4
-rw-r--r--meta/recipes-devtools/python/python3-gitdb_4.0.9.bb3
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.23.2.bb38
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.36.0.bb38
-rw-r--r--meta/recipes-devtools/python/python3-idna_3.3.bb19
-rw-r--r--meta/recipes-devtools/python/python3-importlib-metadata_4.10.1.bb20
-rw-r--r--meta/recipes-devtools/python/python3-importlib-metadata_4.8.1.bb20
-rw-r--r--meta/recipes-devtools/python/python3-jinja2_3.0.1.bb48
-rw-r--r--meta/recipes-devtools/python/python3-jinja2_3.0.3.bb48
-rw-r--r--meta/recipes-devtools/python/python3-jsonpointer/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-jsonpointer_2.2.bb26
-rw-r--r--meta/recipes-devtools/python/python3-jsonschema_3.2.0.bb48
-rw-r--r--meta/recipes-devtools/python/python3-libarchive-c_3.1.bb22
-rw-r--r--meta/recipes-devtools/python/python3-libarchive-c_4.0.bb21
-rw-r--r--meta/recipes-devtools/python/python3-mako_1.1.5.bb18
-rw-r--r--meta/recipes-devtools/python/python3-mako_1.1.6.bb18
-rw-r--r--meta/recipes-devtools/python/python3-markdown_3.3.4.bb13
-rw-r--r--meta/recipes-devtools/python/python3-markdown_3.3.6.bb13
-rw-r--r--meta/recipes-devtools/python/python3-more-itertools_8.10.0.bb27
-rw-r--r--meta/recipes-devtools/python/python3-more-itertools_8.12.0.bb27
-rw-r--r--meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch (renamed from meta/recipes-devtools/python-numpy/files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch)0
-rw-r--r--meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch50
-rw-r--r--meta/recipes-devtools/python/python3-numpy/0001-numpy-core-setup.py-disable-svml-for-now.patch29
-rw-r--r--meta/recipes-devtools/python/python3-numpy/run-ptest (renamed from meta/recipes-devtools/python-numpy/files/run-ptest)0
-rw-r--r--meta/recipes-devtools/python/python3-numpy_1.22.1.bb60
-rw-r--r--meta/recipes-devtools/python/python3-packaging_21.0.bb13
-rw-r--r--meta/recipes-devtools/python/python3-packaging_21.3.bb13
-rw-r--r--meta/recipes-devtools/python/python3-pbr_5.6.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-pbr_5.8.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-pip/0001-change-shebang-to-python3.patch37
-rw-r--r--meta/recipes-devtools/python/python3-pip_21.2.4.bb33
-rw-r--r--meta/recipes-devtools/python/python3-pip_21.3.1.bb33
-rw-r--r--meta/recipes-devtools/python/python3-py_1.10.0.bb14
-rw-r--r--meta/recipes-devtools/python/python3-py_1.11.0.bb14
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodome_3.11.0.bb5
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodome_3.12.0.bb5
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodomex_3.11.0.bb9
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodomex_3.12.0.bb9
-rw-r--r--meta/recipes-devtools/python/python3-pyelftools_0.27.bb2
-rw-r--r--meta/recipes-devtools/python/python3-pygments_2.10.0.bb19
-rw-r--r--meta/recipes-devtools/python/python3-pygments_2.11.2.bb19
-rw-r--r--meta/recipes-devtools/python/python3-pygobject_3.40.1.bb34
-rw-r--r--meta/recipes-devtools/python/python3-pygobject_3.42.0.bb34
-rw-r--r--meta/recipes-devtools/python/python3-pyparsing_2.4.7.bb3
-rw-r--r--meta/recipes-devtools/python/python3-pyparsing_3.0.7.bb29
-rw-r--r--meta/recipes-devtools/python/python3-pyrsistent_0.18.1.bb14
-rw-r--r--meta/recipes-devtools/python/python3-pyyaml_5.4.1.bb19
-rw-r--r--meta/recipes-devtools/python/python3-pyyaml_6.0.bb19
-rw-r--r--meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb21
-rw-r--r--meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb24
-rw-r--r--meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb11
-rw-r--r--meta/recipes-devtools/python/python3-ruamel-yaml_0.17.20.bb24
-rw-r--r--meta/recipes-devtools/python/python3-scons-native_4.3.0.bb (renamed from meta/recipes-devtools/python/python3-scons-native_4.2.0.bb)0
-rw-r--r--meta/recipes-devtools/python/python3-scons_4.2.0.bb27
-rw-r--r--meta/recipes-devtools/python/python3-scons_4.3.0.bb27
-rw-r--r--meta/recipes-devtools/python/python3-setuptools-scm_6.3.2.bb26
-rw-r--r--meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb26
-rw-r--r--meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch35
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_58.0.4.bb55
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_59.5.0.bb57
-rw-r--r--meta/recipes-devtools/python/python3-strict-rfc3339_0.7.bb11
-rw-r--r--meta/recipes-devtools/python/python3-tomli_1.2.1.bb20
-rw-r--r--meta/recipes-devtools/python/python3-tomli_2.0.0.bb20
-rw-r--r--meta/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb12
-rw-r--r--meta/recipes-devtools/python/python3-webcolors/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-webcolors_1.11.1.bb28
-rw-r--r--meta/recipes-devtools/python/python3-zipp_3.6.0.bb18
-rw-r--r--meta/recipes-devtools/python/python3-zipp_3.7.0.bb18
-rw-r--r--meta/recipes-devtools/python/python3/0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch6
-rw-r--r--meta/recipes-devtools/python/python3/0001-Do-not-use-the-shell-version-of-python-config-that-w.patch7
-rw-r--r--meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch6
-rw-r--r--meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch8
-rw-r--r--meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch8
-rw-r--r--meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch17
-rw-r--r--meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch7
-rw-r--r--meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch17
-rw-r--r--meta/recipes-devtools/python/python3/0001-Use-FLAG_REF-always-for-interned-strings.patch4
-rw-r--r--meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch19
-rw-r--r--meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch4
-rw-r--r--meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch24
-rw-r--r--meta/recipes-devtools/python/python3/0001-setup.py-pass-missing-libraries-to-Extension-for-mul.patch70
-rw-r--r--meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch8
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch7
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch14
-rw-r--r--meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch10
-rw-r--r--meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch11
-rw-r--r--meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch6
-rw-r--r--meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch6
-rw-r--r--meta/recipes-devtools/python/python3/cgi_py.patch4
-rw-r--r--meta/recipes-devtools/python/python3/crosspythonpath.patch15
-rw-r--r--meta/recipes-devtools/python/python3/makerace.patch6
-rw-r--r--meta/recipes-devtools/python/python3/python-config.patch15
-rw-r--r--meta/recipes-devtools/python/python3/python3-manifest.json3
-rw-r--r--meta/recipes-devtools/python/python3_3.10.0.bb400
-rw-r--r--meta/recipes-devtools/python/python3_3.10.2.bb399
-rw-r--r--meta/recipes-devtools/qemu/qemu-native_6.2.0.bb (renamed from meta/recipes-devtools/qemu/qemu-native_6.1.0.bb)0
-rw-r--r--meta/recipes-devtools/qemu/qemu-system-native_6.2.0.bb (renamed from meta/recipes-devtools/qemu/qemu-system-native_6.1.0.bb)0
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc18
-rw-r--r--meta/recipes-devtools/qemu/qemu/0001-riscv-Set-5.4-as-minimum-kernel-version-for-riscv32.patch40
-rw-r--r--meta/recipes-devtools/qemu/qemu/0001-tests-meson.build-use-relative-path-to-refer-to-file.patch13
-rw-r--r--meta/recipes-devtools/qemu/qemu/0006-chardev-connect-socket-to-a-spawned-command.patch30
-rw-r--r--meta/recipes-devtools/qemu/qemu_6.1.0.bb29
-rw-r--r--meta/recipes-devtools/qemu/qemu_6.2.0.bb27
-rw-r--r--meta/recipes-devtools/repo/repo/0001-python3-shebang.patch26
-rw-r--r--meta/recipes-devtools/repo/repo_2.20.bb33
-rw-r--r--meta/recipes-devtools/rpm/files/0001-CVE-2021-3521.patch57
-rw-r--r--meta/recipes-devtools/rpm/files/0002-CVE-2021-3521.patch64
-rw-r--r--meta/recipes-devtools/rpm/files/0003-CVE-2021-3521.patch329
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.17.0.bb8
-rw-r--r--meta/recipes-devtools/ruby/ruby.inc9
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-template-Makefile.in-do-not-write-host-cross-cc-item.patch2
-rw-r--r--meta/recipes-devtools/ruby/ruby/0002-template-Makefile.in-filter-out-f-prefix-map.patch2
-rw-r--r--meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch41
-rw-r--r--meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch8
-rw-r--r--meta/recipes-devtools/ruby/ruby_3.0.2.bb107
-rw-r--r--meta/recipes-devtools/ruby/ruby_3.1.0.bb114
-rw-r--r--meta/recipes-devtools/rust/files/riscv-march.patch73
-rw-r--r--meta/recipes-devtools/rust/files/rv64gc.patch37
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0001-Add-base-definitions-for-riscv64-musl.patch871
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0002-FIXUP-linux-musl-mod.rs-add-riscv64-to-b64-set.patch31
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0003-FIXUP-Correct-definitions-to-match-musl.patch689
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0004-Update-checksums-for-modified-files-for-rust.patch22
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0005-Add-base-definitions-for-riscv64-musl-libc-0.2.93.patch905
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0006-FIXUP-linux-musl-mod.rs-add-riscv64-to-b64-set-libc-.patch31
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0007-FIXUP-Correct-definitions-to-match-musl-libc-0.2.93.patch741
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0008-Update-checksums-for-modified-files-for-rust-1.54.0-.patch23
-rw-r--r--meta/recipes-devtools/rust/libstd-rs_1.55.0.bb11
-rw-r--r--meta/recipes-devtools/rust/libstd-rs_1.58.0.bb12
-rw-r--r--meta/recipes-devtools/rust/rust-common.inc8
-rw-r--r--meta/recipes-devtools/rust/rust-cross-canadian_1.58.0.bb (renamed from meta/recipes-devtools/rust/rust-cross-canadian_1.55.0.bb)0
-rw-r--r--meta/recipes-devtools/rust/rust-cross.inc2
-rw-r--r--meta/recipes-devtools/rust/rust-cross_1.58.0.bb (renamed from meta/recipes-devtools/rust/rust-cross_1.55.0.bb)0
-rw-r--r--meta/recipes-devtools/rust/rust-llvm.inc3
-rw-r--r--meta/recipes-devtools/rust/rust-llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch31
-rw-r--r--meta/recipes-devtools/rust/rust-llvm/0002-llvm-allow-env-override-of-exe-path.patch1
-rw-r--r--meta/recipes-devtools/rust/rust-llvm_1.55.0.bb5
-rw-r--r--meta/recipes-devtools/rust/rust-llvm_1.58.0.bb5
-rw-r--r--meta/recipes-devtools/rust/rust-snapshot.inc16
-rw-r--r--meta/recipes-devtools/rust/rust-source.inc2
-rw-r--r--meta/recipes-devtools/rust/rust-tools-cross-canadian_1.58.0.bb (renamed from meta/recipes-devtools/rust/rust-tools-cross-canadian_1.55.0.bb)0
-rw-r--r--meta/recipes-devtools/rust/rust_1.55.0.bb20
-rw-r--r--meta/recipes-devtools/rust/rust_1.58.0.bb21
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-1.patch135
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-2.patch108
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-3.patch326
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072.patch329
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb6
-rwxr-xr-xmeta/recipes-devtools/strace/strace/run-ptest9
-rw-r--r--meta/recipes-devtools/strace/strace/uintptr_t.patch27
-rw-r--r--meta/recipes-devtools/strace/strace_5.14.bb56
-rw-r--r--meta/recipes-devtools/strace/strace_5.16.bb54
-rw-r--r--meta/recipes-devtools/subversion/subversion/0001-Fix-libtool-name-in-configure.ac.patch29
-rw-r--r--meta/recipes-devtools/subversion/subversion_1.14.1.bb1
-rw-r--r--meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch2
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch2
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0002-musl-does-not-provide-printf-h.patch2
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0003-musl-does-not-provide-canonicalize_file_name.patch2
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb4
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch17
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch6
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent_git.bb3
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/no-yywrap.patch2
-rw-r--r--meta/recipes-devtools/unfs3/unfs3_git.bb2
-rw-r--r--meta/recipes-devtools/vala/vala/0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch38
-rw-r--r--meta/recipes-devtools/vala/vala_0.52.5.bb5
-rw-r--r--meta/recipes-devtools/vala/vala_0.54.6.bb3
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-Add-missing-musl.supp.patch72
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-Implement-linux-rseq-syscall-as-ENOSYS.patch198
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch51
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch36
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-drd-tests-swapcontext-Add-SIGALRM-handler-to-avoid-s.patch65
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-str_tester.c-Limit-rawmemchr-test-to-glibc.patch20
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch49
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch2
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0005-tc20_verifywrap.c-Fake-__GLIBC_PREREQ-with-musl.patch12
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/200b6a5a0ea3e1e154663b0fc575bfe2becf177d.patch34
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/52ed51fc35f8a6148c2940eb46932b02dd3b9b23.patch171
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/6da22a4d246519cd1a638cfc7eff00cdd74413c4.patch43
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/a1364805fc74b5690f763033c0c9b43f27613572.patch1422
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/remove-for-aarch649
-rwxr-xr-xmeta/recipes-devtools/valgrind/valgrind/run-ptest23
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.17.0.bb260
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.18.1.bb255
-rw-r--r--meta/recipes-example/rust-hello-world/rust-hello-world/0001-enable-LTO.patch1
-rw-r--r--meta/recipes-example/rust-hello-world/rust-hello-world_git.bb2
-rw-r--r--meta/recipes-example/rustfmt/rustfmt_1.4.2.bb171
-rw-r--r--meta/recipes-extended/acpica/acpica_20210730.bb51
-rw-r--r--meta/recipes-extended/acpica/acpica_20211217.bb51
-rw-r--r--meta/recipes-extended/asciidoc/asciidoc_10.1.1.bb27
-rw-r--r--meta/recipes-extended/asciidoc/asciidoc_9.1.0.bb32
-rw-r--r--meta/recipes-extended/bash/bash_5.1.16.bb25
-rw-r--r--meta/recipes-extended/bash/bash_5.1.8.bb25
-rw-r--r--meta/recipes-extended/bzip2/bzip2_1.0.8.bb2
-rw-r--r--meta/recipes-extended/cracklib/cracklib/0001-Apply-patch-to-fix-CVE-2016-6318.patch105
-rw-r--r--meta/recipes-extended/cracklib/cracklib/0001-packlib.c-support-dictionary-byte-order-dependent.patch14
-rw-r--r--meta/recipes-extended/cracklib/cracklib/0002-craklib-fix-testnum-and-teststr-failed.patch12
-rw-r--r--meta/recipes-extended/cracklib/cracklib_2.9.5.bb30
-rw-r--r--meta/recipes-extended/cracklib/cracklib_2.9.7.bb33
-rw-r--r--meta/recipes-extended/cups/cups.inc9
-rw-r--r--meta/recipes-extended/cups/cups/libexecdir.patch50
-rw-r--r--meta/recipes-extended/cups/cups_2.3.3op2.bb5
-rw-r--r--meta/recipes-extended/cups/cups_2.4.0.bb5
-rw-r--r--meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch2
-rw-r--r--meta/recipes-extended/ethtool/ethtool_5.14.bb37
-rw-r--r--meta/recipes-extended/ethtool/ethtool_5.15.bb37
-rw-r--r--meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch35
-rw-r--r--meta/recipes-extended/gawk/gawk/remove-sensitive-tests.patch24
-rw-r--r--meta/recipes-extended/gawk/gawk_5.1.0.bb60
-rw-r--r--meta/recipes-extended/gawk/gawk_5.1.1.bb64
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_9.54.0.bb129
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb129
-rw-r--r--meta/recipes-extended/go-examples/go-helloworld_0.1.bb6
-rw-r--r--meta/recipes-extended/groff/files/0001-Include-config.h.patch6
-rw-r--r--meta/recipes-extended/hdparm/hdparm_9.62.bb43
-rw-r--r--meta/recipes-extended/hdparm/hdparm_9.63.bb43
-rw-r--r--meta/recipes-extended/iputils/iputils/0001-meson-Make-tests-optional.patch220
-rw-r--r--meta/recipes-extended/iputils/iputils_20210722.bb72
-rw-r--r--meta/recipes-extended/iputils/iputils_20211215.bb66
-rw-r--r--meta/recipes-extended/less/less_590.bb42
-rw-r--r--meta/recipes-extended/less/less_600.bb42
-rw-r--r--meta/recipes-extended/libaio/libaio_0.3.112.bb2
-rw-r--r--meta/recipes-extended/libarchive/libarchive_3.5.1.bb66
-rw-r--r--meta/recipes-extended/libarchive/libarchive_3.5.2.bb66
-rw-r--r--meta/recipes-extended/libnsl/libnsl2_git.bb2
-rw-r--r--meta/recipes-extended/libnss-nis/libnss-nis.bb2
-rw-r--r--meta/recipes-extended/libpipeline/libpipeline_1.5.3.bb14
-rw-r--r--meta/recipes-extended/libpipeline/libpipeline_1.5.5.bb14
-rw-r--r--meta/recipes-extended/libsolv/libsolv/0001-utils-Conside-musl-when-wrapping-qsort_r.patch34
-rw-r--r--meta/recipes-extended/libsolv/libsolv_0.7.20.bb3
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd/0001-Use-pkg-config-for-pcre-dependency-instead-of-config.patch42
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd/0001-meson-add-with_zstd-to-meson_options.txt.patch27
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb83
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd_1.4.64.bb79
-rw-r--r--meta/recipes-extended/logrotate/logrotate/0001-Update-the-manual.patch39
-rw-r--r--meta/recipes-extended/logrotate/logrotate/act-as-mv-when-rotate.patch149
-rw-r--r--meta/recipes-extended/logrotate/logrotate/disable-check-different-filesystems.patch36
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.18.1.bb95
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.19.0.bb91
-rw-r--r--meta/recipes-extended/lsof/lsof_4.94.0.bb2
-rw-r--r--meta/recipes-extended/ltp/ltp_20210927.bb2
-rw-r--r--meta/recipes-extended/mdadm/files/0001-Compute-abs-diff-in-a-standard-compliant-way.patch31
-rw-r--r--meta/recipes-extended/mdadm/files/0001-Revert-tests-wait-for-complete-rebuild-in-integrity-.patch2
-rw-r--r--meta/recipes-extended/mdadm/files/0001-mdadm-skip-test-11spare-migration.patch2
-rw-r--r--meta/recipes-extended/mdadm/files/debian-no-Werror.patch19
-rw-r--r--meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch43
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.1.bb108
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.2.bb107
-rw-r--r--meta/recipes-extended/minicom/minicom/0001-Drop-superfluous-global-variable-definitions.patch2
-rw-r--r--meta/recipes-extended/minicom/minicom/0001-Fix-build-issus-surfaced-due-to-musl.patch47
-rw-r--r--meta/recipes-extended/minicom/minicom/0001-fix-minicom-h-v-return-value-is-not-0.patch32
-rw-r--r--meta/recipes-extended/minicom/minicom/0002-Drop-superfluous-global-variable-definitions.patch2
-rw-r--r--meta/recipes-extended/minicom/minicom/0003-Drop-superfluous-global-variable-definitions.patch2
-rw-r--r--meta/recipes-extended/minicom/minicom/allow.to.disable.lockdev.patch17
-rw-r--r--meta/recipes-extended/minicom/minicom_2.7.1.bb33
-rw-r--r--meta/recipes-extended/minicom/minicom_2.8.bb28
-rw-r--r--meta/recipes-extended/msmtp/msmtp_1.8.15.bb27
-rw-r--r--meta/recipes-extended/msmtp/msmtp_1.8.19.bb27
-rw-r--r--meta/recipes-extended/net-tools/net-tools_2.10.bb2
-rw-r--r--meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb43
-rw-r--r--meta/recipes-extended/pam/libpam/0001-run-xtests.sh-check-whether-files-exist.patch65
-rw-r--r--meta/recipes-extended/pam/libpam_1.5.2.bb1
-rw-r--r--meta/recipes-extended/pigz/pigz_2.6.bb48
-rw-r--r--meta/recipes-extended/pigz/pigz_2.7.bb48
-rw-r--r--meta/recipes-extended/procps/procps_3.3.17.bb2
-rw-r--r--meta/recipes-extended/psmisc/psmisc_23.4.bb2
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch2
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb1
-rw-r--r--meta/recipes-extended/rpcsvc-proto/rpcsvc-proto.bb6
-rw-r--r--meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch30
-rw-r--r--meta/recipes-extended/shadow/files/0001-Fix-out-of-tree-builds-with-respect-to-libsubid-incl.patch114
-rw-r--r--meta/recipes-extended/shadow/files/0001-libmisc-fix-default-value-in-SHA_get_salt_rounds.patch64
-rw-r--r--meta/recipes-extended/shadow/files/0001-libsubid-link-to-PAM-libraries.patch31
-rw-r--r--meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch6
-rw-r--r--meta/recipes-extended/shadow/shadow.inc12
-rw-r--r--meta/recipes-extended/shadow/shadow_4.11.1.bb (renamed from meta/recipes-extended/shadow/shadow_4.9.bb)0
-rw-r--r--meta/recipes-extended/slang/slang/terminfo_fixes.patch4
-rw-r--r--meta/recipes-extended/slang/slang_2.3.2.bb2
-rw-r--r--meta/recipes-extended/stress-ng/stress-ng/0001-Do-not-preserve-ownership-when-installing-example-jo.patch24
-rw-r--r--meta/recipes-extended/stress-ng/stress-ng_0.13.00.bb25
-rw-r--r--meta/recipes-extended/stress-ng/stress-ng_0.13.10.bb24
-rw-r--r--meta/recipes-extended/sudo/files/0001-lib-util-mksigname.c-correctly-include-header-for-ou.patch2
-rw-r--r--meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch19
-rw-r--r--meta/recipes-extended/sudo/sudo_1.9.8p1.bb60
-rw-r--r--meta/recipes-extended/sudo/sudo_1.9.8p2.bb60
-rw-r--r--meta/recipes-extended/sysklogd/sysklogd_2.2.3.bb56
-rw-r--r--meta/recipes-extended/sysklogd/sysklogd_2.3.0.bb56
-rw-r--r--meta/recipes-extended/sysstat/sysstat_12.4.3.bb7
-rw-r--r--meta/recipes-extended/sysstat/sysstat_12.4.4.bb7
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/socklen_t.patch5
-rw-r--r--meta/recipes-extended/timezone/timezone.inc7
-rw-r--r--meta/recipes-extended/timezone/tzdata.bb332
-rw-r--r--meta/recipes-extended/unzip/unzip/avoid-strip.patch2
-rw-r--r--meta/recipes-extended/unzip/unzip/define-ldflags.patch2
-rw-r--r--meta/recipes-extended/unzip/unzip/fix-security-format.patch2
-rw-r--r--meta/recipes-extended/unzip/unzip/symlink.patch2
-rw-r--r--meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb2
-rw-r--r--meta/recipes-extended/zip/zip-3.0/fix-security-format.patch2
-rw-r--r--meta/recipes-extended/zstd/zstd/0001-Makefile-sort-all-wildcard-file-list-expansions.patch2
-rw-r--r--meta/recipes-extended/zstd/zstd_1.5.0.bb2
-rw-r--r--meta/recipes-gnome/epiphany/epiphany_41.0.bb39
-rw-r--r--meta/recipes-gnome/epiphany/epiphany_41.3.bb43
-rw-r--r--meta/recipes-gnome/epiphany/files/bfbb5f7bab38301d8a4a444173acdae8d9692146.patch35
-rw-r--r--meta/recipes-gnome/gcr/gcr/b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch61
-rw-r--r--meta/recipes-gnome/gcr/gcr_3.40.0.bb3
-rw-r--r--meta/recipes-gnome/gi-docgen/gi-docgen_git.bb4
-rw-r--r--meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch2
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-Relocate-the-repository-directory-for-native-builds.patch4
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-build-Avoid-the-doctemplates-hack.patch219
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection_1.68.0.bb206
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection_1.70.0.bb207
-rw-r--r--meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_40.0.bb16
-rw-r--r--meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_41.0.bb16
-rw-r--r--meta/recipes-gnome/gtk+/gtk+3.inc3
-rw-r--r--meta/recipes-gnome/gtk+/gtk+3/0001-Hardcoded-libtool.patch47
-rw-r--r--meta/recipes-gnome/gtk+/gtk+3_3.24.30.bb18
-rw-r--r--meta/recipes-gnome/gtk+/gtk+3_3.24.31.bb17
-rw-r--r--meta/recipes-gnome/json-glib/json-glib_1.6.4.bb32
-rw-r--r--meta/recipes-gnome/json-glib/json-glib_1.6.6.bb32
-rw-r--r--meta/recipes-gnome/libdazzle/libdazzle_3.40.0.bb19
-rw-r--r--meta/recipes-gnome/libdazzle/libdazzle_3.42.0.bb19
-rw-r--r--meta/recipes-gnome/libhandy/libhandy/0001-Add-private-headers.patch37
-rw-r--r--meta/recipes-gnome/libhandy/libhandy_1.4.0.bb27
-rw-r--r--meta/recipes-gnome/libhandy/libhandy_1.5.0.bb29
-rw-r--r--meta/recipes-gnome/libportal/libportal_0.4.bb17
-rw-r--r--meta/recipes-gnome/librsvg/librsvg/0001-GdkPixbufRGBA-ToGdkPixbufRGBA-start-naming-types-and.patch81
-rw-r--r--meta/recipes-gnome/librsvg/librsvg/0001-crossbeam-utils-check-only-the-architecture-not-the-.patch148
-rw-r--r--meta/recipes-gnome/librsvg/librsvg/0001-system-deps-src-lib.rs-do-not-probe-into-harcoded-li.patch12
-rw-r--r--meta/recipes-gnome/librsvg/librsvg/0001-vendor-system-deps-sort-dependencies-before-using-th.patch53
-rw-r--r--meta/recipes-gnome/librsvg/librsvg/0002-New-ToPixel-trait.patch100
-rw-r--r--meta/recipes-gnome/librsvg/librsvg/0003-New-ToCairoARGB-trait.patch81
-rw-r--r--meta/recipes-gnome/librsvg/librsvg/0004-impl-ToPixel-for-CairoARGB.patch49
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.52.0.bb76
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.52.5.bb75
-rw-r--r--meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb27
-rw-r--r--meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb18
-rw-r--r--meta/recipes-graphics/drm/libdrm_2.4.107.bb60
-rw-r--r--meta/recipes-graphics/drm/libdrm_2.4.109.bb60
-rw-r--r--meta/recipes-graphics/freetype/freetype/use-right-libtool.patch31
-rw-r--r--meta/recipes-graphics/freetype/freetype_2.11.0.bb46
-rw-r--r--meta/recipes-graphics/freetype/freetype_2.11.1.bb44
-rw-r--r--meta/recipes-graphics/glew/glew/0001-Fix-build-race-in-Makefile.patch2
-rw-r--r--meta/recipes-graphics/glew/glew/no-strip.patch2
-rw-r--r--meta/recipes-graphics/glew/glew/notempdir.patch2
-rw-r--r--meta/recipes-graphics/glslang/glslang_11.6.0.bb31
-rw-r--r--meta/recipes-graphics/glslang/glslang_11.7.1.bb31
-rw-r--r--meta/recipes-graphics/harfbuzz/harfbuzz_2.9.1.bb48
-rw-r--r--meta/recipes-graphics/harfbuzz/harfbuzz_3.2.0.bb48
-rw-r--r--meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-meson.build-fix-meson-0.60-compatibility.patch24
-rw-r--r--meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb4
-rw-r--r--meta/recipes-graphics/jpeg/files/0001-libjpeg-turbo-fix-package_qa-error.patch2
-rw-r--r--meta/recipes-graphics/jpeg/libjpeg-turbo_2.1.1.bb62
-rw-r--r--meta/recipes-graphics/jpeg/libjpeg-turbo_2.1.2.bb62
-rw-r--r--meta/recipes-graphics/kmscube/kmscube/0001-texturator-Use-correct-GL-extension-header.patch33
-rw-r--r--meta/recipes-graphics/kmscube/kmscube_git.bb4
-rw-r--r--meta/recipes-graphics/libfakekey/libfakekey_git.bb2
-rw-r--r--meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb2
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2/0001-sdlchecks.cmake-pass-cflags-to-the-appropriate-cmake.patch46
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2/more-gen-depends.patch60
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch18
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2_2.0.16.bb79
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb77
-rw-r--r--meta/recipes-graphics/libva/libva-initial_2.12.0.bb5
-rw-r--r--meta/recipes-graphics/libva/libva-initial_2.13.0.bb8
-rw-r--r--meta/recipes-graphics/libva/libva-utils_2.12.0.bb32
-rw-r--r--meta/recipes-graphics/libva/libva-utils_2.13.0.bb32
-rw-r--r--meta/recipes-graphics/libva/libva.inc8
-rw-r--r--meta/recipes-graphics/libva/libva_2.12.0.bb20
-rw-r--r--meta/recipes-graphics/libva/libva_2.13.0.bb15
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb2
-rw-r--r--meta/recipes-graphics/mesa/files/0001-util-format-Check-for-NEON-before-using-it.patch49
-rw-r--r--meta/recipes-graphics/mesa/files/0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch41
-rw-r--r--meta/recipes-graphics/mesa/files/without-neon.patch53
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch7
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos/0013-only-build-GLX-demos-if-needed.patch62
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb4
-rw-r--r--meta/recipes-graphics/mesa/mesa-gl_21.3.4.bb (renamed from meta/recipes-graphics/mesa/mesa-gl_21.2.1.bb)0
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc17
-rw-r--r--meta/recipes-graphics/mesa/mesa_21.3.4.bb (renamed from meta/recipes-graphics/mesa/mesa_21.2.1.bb)0
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb1
-rw-r--r--meta/recipes-graphics/pango/pango_1.48.10.bb54
-rw-r--r--meta/recipes-graphics/pango/pango_1.48.9.bb54
-rw-r--r--meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch2
-rw-r--r--meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch2
-rw-r--r--meta/recipes-graphics/piglit/piglit/0001-generated_tests-gen_tcs-tes_input_tests.py-do-not-ha.patch2
-rw-r--r--meta/recipes-graphics/piglit/piglit/0001-serializer.py-make-.gz-files-reproducible.patch2
-rw-r--r--meta/recipes-graphics/piglit/piglit/0001-tests-shader.py-sort-the-file-list-before-working-on.patch2
-rw-r--r--meta/recipes-graphics/piglit/piglit_git.bb2
-rw-r--r--meta/recipes-graphics/shaderc/shaderc_2021.2.bb28
-rw-r--r--meta/recipes-graphics/shaderc/shaderc_2021.3.bb29
-rw-r--r--meta/recipes-graphics/spir/spirv-headers_1.5.4.bb4
-rw-r--r--meta/recipes-graphics/spir/spirv-tools_2021.3.bb40
-rw-r--r--meta/recipes-graphics/spir/spirv-tools_2021.4.bb40
-rw-r--r--meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.4.bb38
-rw-r--r--meta/recipes-graphics/ttf-fonts/liberation-fonts_2.1.5.bb38
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-headers_1.2.191.0.bb22
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-headers_1.2.198.0.bb22
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-loader_1.2.191.0.bb41
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-loader_1.2.198.1.bb40
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-samples/0001-framework-core-Add-explicit-static_cast-from-vk-Buff.patch35
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-samples/0001-framework-do-not-mix-plain-and-keyword-target_link_l.patch38
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-samples_git.bb7
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-tools_1.2.191.0.bb32
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-tools_1.2.198.0.bb32
-rw-r--r--meta/recipes-graphics/waffle/waffle/0001-waffle-do-not-make-core-protocol-into-the-library.patch56
-rw-r--r--meta/recipes-graphics/waffle/waffle_1.6.1.bb45
-rw-r--r--meta/recipes-graphics/waffle/waffle_1.7.0.bb49
-rw-r--r--meta/recipes-graphics/wayland/libinput_1.19.0.bb49
-rw-r--r--meta/recipes-graphics/wayland/libinput_1.19.3.bb49
-rw-r--r--meta/recipes-graphics/wayland/wayland-protocols_1.23.bb21
-rw-r--r--meta/recipes-graphics/wayland/wayland-protocols_1.24.bb23
-rw-r--r--meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch20
-rw-r--r--meta/recipes-graphics/wayland/wayland/0002-meson.build-find-the-native-wayland-scanner-directly.patch28
-rw-r--r--meta/recipes-graphics/wayland/wayland_1.19.0.bb62
-rw-r--r--meta/recipes-graphics/wayland/wayland_1.20.0.bb61
-rw-r--r--meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch2
-rw-r--r--meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb2
-rw-r--r--meta/recipes-graphics/xorg-app/xauth_1.1.1.bb14
-rw-r--r--meta/recipes-graphics/xorg-app/xauth_1.1.bb15
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-intel/0001-Sync-i915_pciids-upto-8717c6b7414f.patch505
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-intel/0001-i810-Avoid-duplicate-definition-of-I810PatternROP.patch27
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb6
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-vmware/0002-add-option-for-vmwgfx.patch2
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11-compose-data_1.6.8.bb2
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11/Fix-hanging-issue-in-_XReply.patch58
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11/keysym.patch46
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb43
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11_1.7.3.1.bb48
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcvt_0.1.1.bb19
-rw-r--r--meta/recipes-graphics/xorg-lib/libxkbcommon_1.3.1.bb18
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg.inc73
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Avoid-duplicate-definitions-of-IOPortBase.patch24
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-Fix-segfault-on-probing-a-non-PCI-platform-device-on.patch34
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-drmmode_display.c-add-missing-mi.h-include.patch23
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-test-xtest-Initialize-array-with-braces.patch36
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/pkgconfig.patch34
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg/sdksyms-no-build-path.patch50
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.13.bb33
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.3.bb28
-rw-r--r--meta/recipes-graphics/xwayland/xwayland_21.1.2.bb44
-rw-r--r--meta/recipes-graphics/xwayland/xwayland_21.1.4.bb44
-rw-r--r--meta/recipes-kernel/blktrace/blktrace_git.bb2
-rw-r--r--meta/recipes-kernel/cryptodev/cryptodev.inc2
-rw-r--r--meta/recipes-kernel/dtc/dtc.inc28
-rw-r--r--meta/recipes-kernel/dtc/dtc/0001-dtc-Fix-Makefile-to-add-CFLAGS-not-override.patch36
-rw-r--r--meta/recipes-kernel/dtc/dtc/0001-fdtdump-fix-Werror-int-to-pointer-cast.patch40
-rw-r--r--meta/recipes-kernel/dtc/dtc/make_install.patch26
-rw-r--r--meta/recipes-kernel/dtc/dtc_1.6.1.bb24
-rw-r--r--meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate20
-rw-r--r--meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-mk-schema20
-rw-r--r--meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-validate20
-rw-r--r--meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb17
-rw-r--r--meta/recipes-kernel/kern-tools/kern-tools-native_git.bb8
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools/0001-kexec-arch-ppc-kexec-ppc.c-correct-double-definition.patch23
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch43
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools_2.0.22.bb88
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools_2.0.23.bb86
-rw-r--r--meta/recipes-kernel/kmod/kmod-native_git.bb15
-rw-r--r--meta/recipes-kernel/kmod/kmod.inc37
-rw-r--r--meta/recipes-kernel/kmod/kmod_29.bb86
-rw-r--r--meta/recipes-kernel/kmod/kmod_git.bb62
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_20210818.bb1067
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_20211216.bb1067
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers_5.14.bb20
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers_5.15.bb20
-rw-r--r--meta/recipes-kernel/linux/kernel-devsrc.bb12
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-dev.bb14
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb6
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-rt_5.14.bb45
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb45
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-tiny_5.10.bb8
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-tiny_5.14.bb32
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb32
-rw-r--r--meta/recipes-kernel/linux/linux-yocto.inc13
-rw-r--r--meta/recipes-kernel/linux/linux-yocto_5.10.bb26
-rw-r--r--meta/recipes-kernel/linux/linux-yocto_5.14.bb68
-rw-r--r--meta/recipes-kernel/linux/linux-yocto_5.15.bb68
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules/0001-fix-cpu-hotplug-Remove-deprecated-CPU-hotplug-functi.patch394
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules/0002-fix-Revert-Makefile-Enable-Wimplicit-fallthrough-for.patch829
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules_2.13.0.bb47
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules_2.13.1.bb45
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools/0001-Fix-Tests-race-condition-in-test_event_tracker.patch221
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools/0001-src-common-correct-header-location.patch41
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools/0002-Fix-Tests-race-condition-in-test_ns_contexts_change.patch46
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools/disable-tests.patch34
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools_2.13.0.bb190
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools_2.13.2.bb188
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch2
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust_2.13.0.bb53
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust_2.13.1.bb53
-rw-r--r--meta/recipes-kernel/perf/perf.bb5
-rwxr-xr-xmeta/recipes-kernel/perf/perf/sort-pmuevents.py28
-rw-r--r--meta/recipes-kernel/powertop/powertop/0001-src-fix-compatibility-with-ncurses-6.3.patch52
-rw-r--r--meta/recipes-kernel/powertop/powertop_2.14.bb7
-rw-r--r--meta/recipes-kernel/systemtap/systemtap/0001-PR28778-gcc-warning-tweak-for-sprintf-precision-para.patch45
-rw-r--r--meta/recipes-kernel/systemtap/systemtap/0001-staprun-address-ncurses-6.3-failures.patch61
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.bb6
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.inc7
-rw-r--r--meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.07.14.bb43
-rw-r--r--meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.08.28.bb43
-rw-r--r--meta/recipes-multimedia/alsa/alsa-lib_1.2.5.1.bb44
-rw-r--r--meta/recipes-multimedia/alsa/alsa-lib_1.2.6.1.bb44
-rw-r--r--meta/recipes-multimedia/alsa/alsa-plugins_1.2.5.bb174
-rw-r--r--meta/recipes-multimedia/alsa/alsa-plugins_1.2.6.bb174
-rw-r--r--meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.5.1.bb24
-rw-r--r--meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.6.3.bb24
-rw-r--r--meta/recipes-multimedia/alsa/alsa-utils-scripts_1.2.6.bb (renamed from meta/recipes-multimedia/alsa/alsa-utils-scripts_1.2.5.1.bb)0
-rw-r--r--meta/recipes-multimedia/alsa/alsa-utils.inc2
-rw-r--r--meta/recipes-multimedia/alsa/alsa-utils_1.2.6.bb (renamed from meta/recipes-multimedia/alsa/alsa-utils_1.2.5.1.bb)0
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch21
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg/fix-CVE-2020-20446.patch35
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg/fix-CVE-2020-20453.patch42
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg/fix-CVE-2020-22015.patch44
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg/fix-CVE-2020-22021.patch87
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg/fix-CVE-2020-22033-CVE-2020-22019.patch40
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg/fix-CVE-2021-33815.patch44
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg/fix-CVE-2021-38171.patch42
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb187
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.bb176
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch346
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.5.bb4
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.5.bb7
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.5.bb2
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb4
-rw-r--r--meta/recipes-multimedia/libid3tag/libid3tag/0001-Fix-gperf-3.1-incompatibility.patch40
-rw-r--r--meta/recipes-multimedia/libid3tag/libid3tag/10_utf16.patch34
-rw-r--r--meta/recipes-multimedia/libid3tag/libid3tag/addpkgconfig.patch43
-rw-r--r--meta/recipes-multimedia/libid3tag/libid3tag/cflags_filter.patch19
-rw-r--r--meta/recipes-multimedia/libid3tag/libid3tag/obsolete_automake_macros.patch15
-rw-r--r--meta/recipes-multimedia/libid3tag/libid3tag/unknown-encoding.patch39
-rw-r--r--meta/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb28
-rw-r--r--meta/recipes-multimedia/libsamplerate/libsamplerate0/0001-configure.ac-improve-alsa-handling.patch62
-rw-r--r--meta/recipes-multimedia/libsamplerate/libsamplerate0/shared_version_info.patch13
-rw-r--r--meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.9.bb30
-rw-r--r--meta/recipes-multimedia/libsamplerate/libsamplerate0_0.2.2.bb26
-rw-r--r--meta/recipes-multimedia/libtiff/files/0001-tiffset-fix-global-buffer-overflow-for-ASCII-tags-wh.patch43
-rw-r--r--meta/recipes-multimedia/libtiff/tiff_4.3.0.bb3
-rw-r--r--meta/recipes-multimedia/mpg123/mpg123_1.28.2.bb52
-rw-r--r--meta/recipes-multimedia/mpg123/mpg123_1.29.3.bb52
-rw-r--r--meta/recipes-multimedia/speex/speex/CVE-2020-23903.patch30
-rw-r--r--meta/recipes-multimedia/speex/speex_1.2.0.bb4
-rw-r--r--meta/recipes-multimedia/webp/libwebp_1.2.1.bb55
-rw-r--r--meta/recipes-multimedia/webp/libwebp_1.2.2.bb55
-rw-r--r--meta/recipes-multimedia/x264/x264_git.bb2
-rw-r--r--meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch2
-rw-r--r--meta/recipes-rt/rt-tests/rt-tests.inc4
-rw-r--r--meta/recipes-sato/l3afpad/l3afpad_git.bb2
-rw-r--r--meta/recipes-sato/libptytty/libptytty/0001-CMakeLists.txt-do-not-run-cross-binary.patch24
-rw-r--r--meta/recipes-sato/libptytty/libptytty_2.0.bb13
-rw-r--r--meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb2
-rw-r--r--meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.2.bb2
-rw-r--r--meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb2
-rw-r--r--meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb2
-rw-r--r--meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.2.bb2
-rw-r--r--meta/recipes-sato/puzzles/files/0001-malloc-Check-for-excessive-values-to-malloc.patch49
-rw-r--r--meta/recipes-sato/puzzles/files/0001-map-Fix-stringop-overflow-warning.patch42
-rw-r--r--meta/recipes-sato/puzzles/files/0001-palisade-Fix-warnings-with-clang-on-arm.patch68
-rw-r--r--meta/recipes-sato/puzzles/files/0001-pattern.c-Change-string-lenght-parameter-to-be-size_.patch34
-rw-r--r--meta/recipes-sato/puzzles/files/fix-compiling-failure-with-option-g-O.patch44
-rw-r--r--meta/recipes-sato/puzzles/files/fix-ki-uninitialized.patch25
-rw-r--r--meta/recipes-sato/puzzles/puzzles_git.bb11
-rw-r--r--meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc5
-rw-r--r--meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.26.bb8
-rw-r--r--meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.30.bb8
-rw-r--r--meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb2
-rw-r--r--meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb2
-rw-r--r--meta/recipes-sato/webkit/libwpe_1.10.1.bb18
-rw-r--r--meta/recipes-sato/webkit/libwpe_1.12.0.bb18
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-ANGLE-do-not-enable-SSE-on-x86.patch26
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch2
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-without-opengl-or-es.patch133
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch2
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch2
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/include_xutil.patch34
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/reduce-memory-overheads.patch2
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/reproducibility.patch22
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.34.0.bb161
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.34.3.bb167
-rw-r--r--meta/recipes-sato/webkit/wpebackend-fdo_1.10.0.bb20
-rw-r--r--meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb24
-rw-r--r--meta/recipes-support/apr/apr-util/0001-Fix-error-handling-in-gdbm.patch3
-rw-r--r--meta/recipes-support/apr/apr_1.7.0.bb8
-rw-r--r--meta/recipes-support/bmap-tools/bmap-tools_3.6.bb2
-rw-r--r--meta/recipes-support/boost/boost-1.77.0.inc20
-rw-r--r--meta/recipes-support/boost/boost-1.78.0.inc20
-rw-r--r--meta/recipes-support/boost/boost-build-native_4.4.1.bb2
-rw-r--r--meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch15
-rw-r--r--meta/recipes-support/boost/boost/0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch54
-rw-r--r--meta/recipes-support/boost/boost/de657e01635306085488290ea83de541ec393f8b.patch30
-rw-r--r--meta/recipes-support/boost/boost_1.77.0.bb9
-rw-r--r--meta/recipes-support/boost/boost_1.78.0.bb9
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates/0001-Revert-mozilla-certdata2pem.py-print-a-warning-for-e.patch80
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates/sbindir.patch26
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch33
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates_20210119.bb90
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates_20211016.bb89
-rw-r--r--meta/recipes-support/curl/curl/0001-replace-krb5-config-with-pkg-config.patch44
-rw-r--r--meta/recipes-support/curl/curl/cve-2021-22945.patch34
-rw-r--r--meta/recipes-support/curl/curl/cve-2021-22946.patch332
-rw-r--r--meta/recipes-support/curl/curl/cve-2021-22947.patch355
-rw-r--r--meta/recipes-support/curl/curl_7.78.0.bb93
-rw-r--r--meta/recipes-support/curl/curl_7.81.0.bb92
-rw-r--r--meta/recipes-support/db/db/0001-Fix-libc-compatibility-by-renaming-atomic_init-API.patch2
-rw-r--r--meta/recipes-support/db/db/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch2
-rw-r--r--meta/recipes-support/db/db/0001-clock-Do-not-define-own-timespec.patch2
-rw-r--r--meta/recipes-support/db/db/0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch2
-rw-r--r--meta/recipes-support/db/db/fix-parallel-build.patch2
-rw-r--r--meta/recipes-support/db/db/sequence-type.patch2
-rw-r--r--meta/recipes-support/db/db_5.3.28.bb4
-rw-r--r--meta/recipes-support/debianutils/debianutils_4.11.2.bb60
-rw-r--r--meta/recipes-support/debianutils/debianutils_5.5.bb60
-rw-r--r--meta/recipes-support/diffoscope/diffoscope_182.bb30
-rw-r--r--meta/recipes-support/diffoscope/diffoscope_200.bb30
-rw-r--r--meta/recipes-support/dos2unix/dos2unix_7.4.2.bb2
-rw-r--r--meta/recipes-support/enchant/enchant2_2.3.1.bb31
-rw-r--r--meta/recipes-support/enchant/enchant2_2.3.2.bb31
-rw-r--r--meta/recipes-support/fribidi/fribidi_1.0.10.bb23
-rw-r--r--meta/recipes-support/fribidi/fribidi_1.0.11.bb22
-rw-r--r--meta/recipes-support/gdbm/files/ptest.patch18
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.19.bb46
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.22.bb45
-rw-r--r--meta/recipes-support/gmp/gmp/0001-confiure.ac-Believe-the-cflags-from-environment.patch2
-rw-r--r--meta/recipes-support/gmp/gmp/cve-2021-43618.patch27
-rw-r--r--meta/recipes-support/gmp/gmp_6.2.1.bb1
-rw-r--r--meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2021.1.bb2
-rw-r--r--meta/recipes-support/gnupg/gnupg/0001-configure.ac-use-a-custom-value-for-the-location-of-.patch6
-rw-r--r--meta/recipes-support/gnupg/gnupg/relocate.patch72
-rw-r--r--meta/recipes-support/gnupg/gnupg_2.3.2.bb85
-rw-r--r--meta/recipes-support/gnupg/gnupg_2.3.4.bb85
-rw-r--r--meta/recipes-support/gnutls/libtasn1/dont-depend-on-help2man.patch26
-rw-r--r--meta/recipes-support/gnutls/libtasn1_4.17.0.bb24
-rw-r--r--meta/recipes-support/gnutls/libtasn1_4.18.0.bb23
-rw-r--r--meta/recipes-support/gpgme/gpgme_1.16.0.bb2
-rw-r--r--meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch12
-rw-r--r--meta/recipes-support/icu/icu_69.1.bb150
-rw-r--r--meta/recipes-support/icu/icu_70.1.bb150
-rw-r--r--meta/recipes-support/iso-codes/iso-codes_4.6.0.bb22
-rw-r--r--meta/recipes-support/iso-codes/iso-codes_4.9.0.bb22
-rw-r--r--meta/recipes-support/libatomic-ops/libatomic-ops_7.6.10.bb23
-rw-r--r--meta/recipes-support/libatomic-ops/libatomic-ops_7.6.12.bb22
-rw-r--r--meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch6
-rw-r--r--meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch10
-rw-r--r--meta/recipes-support/libcap/libcap_2.54.bb76
-rw-r--r--meta/recipes-support/libcap/libcap_2.62.bb76
-rw-r--r--meta/recipes-support/libevdev/libevdev/determinism.patch44
-rw-r--r--meta/recipes-support/libevdev/libevdev_1.11.0.bb18
-rw-r--r--meta/recipes-support/libevdev/libevdev_1.12.0.bb17
-rw-r--r--meta/recipes-support/libevent/libevent/0003-test-mark-util-monotonic_prc_fallback-as-retriable.patch2
-rw-r--r--meta/recipes-support/libevent/libevent/0004-test-retriable-tests-are-marked-failed-only-when-all-a.patch2
-rw-r--r--meta/recipes-support/libexif/libexif_0.6.23.bb24
-rw-r--r--meta/recipes-support/libexif/libexif_0.6.24.bb24
-rw-r--r--meta/recipes-support/libfm/libfm/0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch2
-rw-r--r--meta/recipes-support/libfm/libfm/0001-Do-not-add-library-path-to-avoid-host-contamination.patch2
-rw-r--r--meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch2
-rw-r--r--meta/recipes-support/libgit2/libgit2_1.2.0.bb22
-rw-r--r--meta/recipes-support/libgit2/libgit2_1.3.0.bb22
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error/0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch2
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error/fix-cross.patch28
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch19
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.42.bb43
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.43.bb42
-rw-r--r--meta/recipes-support/libical/libical_3.0.11.bb46
-rw-r--r--meta/recipes-support/libical/libical_3.0.12.bb53
-rw-r--r--meta/recipes-support/libjitterentropy/libjitterentropy/0001-Makefile-restore-build-reproducibility.patch27
-rw-r--r--meta/recipes-support/libjitterentropy/libjitterentropy_3.1.0.bb33
-rw-r--r--meta/recipes-support/libjitterentropy/libjitterentropy_3.3.1.bb30
-rw-r--r--meta/recipes-support/libmd/libmd_1.0.3.bb16
-rw-r--r--meta/recipes-support/libmd/libmd_1.0.4.bb16
-rw-r--r--meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.73.bb31
-rw-r--r--meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.75.bb30
-rw-r--r--meta/recipes-support/libnl/files/enable-serial-tests.patch1
-rw-r--r--meta/recipes-support/libpcre/libpcre2_10.37.bb52
-rw-r--r--meta/recipes-support/libpcre/libpcre2_10.39.bb54
-rw-r--r--meta/recipes-support/libpcre/libpcre_8.45.bb2
-rw-r--r--meta/recipes-support/libseccomp/files/0001-arch-Add-riscv32-architecture-support.patch728
-rw-r--r--meta/recipes-support/libseccomp/files/0001-configure.ac-Bump-version-to-2.5.99.patch26
-rw-r--r--meta/recipes-support/libseccomp/files/0002-man-Add-RISCV64-to-arch-list.patch28
-rw-r--r--meta/recipes-support/libseccomp/files/0003-syscalls-update-the-syscall-defs-for-Linux-v5.15.0-r.patch980
-rw-r--r--meta/recipes-support/libseccomp/files/0004-syscalls-Add-quotactl_path.patch40
-rw-r--r--meta/recipes-support/libseccomp/libseccomp_2.5.2.bb58
-rw-r--r--meta/recipes-support/libseccomp/libseccomp_2.5.3.bb54
-rw-r--r--meta/recipes-support/libsoup/libsoup-2.4_2.72.0.bb46
-rw-r--r--meta/recipes-support/libsoup/libsoup-2.4_2.74.2.bb46
-rw-r--r--meta/recipes-support/libsoup/libsoup_3.0.1.bb44
-rw-r--r--meta/recipes-support/libsoup/libsoup_3.0.4.bb44
-rw-r--r--meta/recipes-support/libssh2/files/run-ptest3
-rw-r--r--meta/recipes-support/libunistring/libunistring/0001-Unset-need_charset_alias-when-building-for-musl.patch30
-rw-r--r--meta/recipes-support/libunistring/libunistring_0.9.10.bb29
-rw-r--r--meta/recipes-support/libunistring/libunistring_1.0.bb27
-rw-r--r--meta/recipes-support/libunwind/libunwind/0001-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch62
-rw-r--r--meta/recipes-support/libunwind/libunwind/0001-configure-Do-not-enforce-libdir-for-ppc64.patch35
-rw-r--r--meta/recipes-support/libunwind/libunwind/0003-x86-Stub-out-x86_local_resume.patch19
-rw-r--r--meta/recipes-support/libunwind/libunwind/0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch16
-rw-r--r--meta/recipes-support/libunwind/libunwind/0006-Fix-for-X32.patch13
-rw-r--r--meta/recipes-support/libunwind/libunwind/musl-header-conflict.patch4
-rw-r--r--meta/recipes-support/libunwind/libunwind_1.5.0.bb28
-rw-r--r--meta/recipes-support/libunwind/libunwind_1.6.2.bb24
-rw-r--r--meta/recipes-support/liburcu/liburcu_0.13.0.bb25
-rw-r--r--meta/recipes-support/liburcu/liburcu_0.13.1.bb24
-rw-r--r--meta/recipes-support/lz4/lz4_1.9.3.bb2
-rw-r--r--meta/recipes-support/nghttp2/nghttp2_1.45.1.bb35
-rw-r--r--meta/recipes-support/nghttp2/nghttp2_1.46.0.bb35
-rw-r--r--meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch2
-rw-r--r--meta/recipes-support/numactl/numactl_git.bb2
-rw-r--r--meta/recipes-support/p11-kit/p11-kit_0.24.0.bb32
-rw-r--r--meta/recipes-support/p11-kit/p11-kit_0.24.1.bb32
-rw-r--r--meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb2
-rw-r--r--meta/recipes-support/rng-tools/rng-tools_6.14.bb2
-rw-r--r--meta/recipes-support/serf/serf/0001-buckets-ssl_buckets.c-do-not-use-ERR_GET_FUNC.patch2
-rw-r--r--meta/recipes-support/serf/serf/SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch2
-rw-r--r--meta/recipes-support/shared-mime-info/files/0001-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch70
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info_git.bb4
-rw-r--r--meta/recipes-support/sqlite/sqlite3_3.36.0.bb14
-rw-r--r--meta/recipes-support/sqlite/sqlite3_3.37.2.bb14
-rw-r--r--meta/recipes-support/vim/files/0001-src-Makefile-improve-reproducibility.patch13
-rw-r--r--meta/recipes-support/vim/files/CVE-2021-3778.patch46
-rw-r--r--meta/recipes-support/vim/files/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9.patch207
-rw-r--r--meta/recipes-support/vim/files/disable_acl_header_check.patch17
-rw-r--r--meta/recipes-support/vim/files/no-path-adjust.patch8
-rw-r--r--meta/recipes-support/vim/files/racefix.patch6
-rw-r--r--meta/recipes-support/vim/files/vim-add-knob-whether-elf.h-are-checked.patch13
-rw-r--r--meta/recipes-support/vim/vim.inc19
-rw-r--r--meta/recipes-support/vte/vte/0001-Makefile.docs-correctly-substitute-gtkdoc-qemu-wrapp.patch24
-rw-r--r--meta/recipes-support/vte/vte_0.64.2.bb61
-rw-r--r--meta/recipes-support/vte/vte_0.66.2.bb62
-rw-r--r--meta/recipes-support/xxhash/files/0001-Makefile-escape-special-regex-characters-in-paths.patch55
-rw-r--r--meta/recipes-support/xxhash/xxhash_0.8.0.bb25
-rw-r--r--meta/recipes-support/xxhash/xxhash_0.8.1.bb25
-rw-r--r--meta/site/common-musl2
1341 files changed, 34867 insertions, 37167 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index 5bd5c44..a766a65 100644
--- a/meta/classes/allarch.bbclass
+++ b/meta/classes/allarch.bbclass
@@ -61,3 +61,5 @@ python () {
61 bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE")) 61 bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE"))
62} 62}
63 63
64def qemu_wrapper_cmdline(data, rootfs_path, library_paths):
65 return 'false'
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index dd31dc0..549f331 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -51,6 +51,7 @@ ARCHIVER_MODE[diff-exclude] ?= ".pc autom4te.cache patches"
51ARCHIVER_MODE[dumpdata] ?= "0" 51ARCHIVER_MODE[dumpdata] ?= "0"
52ARCHIVER_MODE[recipe] ?= "0" 52ARCHIVER_MODE[recipe] ?= "0"
53ARCHIVER_MODE[mirror] ?= "split" 53ARCHIVER_MODE[mirror] ?= "split"
54ARCHIVER_MODE[compression] ?= "xz"
54 55
55DEPLOY_DIR_SRC ?= "${DEPLOY_DIR}/sources" 56DEPLOY_DIR_SRC ?= "${DEPLOY_DIR}/sources"
56ARCHIVER_TOPDIR ?= "${WORKDIR}/archiver-sources" 57ARCHIVER_TOPDIR ?= "${WORKDIR}/archiver-sources"
@@ -409,15 +410,16 @@ def create_tarball(d, srcdir, suffix, ar_outdir):
409 # that we archive the actual directory and not just the link. 410 # that we archive the actual directory and not just the link.
410 srcdir = os.path.realpath(srcdir) 411 srcdir = os.path.realpath(srcdir)
411 412
413 compression_method = d.getVarFlag('ARCHIVER_MODE', 'compression')
412 bb.utils.mkdirhier(ar_outdir) 414 bb.utils.mkdirhier(ar_outdir)
413 if suffix: 415 if suffix:
414 filename = '%s-%s.tar.gz' % (d.getVar('PF'), suffix) 416 filename = '%s-%s.tar.%s' % (d.getVar('PF'), suffix, compression_method)
415 else: 417 else:
416 filename = '%s.tar.gz' % d.getVar('PF') 418 filename = '%s.tar.%s' % (d.getVar('PF'), compression_method)
417 tarname = os.path.join(ar_outdir, filename) 419 tarname = os.path.join(ar_outdir, filename)
418 420
419 bb.note('Creating %s' % tarname) 421 bb.note('Creating %s' % tarname)
420 tar = tarfile.open(tarname, 'w:gz') 422 tar = tarfile.open(tarname, 'w:%s' % compression_method)
421 tar.add(srcdir, arcname=os.path.basename(srcdir), filter=exclude_useless_paths) 423 tar.add(srcdir, arcname=os.path.basename(srcdir), filter=exclude_useless_paths)
422 tar.close() 424 tar.close()
423 425
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index a65fcc6..5f4956a 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -150,6 +150,7 @@ do_fetch[dirs] = "${DL_DIR}"
150do_fetch[file-checksums] = "${@bb.fetch.get_checksum_file_list(d)}" 150do_fetch[file-checksums] = "${@bb.fetch.get_checksum_file_list(d)}"
151do_fetch[file-checksums] += " ${@get_lic_checksum_file_list(d)}" 151do_fetch[file-checksums] += " ${@get_lic_checksum_file_list(d)}"
152do_fetch[vardeps] += "SRCREV" 152do_fetch[vardeps] += "SRCREV"
153do_fetch[network] = "1"
153python base_do_fetch() { 154python base_do_fetch() {
154 155
155 src_uri = (d.getVar('SRC_URI') or "").split() 156 src_uri = (d.getVar('SRC_URI') or "").split()
@@ -665,6 +666,10 @@ python () {
665 elif uri.scheme == "npm": 666 elif uri.scheme == "npm":
666 d.appendVarFlag('do_fetch', 'depends', ' nodejs-native:do_populate_sysroot') 667 d.appendVarFlag('do_fetch', 'depends', ' nodejs-native:do_populate_sysroot')
667 668
669 elif uri.scheme == "repo":
670 needsrcrev = True
671 d.appendVarFlag('do_fetch', 'depends', ' repo-native:do_populate_sysroot')
672
668 # *.lz4 should DEPEND on lz4-native for unpacking 673 # *.lz4 should DEPEND on lz4-native for unpacking
669 if path.endswith('.lz4'): 674 if path.endswith('.lz4'):
670 d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot') 675 d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot')
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index 62d0d78..daa96f3 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -91,13 +91,19 @@ buildhistory_emit_sysroot() {
91python buildhistory_emit_pkghistory() { 91python buildhistory_emit_pkghistory() {
92 if d.getVar('BB_CURRENTTASK') in ['populate_sysroot', 'populate_sysroot_setscene']: 92 if d.getVar('BB_CURRENTTASK') in ['populate_sysroot', 'populate_sysroot_setscene']:
93 bb.build.exec_func("buildhistory_emit_sysroot", d) 93 bb.build.exec_func("buildhistory_emit_sysroot", d)
94
95 if not d.getVar('BB_CURRENTTASK') in ['packagedata', 'packagedata_setscene']:
96 return 0 94 return 0
97 95
98 if not "package" in (d.getVar('BUILDHISTORY_FEATURES') or "").split(): 96 if not "package" in (d.getVar('BUILDHISTORY_FEATURES') or "").split():
99 return 0 97 return 0
100 98
99 if d.getVar('BB_CURRENTTASK') in ['package', 'package_setscene']:
100 # Create files-in-<package-name>.txt files containing a list of files of each recipe's package
101 bb.build.exec_func("buildhistory_list_pkg_files", d)
102 return 0
103
104 if not d.getVar('BB_CURRENTTASK') in ['packagedata', 'packagedata_setscene']:
105 return 0
106
101 import re 107 import re
102 import json 108 import json
103 import shlex 109 import shlex
@@ -319,8 +325,6 @@ python buildhistory_emit_pkghistory() {
319 325
320 write_pkghistory(pkginfo, d) 326 write_pkghistory(pkginfo, d)
321 327
322 # Create files-in-<package-name>.txt files containing a list of files of each recipe's package
323 bb.build.exec_func("buildhistory_list_pkg_files", d)
324 oe.qa.exit_if_errors(d) 328 oe.qa.exit_if_errors(d)
325} 329}
326 330
@@ -934,22 +938,12 @@ def _get_srcrev_values(d):
934 if urldata[u].method.supports_srcrev(): 938 if urldata[u].method.supports_srcrev():
935 scms.append(u) 939 scms.append(u)
936 940
937 autoinc_templ = 'AUTOINC+'
938 dict_srcrevs = {} 941 dict_srcrevs = {}
939 dict_tag_srcrevs = {} 942 dict_tag_srcrevs = {}
940 for scm in scms: 943 for scm in scms:
941 ud = urldata[scm] 944 ud = urldata[scm]
942 for name in ud.names: 945 for name in ud.names:
943 try: 946 autoinc, rev = ud.method.sortable_revision(ud, d, name)
944 rev = ud.method.sortable_revision(ud, d, name)
945 except TypeError:
946 # support old bitbake versions
947 rev = ud.method.sortable_revision(scm, ud, d, name)
948 # Clean this up when we next bump bitbake version
949 if type(rev) != str:
950 autoinc, rev = rev
951 elif rev.startswith(autoinc_templ):
952 rev = rev[len(autoinc_templ):]
953 dict_srcrevs[name] = rev 947 dict_srcrevs[name] = rev
954 if 'tag' in ud.parm: 948 if 'tag' in ud.parm:
955 tag = ud.parm['tag']; 949 tag = ud.parm['tag'];
@@ -980,23 +974,19 @@ def write_latest_srcrev(d, pkghistdir):
980 value = value.replace('"', '').strip() 974 value = value.replace('"', '').strip()
981 old_tag_srcrevs[key] = value 975 old_tag_srcrevs[key] = value
982 with open(srcrevfile, 'w') as f: 976 with open(srcrevfile, 'w') as f:
983 orig_srcrev = d.getVar('SRCREV', False) or 'INVALID' 977 for name, srcrev in sorted(srcrevs.items()):
984 if orig_srcrev != 'INVALID': 978 suffix = "_" + name
985 f.write('# SRCREV = "%s"\n' % orig_srcrev) 979 if name == "default":
986 if len(srcrevs) > 1: 980 suffix = ""
987 for name, srcrev in sorted(srcrevs.items()): 981 orig_srcrev = d.getVar('SRCREV%s' % suffix, False)
988 orig_srcrev = d.getVar('SRCREV_%s' % name, False) 982 if orig_srcrev:
989 if orig_srcrev: 983 f.write('# SRCREV%s = "%s"\n' % (suffix, orig_srcrev))
990 f.write('# SRCREV_%s = "%s"\n' % (name, orig_srcrev)) 984 f.write('SRCREV%s = "%s"\n' % (suffix, srcrev))
991 f.write('SRCREV_%s = "%s"\n' % (name, srcrev)) 985 for name, srcrev in sorted(tag_srcrevs.items()):
992 else: 986 f.write('# tag_%s = "%s"\n' % (name, srcrev))
993 f.write('SRCREV = "%s"\n' % next(iter(srcrevs.values()))) 987 if name in old_tag_srcrevs and old_tag_srcrevs[name] != srcrev:
994 if len(tag_srcrevs) > 0: 988 pkg = d.getVar('PN')
995 for name, srcrev in sorted(tag_srcrevs.items()): 989 bb.warn("Revision for tag %s in package %s was changed since last build (from %s to %s)" % (name, pkg, old_tag_srcrevs[name], srcrev))
996 f.write('# tag_%s = "%s"\n' % (name, srcrev))
997 if name in old_tag_srcrevs and old_tag_srcrevs[name] != srcrev:
998 pkg = d.getVar('PN')
999 bb.warn("Revision for tag %s in package %s was changed since last build (from %s to %s)" % (name, pkg, old_tag_srcrevs[name], srcrev))
1000 990
1001 else: 991 else:
1002 if os.path.exists(srcrevfile): 992 if os.path.exists(srcrevfile):
diff --git a/meta/classes/cargo_common.bbclass b/meta/classes/cargo_common.bbclass
index 23d82aa..90fad75 100644
--- a/meta/classes/cargo_common.bbclass
+++ b/meta/classes/cargo_common.bbclass
@@ -9,7 +9,6 @@
9## 9##
10 10
11# add crate fetch support 11# add crate fetch support
12inherit crate-fetch
13inherit rust-common 12inherit rust-common
14 13
15# Where we download our registry and dependencies to 14# Where we download our registry and dependencies to
diff --git a/meta/classes/crate-fetch.bbclass b/meta/classes/crate-fetch.bbclass
deleted file mode 100644
index c0ed434..0000000
--- a/meta/classes/crate-fetch.bbclass
+++ /dev/null
@@ -1,13 +0,0 @@
1#
2# crate-fetch class
3#
4# Registers 'crate' method for Bitbake fetch2.
5#
6# Adds support for following format in recipe SRC_URI:
7# crate://<packagename>/<version>
8#
9
10python () {
11 import crate
12 bb.fetch2.methods.append( crate.Crate() )
13}
diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass
index 739b46e..eb95350 100644
--- a/meta/classes/create-spdx.bbclass
+++ b/meta/classes/create-spdx.bbclass
@@ -28,6 +28,8 @@ SPDX_NAMESPACE_PREFIX ??= "http://spdx.org/spdxdoc"
28 28
29SPDX_LICENSES ??= "${COREBASE}/meta/files/spdx-licenses.json" 29SPDX_LICENSES ??= "${COREBASE}/meta/files/spdx-licenses.json"
30 30
31SPDX_ORG ??= "OpenEmbedded ()"
32
31do_image_complete[depends] = "virtual/kernel:do_create_spdx" 33do_image_complete[depends] = "virtual/kernel:do_create_spdx"
32 34
33def get_doc_namespace(d, doc): 35def get_doc_namespace(d, doc):
@@ -35,15 +37,24 @@ def get_doc_namespace(d, doc):
35 namespace_uuid = uuid.uuid5(uuid.NAMESPACE_DNS, d.getVar("SPDX_UUID_NAMESPACE")) 37 namespace_uuid = uuid.uuid5(uuid.NAMESPACE_DNS, d.getVar("SPDX_UUID_NAMESPACE"))
36 return "%s/%s-%s" % (d.getVar("SPDX_NAMESPACE_PREFIX"), doc.name, str(uuid.uuid5(namespace_uuid, doc.name))) 38 return "%s/%s-%s" % (d.getVar("SPDX_NAMESPACE_PREFIX"), doc.name, str(uuid.uuid5(namespace_uuid, doc.name)))
37 39
40def create_annotation(d, comment):
41 from datetime import datetime, timezone
42
43 creation_time = datetime.now(tz=timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
44 annotation = oe.spdx.SPDXAnnotation()
45 annotation.annotationDate = creation_time
46 annotation.annotationType = "OTHER"
47 annotation.annotator = "Tool: %s - %s" % (d.getVar("SPDX_TOOL_NAME"), d.getVar("SPDX_TOOL_VERSION"))
48 annotation.comment = comment
49 return annotation
50
38def recipe_spdx_is_native(d, recipe): 51def recipe_spdx_is_native(d, recipe):
39 return any(a.annotationType == "OTHER" and 52 return any(a.annotationType == "OTHER" and
40 a.annotator == "Tool: %s - %s" % (d.getVar("SPDX_TOOL_NAME"), d.getVar("SPDX_TOOL_VERSION")) and 53 a.annotator == "Tool: %s - %s" % (d.getVar("SPDX_TOOL_NAME"), d.getVar("SPDX_TOOL_VERSION")) and
41 a.comment == "isNative" for a in recipe.annotations) 54 a.comment == "isNative" for a in recipe.annotations)
42 55
43def is_work_shared(d): 56def is_work_shared_spdx(d):
44 pn = d.getVar('PN') 57 return bb.data.inherits_class('kernel', d) or ('work-shared' in d.getVar('WORKDIR'))
45 return bb.data.inherits_class('kernel', d) or pn.startswith('gcc-source')
46
47 58
48python() { 59python() {
49 import json 60 import json
@@ -81,7 +92,7 @@ def convert_license_to_spdx(lic, document, d, existing={}):
81 extracted_info.extractedText = "Software released to the public domain" 92 extracted_info.extractedText = "Software released to the public domain"
82 elif name in available_licenses: 93 elif name in available_licenses:
83 # This license can be found in COMMON_LICENSE_DIR or LICENSE_PATH 94 # This license can be found in COMMON_LICENSE_DIR or LICENSE_PATH
84 for directory in [d.getVar('COMMON_LICENSE_DIR')] + d.getVar('LICENSE_PATH').split(): 95 for directory in [d.getVar('COMMON_LICENSE_DIR')] + (d.getVar('LICENSE_PATH') or '').split():
85 try: 96 try:
86 with (Path(directory) / name).open(errors="replace") as f: 97 with (Path(directory) / name).open(errors="replace") as f:
87 extracted_info.extractedText = f.read() 98 extracted_info.extractedText = f.read()
@@ -134,7 +145,6 @@ def convert_license_to_spdx(lic, document, d, existing={}):
134 145
135 return ' '.join(convert(l) for l in lic_split) 146 return ' '.join(convert(l) for l in lic_split)
136 147
137
138def process_sources(d): 148def process_sources(d):
139 pn = d.getVar('PN') 149 pn = d.getVar('PN')
140 assume_provided = (d.getVar("ASSUME_PROVIDED") or "").split() 150 assume_provided = (d.getVar("ASSUME_PROVIDED") or "").split()
@@ -244,6 +254,7 @@ def add_package_sources_from_debug(d, package_doc, spdx_package, package, packag
244 Path(d.getVar('PKGD')), 254 Path(d.getVar('PKGD')),
245 Path(d.getVar('STAGING_DIR_TARGET')), 255 Path(d.getVar('STAGING_DIR_TARGET')),
246 Path(d.getVar('STAGING_DIR_NATIVE')), 256 Path(d.getVar('STAGING_DIR_NATIVE')),
257 Path(d.getVar('STAGING_KERNEL_DIR')),
247 ] 258 ]
248 259
249 pkg_data = oe.packagedata.read_subpkgdata_extended(package, d) 260 pkg_data = oe.packagedata.read_subpkgdata_extended(package, d)
@@ -265,7 +276,10 @@ def add_package_sources_from_debug(d, package_doc, spdx_package, package, packag
265 for debugsrc in file_data["debugsrc"]: 276 for debugsrc in file_data["debugsrc"]:
266 ref_id = "NOASSERTION" 277 ref_id = "NOASSERTION"
267 for search in debug_search_paths: 278 for search in debug_search_paths:
268 debugsrc_path = search / debugsrc.lstrip("/") 279 if debugsrc.startswith("/usr/src/kernel"):
280 debugsrc_path = search / debugsrc.replace('/usr/src/kernel/', '')
281 else:
282 debugsrc_path = search / debugsrc.lstrip("/")
269 if not debugsrc_path.exists(): 283 if not debugsrc_path.exists():
270 continue 284 continue
271 285
@@ -404,20 +418,15 @@ python do_create_spdx() {
404 doc.creationInfo.comment = "This document was created by analyzing recipe files during the build." 418 doc.creationInfo.comment = "This document was created by analyzing recipe files during the build."
405 doc.creationInfo.licenseListVersion = d.getVar("SPDX_LICENSE_DATA")["licenseListVersion"] 419 doc.creationInfo.licenseListVersion = d.getVar("SPDX_LICENSE_DATA")["licenseListVersion"]
406 doc.creationInfo.creators.append("Tool: OpenEmbedded Core create-spdx.bbclass") 420 doc.creationInfo.creators.append("Tool: OpenEmbedded Core create-spdx.bbclass")
407 doc.creationInfo.creators.append("Organization: OpenEmbedded ()") 421 doc.creationInfo.creators.append("Organization: %s" % d.getVar("SPDX_ORG"))
408 doc.creationInfo.creators.append("Person: N/A ()") 422 doc.creationInfo.creators.append("Person: N/A ()")
409 423
410 recipe = oe.spdx.SPDXPackage() 424 recipe = oe.spdx.SPDXPackage()
411 recipe.name = d.getVar("PN") 425 recipe.name = d.getVar("PN")
412 recipe.versionInfo = d.getVar("PV") 426 recipe.versionInfo = d.getVar("PV")
413 recipe.SPDXID = oe.sbom.get_recipe_spdxid(d) 427 recipe.SPDXID = oe.sbom.get_recipe_spdxid(d)
414 if bb.data.inherits_class("native", d): 428 if bb.data.inherits_class("native", d) or bb.data.inherits_class("cross", d):
415 annotation = oe.spdx.SPDXAnnotation() 429 recipe.annotations.append(create_annotation(d, "isNative"))
416 annotation.annotationDate = creation_time
417 annotation.annotationType = "OTHER"
418 annotation.annotator = "Tool: %s - %s" % (d.getVar("SPDX_TOOL_NAME"), d.getVar("SPDX_TOOL_VERSION"))
419 annotation.comment = "isNative"
420 recipe.annotations.append(annotation)
421 430
422 for s in d.getVar('SRC_URI').split(): 431 for s in d.getVar('SRC_URI').split():
423 if not s.startswith("file://"): 432 if not s.startswith("file://"):
@@ -513,7 +522,7 @@ python do_create_spdx() {
513 package_doc.creationInfo.comment = "This document was created by analyzing packages created during the build." 522 package_doc.creationInfo.comment = "This document was created by analyzing packages created during the build."
514 package_doc.creationInfo.licenseListVersion = d.getVar("SPDX_LICENSE_DATA")["licenseListVersion"] 523 package_doc.creationInfo.licenseListVersion = d.getVar("SPDX_LICENSE_DATA")["licenseListVersion"]
515 package_doc.creationInfo.creators.append("Tool: OpenEmbedded Core create-spdx.bbclass") 524 package_doc.creationInfo.creators.append("Tool: OpenEmbedded Core create-spdx.bbclass")
516 package_doc.creationInfo.creators.append("Organization: OpenEmbedded ()") 525 package_doc.creationInfo.creators.append("Organization: %s" % d.getVar("SPDX_ORG"))
517 package_doc.creationInfo.creators.append("Person: N/A ()") 526 package_doc.creationInfo.creators.append("Person: N/A ()")
518 package_doc.externalDocumentRefs.append(recipe_ref) 527 package_doc.externalDocumentRefs.append(recipe_ref)
519 528
@@ -608,7 +617,7 @@ python do_create_runtime_spdx() {
608 617
609 deploy_dir_spdx = Path(d.getVar("DEPLOY_DIR_SPDX")) 618 deploy_dir_spdx = Path(d.getVar("DEPLOY_DIR_SPDX"))
610 spdx_deploy = Path(d.getVar("SPDXRUNTIMEDEPLOY")) 619 spdx_deploy = Path(d.getVar("SPDXRUNTIMEDEPLOY"))
611 is_native = bb.data.inherits_class("native", d) 620 is_native = bb.data.inherits_class("native", d) or bb.data.inherits_class("cross", d)
612 621
613 creation_time = datetime.now(tz=timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ") 622 creation_time = datetime.now(tz=timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
614 623
@@ -647,7 +656,7 @@ python do_create_runtime_spdx() {
647 runtime_doc.creationInfo.comment = "This document was created by analyzing package runtime dependencies." 656 runtime_doc.creationInfo.comment = "This document was created by analyzing package runtime dependencies."
648 runtime_doc.creationInfo.licenseListVersion = d.getVar("SPDX_LICENSE_DATA")["licenseListVersion"] 657 runtime_doc.creationInfo.licenseListVersion = d.getVar("SPDX_LICENSE_DATA")["licenseListVersion"]
649 runtime_doc.creationInfo.creators.append("Tool: OpenEmbedded Core create-spdx.bbclass") 658 runtime_doc.creationInfo.creators.append("Tool: OpenEmbedded Core create-spdx.bbclass")
650 runtime_doc.creationInfo.creators.append("Organization: OpenEmbedded ()") 659 runtime_doc.creationInfo.creators.append("Organization: %s" % d.getVar("SPDX_ORG"))
651 runtime_doc.creationInfo.creators.append("Person: N/A ()") 660 runtime_doc.creationInfo.creators.append("Person: N/A ()")
652 661
653 package_ref = oe.spdx.SPDXExternalDocumentRef() 662 package_ref = oe.spdx.SPDXExternalDocumentRef()
@@ -670,6 +679,9 @@ python do_create_runtime_spdx() {
670 if dep in seen_deps: 679 if dep in seen_deps:
671 continue 680 continue
672 681
682 if dep not in providers:
683 continue
684
673 dep = providers[dep] 685 dep = providers[dep]
674 686
675 if not oe.packagedata.packaged(dep, localdata): 687 if not oe.packagedata.packaged(dep, localdata):
@@ -739,7 +751,7 @@ def spdx_get_src(d):
739 751
740 try: 752 try:
741 # The kernel class functions require it to be on work-shared, so we dont change WORKDIR 753 # The kernel class functions require it to be on work-shared, so we dont change WORKDIR
742 if not is_work_shared(d): 754 if not is_work_shared_spdx(d):
743 # Change the WORKDIR to make do_unpack do_patch run in another dir. 755 # Change the WORKDIR to make do_unpack do_patch run in another dir.
744 d.setVar('WORKDIR', spdx_workdir) 756 d.setVar('WORKDIR', spdx_workdir)
745 # Restore the original path to recipe's native sysroot (it's relative to WORKDIR). 757 # Restore the original path to recipe's native sysroot (it's relative to WORKDIR).
@@ -752,7 +764,7 @@ def spdx_get_src(d):
752 764
753 bb.build.exec_func('do_unpack', d) 765 bb.build.exec_func('do_unpack', d)
754 # Copy source of kernel to spdx_workdir 766 # Copy source of kernel to spdx_workdir
755 if is_work_shared(d): 767 if is_work_shared_spdx(d):
756 d.setVar('WORKDIR', spdx_workdir) 768 d.setVar('WORKDIR', spdx_workdir)
757 d.setVar('STAGING_DIR_NATIVE', spdx_sysroot_native) 769 d.setVar('STAGING_DIR_NATIVE', spdx_sysroot_native)
758 src_dir = spdx_workdir + "/" + d.getVar('PN')+ "-" + d.getVar('PV') + "-" + d.getVar('PR') 770 src_dir = spdx_workdir + "/" + d.getVar('PN')+ "-" + d.getVar('PV') + "-" + d.getVar('PR')
@@ -768,7 +780,7 @@ def spdx_get_src(d):
768 shutils.rmtree(git_path) 780 shutils.rmtree(git_path)
769 781
770 # Make sure gcc and kernel sources are patched only once 782 # Make sure gcc and kernel sources are patched only once
771 if not (d.getVar('SRC_URI') == "" or is_work_shared(d)): 783 if not (d.getVar('SRC_URI') == "" or is_work_shared_spdx(d)):
772 bb.build.exec_func('do_patch', d) 784 bb.build.exec_func('do_patch', d)
773 785
774 # Some userland has no source. 786 # Some userland has no source.
@@ -807,7 +819,7 @@ python image_combine_spdx() {
807 doc.creationInfo.comment = "This document was created by analyzing the source of the Yocto recipe during the build." 819 doc.creationInfo.comment = "This document was created by analyzing the source of the Yocto recipe during the build."
808 doc.creationInfo.licenseListVersion = d.getVar("SPDX_LICENSE_DATA")["licenseListVersion"] 820 doc.creationInfo.licenseListVersion = d.getVar("SPDX_LICENSE_DATA")["licenseListVersion"]
809 doc.creationInfo.creators.append("Tool: OpenEmbedded Core create-spdx.bbclass") 821 doc.creationInfo.creators.append("Tool: OpenEmbedded Core create-spdx.bbclass")
810 doc.creationInfo.creators.append("Organization: OpenEmbedded ()") 822 doc.creationInfo.creators.append("Organization: %s" % d.getVar("SPDX_ORG"))
811 doc.creationInfo.creators.append("Person: N/A ()") 823 doc.creationInfo.creators.append("Person: N/A ()")
812 824
813 image = oe.spdx.SPDXPackage() 825 image = oe.spdx.SPDXPackage()
@@ -862,8 +874,9 @@ python image_combine_spdx() {
862 with image_spdx_path.open("wb") as f: 874 with image_spdx_path.open("wb") as f:
863 doc.to_json(f, sort_keys=True) 875 doc.to_json(f, sort_keys=True)
864 876
865 image_spdx_link = imgdeploydir / (image_link_name + ".spdx.json") 877 if image_link_name:
866 image_spdx_link.symlink_to(os.path.relpath(image_spdx_path, image_spdx_link.parent)) 878 image_spdx_link = imgdeploydir / (image_link_name + ".spdx.json")
879 image_spdx_link.symlink_to(os.path.relpath(image_spdx_path, image_spdx_link.parent))
867 880
868 num_threads = int(d.getVar("BB_NUMBER_THREADS")) 881 num_threads = int(d.getVar("BB_NUMBER_THREADS"))
869 882
@@ -934,8 +947,9 @@ python image_combine_spdx() {
934 tar.addfile(info, fileobj=index_str) 947 tar.addfile(info, fileobj=index_str)
935 948
936 def make_image_link(target_path, suffix): 949 def make_image_link(target_path, suffix):
937 link = imgdeploydir / (image_link_name + suffix) 950 if image_link_name:
938 link.symlink_to(os.path.relpath(target_path, link.parent)) 951 link = imgdeploydir / (image_link_name + suffix)
952 link.symlink_to(os.path.relpath(target_path, link.parent))
939 953
940 make_image_link(spdx_tar_path, ".spdx.tar.zst") 954 make_image_link(spdx_tar_path, ".spdx.tar.zst")
941 955
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 3e6a2f6..9d95107 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -93,3 +93,5 @@ python do_addto_recipe_sysroot () {
93} 93}
94addtask addto_recipe_sysroot after do_populate_sysroot 94addtask addto_recipe_sysroot after do_populate_sysroot
95do_addto_recipe_sysroot[deptask] = "do_populate_sysroot" 95do_addto_recipe_sysroot[deptask] = "do_populate_sysroot"
96
97PATH:prepend = "${COREBASE}/scripts/cross-intercept:"
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index 70d1988..6c04ff9 100644
--- a/meta/classes/cve-check.bbclass
+++ b/meta/classes/cve-check.bbclass
@@ -111,6 +111,7 @@ python do_cve_check () {
111} 111}
112 112
113addtask cve_check before do_build after do_fetch 113addtask cve_check before do_build after do_fetch
114do_cve_check[lockfiles] += "${CVE_CHECK_DB_FILE_LOCK}"
114do_cve_check[depends] = "cve-update-db-native:do_fetch" 115do_cve_check[depends] = "cve-update-db-native:do_fetch"
115do_cve_check[nostamp] = "1" 116do_cve_check[nostamp] = "1"
116 117
diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass
index 39b1a1a..8367be9 100644
--- a/meta/classes/debian.bbclass
+++ b/meta/classes/debian.bbclass
@@ -14,6 +14,10 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}"
14inherit package 14inherit package
15 15
16DEBIANRDEP = "do_packagedata" 16DEBIANRDEP = "do_packagedata"
17do_package_write_ipk[deptask] = "${DEBIANRDEP}"
18do_package_write_deb[deptask] = "${DEBIANRDEP}"
19do_package_write_tar[deptask] = "${DEBIANRDEP}"
20do_package_write_rpm[deptask] = "${DEBIANRDEP}"
17do_package_write_ipk[rdeptask] = "${DEBIANRDEP}" 21do_package_write_ipk[rdeptask] = "${DEBIANRDEP}"
18do_package_write_deb[rdeptask] = "${DEBIANRDEP}" 22do_package_write_deb[rdeptask] = "${DEBIANRDEP}"
19do_package_write_tar[rdeptask] = "${DEBIANRDEP}" 23do_package_write_tar[rdeptask] = "${DEBIANRDEP}"
diff --git a/meta/classes/devupstream.bbclass b/meta/classes/devupstream.bbclass
index dc9a947..facc46f 100644
--- a/meta/classes/devupstream.bbclass
+++ b/meta/classes/devupstream.bbclass
@@ -4,7 +4,7 @@
4# 4#
5# Usage: 5# Usage:
6# BBCLASSEXTEND = "devupstream:target" 6# BBCLASSEXTEND = "devupstream:target"
7# SRC_URI:class-devupstream = "git://git.example.com/example" 7# SRC_URI:class-devupstream = "git://git.example.com/example;branch=master"
8# SRCREV:class-devupstream = "abcdef" 8# SRCREV:class-devupstream = "abcdef"
9# 9#
10# If the first entry in SRC_URI is a git: URL then S is rewritten to 10# If the first entry in SRC_URI is a git: URL then S is rewritten to
diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass
index bc994f7..59c750a 100644
--- a/meta/classes/distutils-common-base.bbclass
+++ b/meta/classes/distutils-common-base.bbclass
@@ -23,3 +23,6 @@ FILES:${PN}-dev += "\
23 ${libdir}/pkgconfig \ 23 ${libdir}/pkgconfig \
24 ${PYTHON_SITEPACKAGES_DIR}/*.la \ 24 ${PYTHON_SITEPACKAGES_DIR}/*.la \
25" 25"
26python __anonymous() {
27 bb.warn("distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead")
28}
diff --git a/meta/classes/distutils3-base.bbclass b/meta/classes/distutils3-base.bbclass
index d41873e..850c535 100644
--- a/meta/classes/distutils3-base.bbclass
+++ b/meta/classes/distutils3-base.bbclass
@@ -4,3 +4,6 @@ RDEPENDS:${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-tar
4 4
5inherit distutils-common-base python3native python3targetconfig 5inherit distutils-common-base python3native python3targetconfig
6 6
7python __anonymous() {
8 bb.warn("distutils3-base.bbclass is deprecated, please use setuptools3-base.bbclass instead")
9
diff --git a/meta/classes/distutils3.bbclass b/meta/classes/distutils3.bbclass
index be645d3..a6d8e87 100644
--- a/meta/classes/distutils3.bbclass
+++ b/meta/classes/distutils3.bbclass
@@ -14,6 +14,10 @@ DISTUTILS_PYTHON:class-native = "nativepython3"
14 14
15DISTUTILS_SETUP_PATH ?= "${S}" 15DISTUTILS_SETUP_PATH ?= "${S}"
16 16
17python __anonymous() {
18 bb.warn("distutils3.bbclass is deprecated, please use setuptools3.bbclass instead")
19}
20
17distutils3_do_configure() { 21distutils3_do_configure() {
18 : 22 :
19} 23}
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass
index 0dd0c5f..9c4c92b 100644
--- a/meta/classes/go.bbclass
+++ b/meta/classes/go.bbclass
@@ -2,6 +2,8 @@ inherit goarch
2 2
3GO_PARALLEL_BUILD ?= "${@oe.utils.parallel_make_argument(d, '-p %d')}" 3GO_PARALLEL_BUILD ?= "${@oe.utils.parallel_make_argument(d, '-p %d')}"
4 4
5export GODEBUG = "gocachehash=1"
6
5GOROOT:class-native = "${STAGING_LIBDIR_NATIVE}/go" 7GOROOT:class-native = "${STAGING_LIBDIR_NATIVE}/go"
6GOROOT:class-nativesdk = "${STAGING_DIR_TARGET}${libdir}/go" 8GOROOT:class-nativesdk = "${STAGING_DIR_TARGET}${libdir}/go"
7GOROOT = "${STAGING_LIBDIR}/go" 9GOROOT = "${STAGING_LIBDIR}/go"
@@ -41,7 +43,8 @@ GO_EXTLDFLAGS ?= "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} ${GO_RPATH_LINK} ${LDFLAGS
41GO_LINKMODE ?= "" 43GO_LINKMODE ?= ""
42GO_LINKMODE:class-nativesdk = "--linkmode=external" 44GO_LINKMODE:class-nativesdk = "--linkmode=external"
43GO_LINKMODE:class-native = "--linkmode=external" 45GO_LINKMODE:class-native = "--linkmode=external"
44GO_LDFLAGS ?= '-ldflags="${GO_RPATH} ${GO_LINKMODE} -extldflags '${GO_EXTLDFLAGS}'"' 46GO_EXTRA_LDFLAGS ?= ""
47GO_LDFLAGS ?= '-ldflags="${GO_RPATH} ${GO_LINKMODE} ${GO_EXTRA_LDFLAGS} -extldflags '${GO_EXTLDFLAGS}'"'
45export GOBUILDFLAGS ?= "-v ${GO_LDFLAGS} -trimpath" 48export GOBUILDFLAGS ?= "-v ${GO_LDFLAGS} -trimpath"
46export GOPATH_OMIT_IN_ACTIONID ?= "1" 49export GOPATH_OMIT_IN_ACTIONID ?= "1"
47export GOPTESTBUILDFLAGS ?= "${GOBUILDFLAGS} -c" 50export GOPTESTBUILDFLAGS ?= "${GOBUILDFLAGS} -c"
@@ -64,7 +67,7 @@ GO_INSTALL_FILTEROUT ?= "${GO_IMPORT}/vendor/"
64 67
65B = "${WORKDIR}/build" 68B = "${WORKDIR}/build"
66export GOPATH = "${B}" 69export GOPATH = "${B}"
67export GOTMPDIR ?= "${WORKDIR}/go-tmp" 70export GOTMPDIR ?= "${WORKDIR}/build-tmp"
68GOTMPDIR[vardepvalue] = "" 71GOTMPDIR[vardepvalue] = ""
69 72
70python go_do_unpack() { 73python go_do_unpack() {
diff --git a/meta/classes/gobject-introspection.bbclass b/meta/classes/gobject-introspection.bbclass
index 822a226..4db1b36 100644
--- a/meta/classes/gobject-introspection.bbclass
+++ b/meta/classes/gobject-introspection.bbclass
@@ -14,16 +14,18 @@ GIR_MESON_OPTION ?= 'introspection'
14GIR_MESON_ENABLE_FLAG ?= 'true' 14GIR_MESON_ENABLE_FLAG ?= 'true'
15GIR_MESON_DISABLE_FLAG ?= 'false' 15GIR_MESON_DISABLE_FLAG ?= 'false'
16 16
17# Define g-i options such that they can be disabled completely when GIR_MESON_OPTION is empty
18GIRMESONTARGET = "-D${GIR_MESON_OPTION}=${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GIR_MESON_ENABLE_FLAG}', '${GIR_MESON_DISABLE_FLAG}', d)} "
19GIRMESONBUILD = "-D${GIR_MESON_OPTION}=${GIR_MESON_DISABLE_FLAG} "
17# Auto enable/disable based on GI_DATA_ENABLED 20# Auto enable/disable based on GI_DATA_ENABLED
18EXTRA_OECONF:prepend:class-target = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-introspection', '--disable-introspection', d)} " 21EXTRA_OECONF:prepend:class-target = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-introspection', '--disable-introspection', d)} "
19EXTRA_OEMESON:prepend:class-target = "-D${GIR_MESON_OPTION}=${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GIR_MESON_ENABLE_FLAG}', '${GIR_MESON_DISABLE_FLAG}', d)} " 22EXTRA_OEMESON:prepend:class-target = "${@['', '${GIRMESONTARGET}'][d.getVar('GIR_MESON_OPTION') != '']}"
20
21# When building native recipes, disable introspection, as it is not necessary, 23# When building native recipes, disable introspection, as it is not necessary,
22# pulls in additional dependencies, and makes build times longer 24# pulls in additional dependencies, and makes build times longer
23EXTRA_OECONF:prepend:class-native = "--disable-introspection " 25EXTRA_OECONF:prepend:class-native = "--disable-introspection "
24EXTRA_OECONF:prepend:class-nativesdk = "--disable-introspection " 26EXTRA_OECONF:prepend:class-nativesdk = "--disable-introspection "
25EXTRA_OEMESON:prepend:class-native = "-D${GIR_MESON_OPTION}=${GIR_MESON_DISABLE_FLAG} " 27EXTRA_OEMESON:prepend:class-native = "${@['', '${GIRMESONBUILD}'][d.getVar('GIR_MESON_OPTION') != '']}"
26EXTRA_OEMESON:prepend:class-nativesdk = "-D${GIR_MESON_OPTION}=${GIR_MESON_DISABLE_FLAG} " 28EXTRA_OEMESON:prepend:class-nativesdk = "${@['', '${GIRMESONBUILD}'][d.getVar('GIR_MESON_OPTION') != '']}"
27 29
28# Generating introspection data depends on a combination of native and target 30# Generating introspection data depends on a combination of native and target
29# introspection tools, and qemu to run the target tools. 31# introspection tools, and qemu to run the target tools.
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 7149bc0..07b46ac 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -63,7 +63,7 @@ export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules-dummy
63GIR_EXTRA_LIBS_PATH=\`find ${B} -name *.so -printf "%h\n"|sort|uniq| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH 63GIR_EXTRA_LIBS_PATH=\`find ${B} -name *.so -printf "%h\n"|sort|uniq| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH
64GIR_EXTRA_LIBS_PATH=\`find ${B} -name .libs| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH 64GIR_EXTRA_LIBS_PATH=\`find ${B} -name .libs| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH
65 65
66# meson sets this wrongly (only to libs in build-dir), qemu-wrapper_cmdline() and GIR_EXTRA_LIBS_PATH take care of it properly 66# meson sets this wrongly (only to libs in build-dir), qemu_wrapper_cmdline() and GIR_EXTRA_LIBS_PATH take care of it properly
67unset LD_LIBRARY_PATH 67unset LD_LIBRARY_PATH
68 68
69if [ -d ".libs" ]; then 69if [ -d ".libs" ]; then
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 2fa69a4..2b0ce4a 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -15,6 +15,7 @@ IMGCLASSES += "${@bb.utils.contains('IMAGE_FSTYPES', 'container', 'image-contain
15IMGCLASSES += "image_types_wic" 15IMGCLASSES += "image_types_wic"
16IMGCLASSES += "rootfs-postcommands" 16IMGCLASSES += "rootfs-postcommands"
17IMGCLASSES += "image-postinst-intercepts" 17IMGCLASSES += "image-postinst-intercepts"
18IMGCLASSES += "overlayfs-etc"
18inherit ${IMGCLASSES} 19inherit ${IMGCLASSES}
19 20
20TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}" 21TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}"
@@ -33,7 +34,7 @@ INHIBIT_DEFAULT_DEPS = "1"
33# IMAGE_FEATURES may contain any available package group 34# IMAGE_FEATURES may contain any available package group
34IMAGE_FEATURES ?= "" 35IMAGE_FEATURES ?= ""
35IMAGE_FEATURES[type] = "list" 36IMAGE_FEATURES[type] = "list"
36IMAGE_FEATURES[validitems] += "debug-tweaks read-only-rootfs read-only-rootfs-delayed-postinsts stateless-rootfs empty-root-password allow-empty-password allow-root-login post-install-logging" 37IMAGE_FEATURES[validitems] += "debug-tweaks read-only-rootfs read-only-rootfs-delayed-postinsts stateless-rootfs empty-root-password allow-empty-password allow-root-login post-install-logging overlayfs-etc"
37 38
38# Generate companion debugfs? 39# Generate companion debugfs?
39IMAGE_GEN_DEBUGFS ?= "0" 40IMAGE_GEN_DEBUGFS ?= "0"
@@ -53,7 +54,7 @@ FEATURE_INSTALL_OPTIONAL[vardepvalue] = "${FEATURE_INSTALL_OPTIONAL}"
53 54
54# Define some very basic feature package groups 55# Define some very basic feature package groups
55FEATURE_PACKAGES_package-management = "${ROOTFS_PKGMANAGE}" 56FEATURE_PACKAGES_package-management = "${ROOTFS_PKGMANAGE}"
56SPLASH ?= "psplash" 57SPLASH ?= "${@bb.utils.contains("MACHINE_FEATURES", "screen", "psplash", "", d)}"
57FEATURE_PACKAGES_splash = "${SPLASH}" 58FEATURE_PACKAGES_splash = "${SPLASH}"
58 59
59IMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("IMAGE_FEATURES", d)}' 60IMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("IMAGE_FEATURES", d)}'
@@ -622,20 +623,20 @@ deltask do_package_write_rpm
622create_merged_usr_symlinks() { 623create_merged_usr_symlinks() {
623 root="$1" 624 root="$1"
624 install -d $root${base_bindir} $root${base_sbindir} $root${base_libdir} 625 install -d $root${base_bindir} $root${base_sbindir} $root${base_libdir}
625 lnr $root${base_bindir} $root/bin 626 ln -rs $root${base_bindir} $root/bin
626 lnr $root${base_sbindir} $root/sbin 627 ln -rs $root${base_sbindir} $root/sbin
627 lnr $root${base_libdir} $root/${baselib} 628 ln -rs $root${base_libdir} $root/${baselib}
628 629
629 if [ "${nonarch_base_libdir}" != "${base_libdir}" ]; then 630 if [ "${nonarch_base_libdir}" != "${base_libdir}" ]; then
630 install -d $root${nonarch_base_libdir} 631 install -d $root${nonarch_base_libdir}
631 lnr $root${nonarch_base_libdir} $root/lib 632 ln -rs $root${nonarch_base_libdir} $root/lib
632 fi 633 fi
633 634
634 # create base links for multilibs 635 # create base links for multilibs
635 multi_libdirs="${@d.getVar('MULTILIB_VARIANTS')}" 636 multi_libdirs="${@d.getVar('MULTILIB_VARIANTS')}"
636 for d in $multi_libdirs; do 637 for d in $multi_libdirs; do
637 install -d $root${exec_prefix}/$d 638 install -d $root${exec_prefix}/$d
638 lnr $root${exec_prefix}/$d $root/$d 639 ln -rs $root${exec_prefix}/$d $root/$d
639 done 640 done
640} 641}
641 642
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 32d4cd4..f643ed3 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -139,16 +139,18 @@ IMAGE_CMD:cpio () {
139} 139}
140 140
141UBI_VOLNAME ?= "${MACHINE}-rootfs" 141UBI_VOLNAME ?= "${MACHINE}-rootfs"
142UBI_VOLTYPE ?= "dynamic"
143UBI_IMGTYPE ?= "ubifs"
142 144
143multiubi_mkfs() { 145multiubi_mkfs() {
144 local mkubifs_args="$1" 146 local mkubifs_args="$1"
145 local ubinize_args="$2" 147 local ubinize_args="$2"
146 148
147 # Added prompt error message for ubi and ubifs image creation. 149 # Added prompt error message for ubi and ubifs image creation.
148 if [ -z "$mkubifs_args" ] || [ -z "$ubinize_args" ]; then 150 if [ -z "$mkubifs_args" ] || [ -z "$ubinize_args" ]; then
149 bbfatal "MKUBIFS_ARGS and UBINIZE_ARGS have to be set, see http://www.linux-mtd.infradead.org/faq/ubifs.html for details" 151 bbfatal "MKUBIFS_ARGS and UBINIZE_ARGS have to be set, see http://www.linux-mtd.infradead.org/faq/ubifs.html for details"
150 fi 152 fi
151 153
152 if [ -z "$3" ]; then 154 if [ -z "$3" ]; then
153 local vname="" 155 local vname=""
154 else 156 else
@@ -157,9 +159,9 @@ multiubi_mkfs() {
157 159
158 echo \[ubifs\] > ubinize${vname}-${IMAGE_NAME}.cfg 160 echo \[ubifs\] > ubinize${vname}-${IMAGE_NAME}.cfg
159 echo mode=ubi >> ubinize${vname}-${IMAGE_NAME}.cfg 161 echo mode=ubi >> ubinize${vname}-${IMAGE_NAME}.cfg
160 echo image=${IMGDEPLOYDIR}/${IMAGE_NAME}${vname}${IMAGE_NAME_SUFFIX}.ubifs >> ubinize${vname}-${IMAGE_NAME}.cfg 162 echo image=${IMGDEPLOYDIR}/${IMAGE_NAME}${vname}${IMAGE_NAME_SUFFIX}.${UBI_IMGTYPE} >> ubinize${vname}-${IMAGE_NAME}.cfg
161 echo vol_id=0 >> ubinize${vname}-${IMAGE_NAME}.cfg 163 echo vol_id=0 >> ubinize${vname}-${IMAGE_NAME}.cfg
162 echo vol_type=dynamic >> ubinize${vname}-${IMAGE_NAME}.cfg 164 echo vol_type=${UBI_VOLTYPE} >> ubinize${vname}-${IMAGE_NAME}.cfg
163 echo vol_name=${UBI_VOLNAME} >> ubinize${vname}-${IMAGE_NAME}.cfg 165 echo vol_name=${UBI_VOLNAME} >> ubinize${vname}-${IMAGE_NAME}.cfg
164 echo vol_flags=autoresize >> ubinize${vname}-${IMAGE_NAME}.cfg 166 echo vol_flags=autoresize >> ubinize${vname}-${IMAGE_NAME}.cfg
165 if [ -n "$vname" ]; then 167 if [ -n "$vname" ]; then
@@ -198,7 +200,7 @@ IMAGE_CMD:multiubi () {
198IMAGE_CMD:ubi () { 200IMAGE_CMD:ubi () {
199 multiubi_mkfs "${MKUBIFS_ARGS}" "${UBINIZE_ARGS}" 201 multiubi_mkfs "${MKUBIFS_ARGS}" "${UBINIZE_ARGS}"
200} 202}
201IMAGE_TYPEDEP:ubi = "ubifs" 203IMAGE_TYPEDEP:ubi = "${UBI_IMGTYPE}"
202 204
203IMAGE_CMD:ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ubifs ${MKUBIFS_ARGS}" 205IMAGE_CMD:ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ubifs ${MKUBIFS_ARGS}"
204 206
@@ -329,7 +331,7 @@ CONVERSION_DEPENDS_gzsync = "zsync-curl-native"
329RUNNABLE_IMAGE_TYPES ?= "ext2 ext3 ext4" 331RUNNABLE_IMAGE_TYPES ?= "ext2 ext3 ext4"
330RUNNABLE_MACHINE_PATTERNS ?= "qemu" 332RUNNABLE_MACHINE_PATTERNS ?= "qemu"
331 333
332DEPLOYABLE_IMAGE_TYPES ?= "hddimg iso" 334DEPLOYABLE_IMAGE_TYPES ?= "hddimg iso"
333 335
334# The IMAGE_TYPES_MASKED variable will be used to mask out from the IMAGE_FSTYPES, 336# The IMAGE_TYPES_MASKED variable will be used to mask out from the IMAGE_FSTYPES,
335# images that will not be built at do_rootfs time: vmdk, vhd, vhdx, vdi, qcow2, hddimg, iso, etc. 337# images that will not be built at do_rootfs time: vmdk, vhd, vhdx, vdi, qcow2, hddimg, iso, etc.
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 1e2f1b7..11532ec 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -37,7 +37,7 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
37 configure-gettext perllocalpod shebang-size \ 37 configure-gettext perllocalpod shebang-size \
38 already-stripped installed-vs-shipped ldflags compile-host-path \ 38 already-stripped installed-vs-shipped ldflags compile-host-path \
39 install-host-path pn-overrides unknown-configure-option \ 39 install-host-path pn-overrides unknown-configure-option \
40 useless-rpaths rpaths staticdev \ 40 useless-rpaths rpaths staticdev empty-dirs \
41 " 41 "
42# Add usrmerge QA check based on distro feature 42# Add usrmerge QA check based on distro feature
43ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}" 43ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"
@@ -50,6 +50,21 @@ ALL_QA = "${WARN_QA} ${ERROR_QA}"
50 50
51UNKNOWN_CONFIGURE_WHITELIST ?= "--enable-nls --disable-nls --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot --disable-static" 51UNKNOWN_CONFIGURE_WHITELIST ?= "--enable-nls --disable-nls --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot --disable-static"
52 52
53# This is a list of directories that are expected to be empty.
54QA_EMPTY_DIRS ?= " \
55 /dev/pts \
56 /media \
57 /proc \
58 /run \
59 /tmp \
60 ${localstatedir}/run \
61 ${localstatedir}/volatile \
62"
63# It is possible to specify why a directory is expected to be empty by defining
64# QA_EMPTY_DIRS_RECOMMENDATION:<path>, which will then be included in the error
65# message if the directory is not empty. If it is not specified for a directory,
66# then "but it is expected to be empty" will be used.
67
53def package_qa_clean_path(path, d, pkg=None): 68def package_qa_clean_path(path, d, pkg=None):
54 """ 69 """
55 Remove redundant paths from the path for display. If pkg isn't set then 70 Remove redundant paths from the path for display. If pkg isn't set then
@@ -885,6 +900,22 @@ def package_qa_check_unlisted_pkg_lics(package, d, messages):
885 "listed in LICENSE" % (package, ' '.join(unlisted))) 900 "listed in LICENSE" % (package, ' '.join(unlisted)))
886 return False 901 return False
887 902
903QAPKGTEST[empty-dirs] = "package_qa_check_empty_dirs"
904def package_qa_check_empty_dirs(pkg, d, messages):
905 """
906 Check for the existence of files in directories that are expected to be
907 empty.
908 """
909
910 pkgd = oe.path.join(d.getVar('PKGDEST'), pkg)
911 for dir in (d.getVar('QA_EMPTY_DIRS') or "").split():
912 empty_dir = oe.path.join(pkgd, dir)
913 if os.path.exists(empty_dir) and os.listdir(empty_dir):
914 recommendation = (d.getVar('QA_EMPTY_DIRS_RECOMMENDATION:' + dir) or
915 "but it is expected to be empty")
916 msg = "%s installs files in %s, %s" % (pkg, dir, recommendation)
917 oe.qa.add_message(messages, "empty-dirs", msg)
918
888def package_qa_check_encoding(keys, encode, d): 919def package_qa_check_encoding(keys, encode, d):
889 def check_encoding(key, enc): 920 def check_encoding(key, enc):
890 sane = True 921 sane = True
@@ -937,17 +968,6 @@ def package_qa_check_host_user(path, name, d, elf, messages):
937 return False 968 return False
938 return True 969 return True
939 970
940QARECIPETEST[src-uri-bad] = "package_qa_check_src_uri"
941def package_qa_check_src_uri(pn, d, messages):
942 import re
943
944 if "${PN}" in d.getVar("SRC_URI", False):
945 oe.qa.handle_error("src-uri-bad", "%s: SRC_URI uses PN not BPN" % pn, d)
946
947 for url in d.getVar("SRC_URI").split():
948 if re.search(r"git(hu|la)b\.com/.+/.+/archive/.+", url):
949 oe.qa.handle_error("src-uri-bad", "%s: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol" % pn, d)
950
951QARECIPETEST[unhandled-features-check] = "package_qa_check_unhandled_features_check" 971QARECIPETEST[unhandled-features-check] = "package_qa_check_unhandled_features_check"
952def package_qa_check_unhandled_features_check(pn, d, messages): 972def package_qa_check_unhandled_features_check(pn, d, messages):
953 if not bb.data.inherits_class('features_check', d): 973 if not bb.data.inherits_class('features_check', d):
@@ -1136,6 +1156,30 @@ python do_qa_patch() {
1136 bb.warn(msg) 1156 bb.warn(msg)
1137 msg = "Patch log indicates that patches do not apply cleanly." 1157 msg = "Patch log indicates that patches do not apply cleanly."
1138 oe.qa.handle_error("patch-fuzz", msg, d) 1158 oe.qa.handle_error("patch-fuzz", msg, d)
1159
1160 # Check if the patch contains a correctly formatted and spelled Upstream-Status
1161 import re
1162 from oe import patch
1163
1164 for url in patch.src_patches(d):
1165 (_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url)
1166
1167 # skip patches not in oe-core
1168 if '/meta/' not in fullpath:
1169 continue
1170
1171 content = open(fullpath, encoding='utf-8', errors='ignore').read()
1172 kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | re.MULTILINE)
1173 strict_status_re = re.compile(r"^Upstream-Status: (Pending|Submitted|Denied|Accepted|Inappropriate|Backport|Inactive-Upstream)( .+)?$", re.MULTILINE)
1174 match_kinda = kinda_status_re.search(content)
1175 match_strict = strict_status_re.search(content)
1176 guidelines = "https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status"
1177
1178 if not match_strict:
1179 if match_kinda:
1180 bb.error("Malformed Upstream-Status in patch\n%s\nPlease correct according to %s :\n%s" % (fullpath, guidelines, match_kinda.group(0)))
1181 else:
1182 bb.error("Missing Upstream-Status in patch\n%s\nPlease add according to %s ." % (fullpath, guidelines))
1139} 1183}
1140 1184
1141python do_qa_configure() { 1185python do_qa_configure() {
@@ -1198,15 +1242,12 @@ Rerun configure task after fixing this."""
1198 ########################################################################### 1242 ###########################################################################
1199 # Check unrecognised configure options (with a white list) 1243 # Check unrecognised configure options (with a white list)
1200 ########################################################################### 1244 ###########################################################################
1201 if bb.data.inherits_class("autotools", d) or bb.data.inherits_class("meson", d): 1245 if bb.data.inherits_class("autotools", d):
1202 bb.note("Checking configure output for unrecognised options") 1246 bb.note("Checking configure output for unrecognised options")
1203 try: 1247 try:
1204 if bb.data.inherits_class("autotools", d): 1248 if bb.data.inherits_class("autotools", d):
1205 flag = "WARNING: unrecognized options:" 1249 flag = "WARNING: unrecognized options:"
1206 log = os.path.join(d.getVar('B'), 'config.log') 1250 log = os.path.join(d.getVar('B'), 'config.log')
1207 if bb.data.inherits_class("meson", d):
1208 flag = "WARNING: Unknown options:"
1209 log = os.path.join(d.getVar('T'), 'log.do_configure')
1210 output = subprocess.check_output(['grep', '-F', flag, log]).decode("utf-8").replace(', ', ' ').replace('"', '') 1251 output = subprocess.check_output(['grep', '-F', flag, log]).decode("utf-8").replace(', ', ' ').replace('"', '')
1211 options = set() 1252 options = set()
1212 for line in output.splitlines(): 1253 for line in output.splitlines():
@@ -1233,11 +1274,28 @@ Rerun configure task after fixing this."""
1233 oe.qa.exit_if_errors(d) 1274 oe.qa.exit_if_errors(d)
1234} 1275}
1235 1276
1277def unpack_check_src_uri(pn, d):
1278 import re
1279
1280 skip = (d.getVar('INSANE_SKIP') or "").split()
1281 if 'src-uri-bad' in skip:
1282 bb.note("Recipe %s skipping qa checking: src-uri-bad" % d.getVar('PN'))
1283 return
1284
1285 if "${PN}" in d.getVar("SRC_URI", False):
1286 oe.qa.handle_error("src-uri-bad", "%s: SRC_URI uses PN not BPN" % pn, d)
1287
1288 for url in d.getVar("SRC_URI").split():
1289 if re.search(r"git(hu|la)b\.com/.+/.+/archive/.+", url):
1290 oe.qa.handle_error("src-uri-bad", "%s: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol" % pn, d)
1291
1236python do_qa_unpack() { 1292python do_qa_unpack() {
1237 src_uri = d.getVar('SRC_URI') 1293 src_uri = d.getVar('SRC_URI')
1238 s_dir = d.getVar('S') 1294 s_dir = d.getVar('S')
1239 if src_uri and not os.path.exists(s_dir): 1295 if src_uri and not os.path.exists(s_dir):
1240 bb.warn('%s: the directory %s (%s) pointed to by the S variable doesn\'t exist - please set S within the recipe to point to where the source has been unpacked to' % (d.getVar('PN'), d.getVar('S', False), s_dir)) 1296 bb.warn('%s: the directory %s (%s) pointed to by the S variable doesn\'t exist - please set S within the recipe to point to where the source has been unpacked to' % (d.getVar('PN'), d.getVar('S', False), s_dir))
1297
1298 unpack_check_src_uri(d.getVar('PN'), d)
1241} 1299}
1242 1300
1243# The Staging Func, to check all staging 1301# The Staging Func, to check all staging
diff --git a/meta/classes/kernel-artifact-names.bbclass b/meta/classes/kernel-artifact-names.bbclass
index a65cddd..e77107c 100644
--- a/meta/classes/kernel-artifact-names.bbclass
+++ b/meta/classes/kernel-artifact-names.bbclass
@@ -8,15 +8,20 @@ inherit image-artifact-names
8 8
9KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" 9KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
10KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}" 10KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}"
11KERNEL_ARTIFACT_BIN_EXT ?= ".bin"
11 12
12KERNEL_IMAGE_NAME ?= "${KERNEL_ARTIFACT_NAME}" 13KERNEL_IMAGE_NAME ?= "${KERNEL_ARTIFACT_NAME}"
13KERNEL_IMAGE_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" 14KERNEL_IMAGE_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
15KERNEL_IMAGE_BIN_EXT ?= "${KERNEL_ARTIFACT_BIN_EXT}"
16KERNEL_IMAGETYPE_SYMLINK ?= "1"
14 17
15KERNEL_DTB_NAME ?= "${KERNEL_ARTIFACT_NAME}" 18KERNEL_DTB_NAME ?= "${KERNEL_ARTIFACT_NAME}"
16KERNEL_DTB_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" 19KERNEL_DTB_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
20KERNEL_DTB_BIN_EXT ?= "${KERNEL_ARTIFACT_BIN_EXT}"
17 21
18KERNEL_FIT_NAME ?= "${KERNEL_ARTIFACT_NAME}" 22KERNEL_FIT_NAME ?= "${KERNEL_ARTIFACT_NAME}"
19KERNEL_FIT_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" 23KERNEL_FIT_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
24KERNEL_FIT_BIN_EXT ?= "${KERNEL_ARTIFACT_BIN_EXT}"
20 25
21MODULE_TARBALL_NAME ?= "${KERNEL_ARTIFACT_NAME}" 26MODULE_TARBALL_NAME ?= "${KERNEL_ARTIFACT_NAME}"
22MODULE_TARBALL_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" 27MODULE_TARBALL_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
diff --git a/meta/classes/kernel-devicetree.bbclass b/meta/classes/kernel-devicetree.bbclass
index a50ea4f..b4338da 100644
--- a/meta/classes/kernel-devicetree.bbclass
+++ b/meta/classes/kernel-devicetree.bbclass
@@ -83,21 +83,29 @@ do_deploy:append() {
83 dtb_base_name=`basename $dtb .$dtb_ext` 83 dtb_base_name=`basename $dtb .$dtb_ext`
84 install -d $deployDir 84 install -d $deployDir
85 install -m 0644 ${D}/${KERNEL_IMAGEDEST}/$dtb_base_name.$dtb_ext $deployDir/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext 85 install -m 0644 ${D}/${KERNEL_IMAGEDEST}/$dtb_base_name.$dtb_ext $deployDir/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext
86 ln -sf $dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext $deployDir/$dtb_base_name.$dtb_ext 86 if [ "${KERNEL_IMAGETYPE_SYMLINK}" = "1" ] ; then
87 ln -sf $dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext $deployDir/$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext 87 ln -sf $dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext $deployDir/$dtb_base_name.$dtb_ext
88 fi
89 if [ -n "${KERNEL_DTB_LINK_NAME}" ] ; then
90 ln -sf $dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext $deployDir/$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext
91 fi
88 for type in ${KERNEL_IMAGETYPE_FOR_MAKE}; do 92 for type in ${KERNEL_IMAGETYPE_FOR_MAKE}; do
89 if [ "$type" = "zImage" ] && [ "${KERNEL_DEVICETREE_BUNDLE}" = "1" ]; then 93 if [ "$type" = "zImage" ] && [ "${KERNEL_DEVICETREE_BUNDLE}" = "1" ]; then
90 cat ${D}/${KERNEL_IMAGEDEST}/$type \ 94 cat ${D}/${KERNEL_IMAGEDEST}/$type \
91 $deployDir/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext \ 95 $deployDir/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext \
92 > $deployDir/$type-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext.bin 96 > $deployDir/$type-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext${KERNEL_DTB_BIN_EXT}
93 ln -sf $type-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext.bin \ 97 if [ -n "${KERNEL_DTB_LINK_NAME}" ]; then
94 $deployDir/$type-$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext.bin 98 ln -sf $type-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext${KERNEL_DTB_BIN_EXT} \
99 $deployDir/$type-$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext${KERNEL_DTB_BIN_EXT}
100 fi
95 if [ -e "${KERNEL_OUTPUT_DIR}/${type}.initramfs" ]; then 101 if [ -e "${KERNEL_OUTPUT_DIR}/${type}.initramfs" ]; then
96 cat ${KERNEL_OUTPUT_DIR}/${type}.initramfs \ 102 cat ${KERNEL_OUTPUT_DIR}/${type}.initramfs \
97 $deployDir/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext \ 103 $deployDir/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext \
98 > $deployDir/${type}-${INITRAMFS_NAME}-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext.bin 104 > $deployDir/${type}-${INITRAMFS_NAME}-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext${KERNEL_DTB_BIN_EXT}
99 ln -sf ${type}-${INITRAMFS_NAME}-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext.bin \ 105 if [ -n "${KERNEL_DTB_LINK_NAME}" ]; then
100 $deployDir/${type}-${INITRAMFS_NAME}-$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext.bin 106 ln -sf ${type}-${INITRAMFS_NAME}-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext${KERNEL_DTB_BIN_EXT} \
107 $deployDir/${type}-${INITRAMFS_NAME}-$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext${KERNEL_DTB_BIN_EXT}
108 fi
101 fi 109 fi
102 fi 110 fi
103 done 111 done
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 8718ce7..b0c971b 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -722,22 +722,30 @@ kernel_do_deploy:append() {
722 if [ "${INITRAMFS_IMAGE_BUNDLE}" != "1" ]; then 722 if [ "${INITRAMFS_IMAGE_BUNDLE}" != "1" ]; then
723 echo "Copying fit-image.its source file..." 723 echo "Copying fit-image.its source file..."
724 install -m 0644 ${B}/fit-image.its "$deployDir/fitImage-its-${KERNEL_FIT_NAME}.its" 724 install -m 0644 ${B}/fit-image.its "$deployDir/fitImage-its-${KERNEL_FIT_NAME}.its"
725 ln -snf fitImage-its-${KERNEL_FIT_NAME}.its "$deployDir/fitImage-its-${KERNEL_FIT_LINK_NAME}" 725 if [ -n "${KERNEL_FIT_LINK_NAME}" ] ; then
726 ln -snf fitImage-its-${KERNEL_FIT_NAME}.its "$deployDir/fitImage-its-${KERNEL_FIT_LINK_NAME}"
727 fi
726 728
727 echo "Copying linux.bin file..." 729 echo "Copying linux.bin file..."
728 install -m 0644 ${B}/linux.bin $deployDir/fitImage-linux.bin-${KERNEL_FIT_NAME}.bin 730 install -m 0644 ${B}/linux.bin $deployDir/fitImage-linux.bin-${KERNEL_FIT_NAME}${KERNEL_FIT_BIN_EXT}
729 ln -snf fitImage-linux.bin-${KERNEL_FIT_NAME}.bin "$deployDir/fitImage-linux.bin-${KERNEL_FIT_LINK_NAME}" 731 if [ -n "${KERNEL_FIT_LINK_NAME}" ] ; then
732 ln -snf fitImage-linux.bin-${KERNEL_FIT_NAME}${KERNEL_FIT_BIN_EXT} "$deployDir/fitImage-linux.bin-${KERNEL_FIT_LINK_NAME}"
733 fi
730 fi 734 fi
731 735
732 if [ -n "${INITRAMFS_IMAGE}" ]; then 736 if [ -n "${INITRAMFS_IMAGE}" ]; then
733 echo "Copying fit-image-${INITRAMFS_IMAGE}.its source file..." 737 echo "Copying fit-image-${INITRAMFS_IMAGE}.its source file..."
734 install -m 0644 ${B}/fit-image-${INITRAMFS_IMAGE}.its "$deployDir/fitImage-its-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_NAME}.its" 738 install -m 0644 ${B}/fit-image-${INITRAMFS_IMAGE}.its "$deployDir/fitImage-its-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_NAME}.its"
735 ln -snf fitImage-its-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_NAME}.its "$deployDir/fitImage-its-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_LINK_NAME}" 739 if [ -n "${KERNEL_FIT_LINK_NAME}" ] ; then
740 ln -snf fitImage-its-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_NAME}.its "$deployDir/fitImage-its-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_LINK_NAME}"
741 fi
736 742
737 if [ "${INITRAMFS_IMAGE_BUNDLE}" != "1" ]; then 743 if [ "${INITRAMFS_IMAGE_BUNDLE}" != "1" ]; then
738 echo "Copying fitImage-${INITRAMFS_IMAGE} file..." 744 echo "Copying fitImage-${INITRAMFS_IMAGE} file..."
739 install -m 0644 ${B}/arch/${ARCH}/boot/fitImage-${INITRAMFS_IMAGE} "$deployDir/fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_NAME}.bin" 745 install -m 0644 ${B}/arch/${ARCH}/boot/fitImage-${INITRAMFS_IMAGE} "$deployDir/fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_NAME}${KERNEL_FIT_BIN_EXT}"
740 ln -snf fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_NAME}.bin "$deployDir/fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_LINK_NAME}" 746 if [ -n "${KERNEL_FIT_LINK_NAME}" ] ; then
747 ln -snf fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_NAME}${KERNEL_FIT_BIN_EXT} "$deployDir/fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_LINK_NAME}"
748 fi
741 fi 749 fi
742 fi 750 fi
743 fi 751 fi
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 7b3c6be..880ee61 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -5,7 +5,7 @@ COMPATIBLE_HOST = ".*-linux"
5KERNEL_PACKAGE_NAME ??= "kernel" 5KERNEL_PACKAGE_NAME ??= "kernel"
6KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }" 6KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }"
7 7
8PROVIDES += "${@ "virtual/kernel" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else "" }" 8PROVIDES += "virtual/kernel"
9DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native bc-native bison-native" 9DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native bc-native bison-native"
10DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lzo", "lzop-native", "", d)}" 10DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lzo", "lzop-native", "", d)}"
11DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", "lz4-native", "", d)}" 11DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", "lz4-native", "", d)}"
@@ -30,6 +30,8 @@ INITRAMFS_IMAGE ?= ""
30INITRAMFS_IMAGE_NAME ?= "${@['${INITRAMFS_IMAGE}-${MACHINE}', ''][d.getVar('INITRAMFS_IMAGE') == '']}" 30INITRAMFS_IMAGE_NAME ?= "${@['${INITRAMFS_IMAGE}-${MACHINE}', ''][d.getVar('INITRAMFS_IMAGE') == '']}"
31INITRAMFS_TASK ?= "" 31INITRAMFS_TASK ?= ""
32INITRAMFS_IMAGE_BUNDLE ?= "" 32INITRAMFS_IMAGE_BUNDLE ?= ""
33INITRAMFS_DEPLOY_DIR_IMAGE ?= "${DEPLOY_DIR_IMAGE}"
34INITRAMFS_MULTICONFIG ?= ""
33 35
34# KERNEL_VERSION is extracted from source code. It is evaluated as 36# KERNEL_VERSION is extracted from source code. It is evaluated as
35# None for the first parsing, since the code has not been fetched. 37# None for the first parsing, since the code has not been fetched.
@@ -77,7 +79,7 @@ python __anonymous () {
77 # KERNEL_IMAGETYPES may contain a mixture of image types supported directly 79 # KERNEL_IMAGETYPES may contain a mixture of image types supported directly
78 # by the kernel build system and types which are created by post-processing 80 # by the kernel build system and types which are created by post-processing
79 # the output of the kernel build system (e.g. compressing vmlinux -> 81 # the output of the kernel build system (e.g. compressing vmlinux ->
80 # vmlinux.gz in kernel_do_compile()). 82 # vmlinux.gz in kernel_do_transform_kernel()).
81 # KERNEL_IMAGETYPE_FOR_MAKE should contain only image types supported 83 # KERNEL_IMAGETYPE_FOR_MAKE should contain only image types supported
82 # directly by the kernel build system. 84 # directly by the kernel build system.
83 if not d.getVar('KERNEL_IMAGETYPE_FOR_MAKE'): 85 if not d.getVar('KERNEL_IMAGETYPE_FOR_MAKE'):
@@ -133,7 +135,12 @@ set -e
133 # the do_bundle_initramfs does nothing, but the INITRAMFS_IMAGE is built 135 # the do_bundle_initramfs does nothing, but the INITRAMFS_IMAGE is built
134 # standalone for use by wic and other tools. 136 # standalone for use by wic and other tools.
135 if image: 137 if image:
136 d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') 138 if d.getVar('INITRAMFS_MULTICONFIG'):
139 d.appendVarFlag('do_bundle_initramfs', 'mcdepends', ' mc::${INITRAMFS_MULTICONFIG}:${INITRAMFS_IMAGE}:do_image_complete')
140 else:
141 d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
142 if image and bb.utils.to_boolean(d.getVar('INITRAMFS_IMAGE_BUNDLE')):
143 bb.build.addtask('do_transform_bundled_initramfs', 'do_deploy', 'do_bundle_initramfs', d)
137 144
138 # NOTE: setting INITRAMFS_TASK is for backward compatibility 145 # NOTE: setting INITRAMFS_TASK is for backward compatibility
139 # The preferred method is to set INITRAMFS_IMAGE, because 146 # The preferred method is to set INITRAMFS_IMAGE, because
@@ -238,8 +245,8 @@ copy_initramfs() {
238 # Find and use the first initramfs image archive type we find 245 # Find and use the first initramfs image archive type we find
239 rm -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio 246 rm -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
240 for img in cpio cpio.gz cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst; do 247 for img in cpio cpio.gz cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst; do
241 if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img" ]; then 248 if [ -e "${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img" ]; then
242 cp ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img ${B}/usr/. 249 cp ${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img ${B}/usr/.
243 case $img in 250 case $img in
244 *gz) 251 *gz)
245 echo "gzip decompressing image" 252 echo "gzip decompressing image"
@@ -276,7 +283,7 @@ copy_initramfs() {
276 fi 283 fi
277 done 284 done
278 # Verify that the above loop found a initramfs, fail otherwise 285 # Verify that the above loop found a initramfs, fail otherwise
279 [ -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio ] && echo "Finished copy of initramfs into ./usr" || die "Could not find any ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio{.gz|.lz4|.lzo|.lzma|.xz|.zst) for bundling; INITRAMFS_IMAGE_NAME might be wrong." 286 [ -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio ] && echo "Finished copy of initramfs into ./usr" || die "Could not find any ${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio{.gz|.lz4|.lzo|.lzma|.xz|.zst) for bundling; INITRAMFS_IMAGE_NAME might be wrong."
280} 287}
281 288
282do_bundle_initramfs () { 289do_bundle_initramfs () {
@@ -316,6 +323,14 @@ do_bundle_initramfs () {
316} 323}
317do_bundle_initramfs[dirs] = "${B}" 324do_bundle_initramfs[dirs] = "${B}"
318 325
326kernel_do_transform_bundled_initramfs() {
327 # vmlinux.gz is not built by kernel
328 if (echo "${KERNEL_IMAGETYPES}" | grep -wq "vmlinux\.gz"); then
329 gzip -9cn < ${KERNEL_OUTPUT_DIR}/vmlinux.initramfs > ${KERNEL_OUTPUT_DIR}/vmlinux.gz.initramfs
330 fi
331}
332do_transform_bundled_initramfs[dirs] = "${B}"
333
319python do_devshell:prepend () { 334python do_devshell:prepend () {
320 os.environ["LDFLAGS"] = '' 335 os.environ["LDFLAGS"] = ''
321} 336}
@@ -326,6 +341,13 @@ KERNEL_DEBUG_TIMESTAMPS ??= "0"
326 341
327kernel_do_compile() { 342kernel_do_compile() {
328 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE 343 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
344
345 # setup native pkg-config variables (kconfig scripts call pkg-config directly, cannot generically be overriden to pkg-config-native)
346 export PKG_CONFIG_DIR="${STAGING_DIR_NATIVE}${libdir_native}/pkgconfig"
347 export PKG_CONFIG_PATH="$PKG_CONFIG_DIR:${STAGING_DATADIR_NATIVE}/pkgconfig"
348 export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR"
349 export PKG_CONFIG_SYSROOT_DIR=""
350
329 if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then 351 if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then
330 # kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not 352 # kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not
331 # be set.... 353 # be set....
@@ -357,12 +379,17 @@ kernel_do_compile() {
357 for typeformake in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do 379 for typeformake in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do
358 oe_runmake ${typeformake} CC="${KERNEL_CC}" LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} $use_alternate_initrd 380 oe_runmake ${typeformake} CC="${KERNEL_CC}" LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} $use_alternate_initrd
359 done 381 done
382}
383
384kernel_do_transform_kernel() {
360 # vmlinux.gz is not built by kernel 385 # vmlinux.gz is not built by kernel
361 if (echo "${KERNEL_IMAGETYPES}" | grep -wq "vmlinux\.gz"); then 386 if (echo "${KERNEL_IMAGETYPES}" | grep -wq "vmlinux\.gz"); then
362 mkdir -p "${KERNEL_OUTPUT_DIR}" 387 mkdir -p "${KERNEL_OUTPUT_DIR}"
363 gzip -9cn < ${B}/vmlinux > "${KERNEL_OUTPUT_DIR}/vmlinux.gz" 388 gzip -9cn < ${B}/vmlinux > "${KERNEL_OUTPUT_DIR}/vmlinux.gz"
364 fi 389 fi
365} 390}
391do_transform_kernel[dirs] = "${B}"
392addtask transform_kernel after do_compile before do_install
366 393
367do_compile_kernelmodules() { 394do_compile_kernelmodules() {
368 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE 395 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
@@ -614,11 +641,11 @@ inherit cml1
614 641
615KCONFIG_CONFIG_COMMAND:append = " LD='${KERNEL_LD}' HOSTLDFLAGS='${BUILD_LDFLAGS}'" 642KCONFIG_CONFIG_COMMAND:append = " LD='${KERNEL_LD}' HOSTLDFLAGS='${BUILD_LDFLAGS}'"
616 643
617EXPORT_FUNCTIONS do_compile do_install do_configure 644EXPORT_FUNCTIONS do_compile do_transform_kernel do_transform_bundled_initramfs do_install do_configure
618 645
619# kernel-base becomes kernel-${KERNEL_VERSION} 646# kernel-base becomes kernel-${KERNEL_VERSION}
620# kernel-image becomes kernel-image-${KERNEL_VERSION} 647# kernel-image becomes kernel-image-${KERNEL_VERSION}
621PACKAGES = "${KERNEL_PACKAGE_NAME} ${KERNEL_PACKAGE_NAME}-base ${KERNEL_PACKAGE_NAME}-vmlinux ${KERNEL_PACKAGE_NAME}-image ${KERNEL_PACKAGE_NAME}-dev ${KERNEL_PACKAGE_NAME}-modules" 648PACKAGES = "${KERNEL_PACKAGE_NAME} ${KERNEL_PACKAGE_NAME}-base ${KERNEL_PACKAGE_NAME}-vmlinux ${KERNEL_PACKAGE_NAME}-image ${KERNEL_PACKAGE_NAME}-dev ${KERNEL_PACKAGE_NAME}-modules ${KERNEL_PACKAGE_NAME}-dbg"
622FILES:${PN} = "" 649FILES:${PN} = ""
623FILES:${KERNEL_PACKAGE_NAME}-base = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.order ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin.modinfo" 650FILES:${KERNEL_PACKAGE_NAME}-base = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.order ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin.modinfo"
624FILES:${KERNEL_PACKAGE_NAME}-image = "" 651FILES:${KERNEL_PACKAGE_NAME}-image = ""
@@ -678,30 +705,19 @@ do_kernel_link_images() {
678} 705}
679addtask kernel_link_images after do_compile before do_strip 706addtask kernel_link_images after do_compile before do_strip
680 707
681do_strip() { 708python do_strip() {
682 if [ -n "${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}" ]; then 709 import shutil
683 if ! (echo "${KERNEL_IMAGETYPES}" | grep -wq "vmlinux"); then
684 bbwarn "image type(s) will not be stripped (not supported): ${KERNEL_IMAGETYPES}"
685 return
686 fi
687 710
688 cd ${B} 711 strip = d.getVar('STRIP')
689 headers=`"$CROSS_COMPILE"readelf -S ${KERNEL_OUTPUT_DIR}/vmlinux | \ 712 extra_sections = d.getVar('KERNEL_IMAGE_STRIP_EXTRA_SECTIONS')
690 grep "^ \{1,\}\[[0-9 ]\{1,\}\] [^ ]" | \ 713 kernel_image = d.getVar('B') + "/" + d.getVar('KERNEL_OUTPUT_DIR') + "/vmlinux"
691 sed "s/^ \{1,\}\[[0-9 ]\{1,\}\] //" | \
692 gawk '{print $1}'`
693
694 for str in ${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}; do {
695 if ! (echo "$headers" | grep -q "^$str$"); then
696 bbwarn "Section not found: $str";
697 fi
698 714
699 "$CROSS_COMPILE"strip -s -R $str ${KERNEL_OUTPUT_DIR}/vmlinux 715 if (extra_sections and kernel_image.find('boot/vmlinux') != -1):
700 }; done 716 kernel_image_stripped = kernel_image + ".stripped"
701 717 shutil.copy2(kernel_image, kernel_image_stripped)
702 bbnote "KERNEL_IMAGE_STRIP_EXTRA_SECTIONS is set, stripping sections:" \ 718 oe.package.runstrip((kernel_image_stripped, 8, strip, extra_sections))
703 "${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}" 719 bb.debug(1, "KERNEL_IMAGE_STRIP_EXTRA_SECTIONS is set, stripping sections: " + \
704 fi; 720 extra_sections)
705} 721}
706do_strip[dirs] = "${B}" 722do_strip[dirs] = "${B}"
707 723
@@ -746,9 +762,18 @@ kernel_do_deploy() {
746 762
747 for imageType in ${KERNEL_IMAGETYPES} ; do 763 for imageType in ${KERNEL_IMAGETYPES} ; do
748 baseName=$imageType-${KERNEL_IMAGE_NAME} 764 baseName=$imageType-${KERNEL_IMAGE_NAME}
749 install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType $deployDir/$baseName.bin 765
750 ln -sf $baseName.bin $deployDir/$imageType-${KERNEL_IMAGE_LINK_NAME}.bin 766 if [ -s ${KERNEL_OUTPUT_DIR}/$imageType.stripped ] ; then
751 ln -sf $baseName.bin $deployDir/$imageType 767 install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType.stripped $deployDir/$baseName${KERNEL_IMAGE_BIN_EXT}
768 else
769 install -m 0644 ${KERNEL_OUTPUT_DIR}/$imageType $deployDir/$baseName${KERNEL_IMAGE_BIN_EXT}
770 fi
771 if [ -n "${KERNEL_IMAGE_LINK_NAME}" ] ; then
772 ln -sf $baseName${KERNEL_IMAGE_BIN_EXT} $deployDir/$imageType-${KERNEL_IMAGE_LINK_NAME}${KERNEL_IMAGE_BIN_EXT}
773 fi
774 if [ "${KERNEL_IMAGETYPE_SYMLINK}" = "1" ] ; then
775 ln -sf $baseName${KERNEL_IMAGE_BIN_EXT} $deployDir/$imageType
776 fi
752 done 777 done
753 778
754 if [ ${MODULE_TARBALL_DEPLOY} = "1" ] && (grep -q -i -e '^CONFIG_MODULES=y$' .config); then 779 if [ ${MODULE_TARBALL_DEPLOY} = "1" ] && (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
@@ -761,17 +786,21 @@ kernel_do_deploy() {
761 TAR_ARGS="$TAR_ARGS --owner=0 --group=0" 786 TAR_ARGS="$TAR_ARGS --owner=0 --group=0"
762 tar $TAR_ARGS -cv -C ${D}${root_prefix} lib | gzip -9n > $deployDir/modules-${MODULE_TARBALL_NAME}.tgz 787 tar $TAR_ARGS -cv -C ${D}${root_prefix} lib | gzip -9n > $deployDir/modules-${MODULE_TARBALL_NAME}.tgz
763 788
764 ln -sf modules-${MODULE_TARBALL_NAME}.tgz $deployDir/modules-${MODULE_TARBALL_LINK_NAME}.tgz 789 if [ -n "${MODULE_TARBALL_LINK_NAME}" ] ; then
790 ln -sf modules-${MODULE_TARBALL_NAME}.tgz $deployDir/modules-${MODULE_TARBALL_LINK_NAME}.tgz
791 fi
765 fi 792 fi
766 793
767 if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then 794 if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then
768 for imageType in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do 795 for imageType in ${KERNEL_IMAGETYPES} ; do
769 if [ "$imageType" = "fitImage" ] ; then 796 if [ "$imageType" = "fitImage" ] ; then
770 continue 797 continue
771 fi 798 fi
772 initramfsBaseName=$imageType-${INITRAMFS_NAME} 799 initramf