mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 11:29:40 +01:00
allarch package adwaita-icon-theme inherit both allarch and gtk-icon-cache, since commit 31e3d34c8a9c3e8481aa837aa0bf52adf095fe62 [gtk-icon-cache.bbclass: add runtime dependency], it start depend on non-allarch packages gdk-pixbuf and gtk+3, which make it's signature changes when machine changed. like for task do_prepare_recipe_sysroot: "Hash for dependent task gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_populate_sysroot changed from a72aba8432699c8ce4ca1f71833ef14a89ffde0ea4063e37b9d819fdb1e407f4 to 1ad4e1bd76921b71482657f3b017184e9ade8e2a0b9f43ad64ed2dda83b1520f" the only way to fix this is remove the task dependency. SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS not work in class, so add it in layer.conf. Maybe we have other recipes under other layers have similar problem, we can only add one by one to its layer.conf, seems not a good idea. but add *->pixbuf will influence other packages (From OE-Core rev: ec0888d73d7e7f811961f50f334c72fbc6b1d401) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
105 lines
3.1 KiB
Plaintext
105 lines
3.1 KiB
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
# We have recipes-* directories, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
|
|
|
|
BBFILE_COLLECTIONS += "core"
|
|
BBFILE_PATTERN_core = "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_core = "5"
|
|
|
|
LAYERSERIES_CORENAMES = "dunfell gatesgarth"
|
|
|
|
# This should only be incremented on significant changes that will
|
|
# cause compatibility issues with other layers
|
|
LAYERVERSION_core = "12"
|
|
LAYERSERIES_COMPAT_core = "gatesgarth"
|
|
|
|
BBLAYERS_LAYERINDEX_NAME_core = "openembedded-core"
|
|
|
|
# Set a variable to get to the top of the metadata location
|
|
COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}'
|
|
|
|
# opkg-utils is for update-alternatives :(
|
|
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
|
sysvinit-inittab \
|
|
busybox-inittab \
|
|
shadow-securetty \
|
|
opkg-arch-config \
|
|
netbase \
|
|
init-ifupdown \
|
|
connman-conf \
|
|
formfactor \
|
|
xserver-xf86-config \
|
|
pointercal-xinput \
|
|
base-files \
|
|
keymaps \
|
|
udev-extraconf \
|
|
packagegroup-x11-xserver \
|
|
systemd-serialgetty \
|
|
initscripts \
|
|
shadow \
|
|
shadow-sysroot \
|
|
base-passwd \
|
|
opkg-utils \
|
|
gstreamer1.0-meta-base \
|
|
ca-certificates \
|
|
shared-mime-info \
|
|
desktop-file-utils \
|
|
"
|
|
|
|
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
|
|
*->quilt-native \
|
|
*->subversion-native \
|
|
*->git-native \
|
|
*->icecc-create-env-native \
|
|
gcc-cross-${TARGET_ARCH}->linux-libc-headers \
|
|
ppp-dialin->ppp \
|
|
resolvconf->bash \
|
|
docbook-xsl-stylesheets->perl \
|
|
ca-certificates->openssl \
|
|
initramfs-framework->${VIRTUAL-RUNTIME_base-utils} \
|
|
initramfs-framework->eudev \
|
|
initramfs-framework->systemd \
|
|
initramfs-module-install-efi->dosfstools \
|
|
initramfs-module-install-efi->e2fsprogs \
|
|
initramfs-module-install-efi->parted \
|
|
initramfs-module-install-efi->util-linux \
|
|
initramfs-module-install->e2fsprogs \
|
|
initramfs-module-install->grub \
|
|
initramfs-module-install->parted \
|
|
initramfs-module-install->util-linux \
|
|
grub-efi->grub-bootconf \
|
|
liberation-fonts->fontconfig \
|
|
cantarell-fonts->fontconfig \
|
|
gnome-icon-theme->librsvg \
|
|
font-alias->font-util \
|
|
systemd-boot->systemd-bootconf \
|
|
systemd->systemd-conf \
|
|
weston->weston-init \
|
|
weston-init->weston \
|
|
weston-init->kbd \
|
|
connman->xl2tpd \
|
|
lttng-tools->lttng-modules \
|
|
adwaita-icon-theme->gdk-pixbuf \
|
|
adwaita-icon-theme->gtk+3 \
|
|
"
|
|
|
|
# Avoid adding bison-native to the sysroot without a specific
|
|
# dependency in the recipe. This means indirect dependencies
|
|
# (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the
|
|
# dependency incidentally. This improves determinism and avoids build
|
|
# failures when people switch to external toolchains.
|
|
SSTATE_EXCLUDEDEPS_SYSROOT += ".*->bison-native"
|
|
# Nothing needs to depend on libc-initial/gcc-cross-initial
|
|
# base-passwd/shadow-sysroot don't need their dependencies
|
|
SSTATE_EXCLUDEDEPS_SYSROOT += "\
|
|
.*->.*-initial.* \
|
|
.*(base-passwd|shadow-sysroot)->.* \
|
|
"
|
|
# Avoid adding autoconf-archive-native to sysroot without a specific
|
|
# dependency in the recipe.
|
|
SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native"
|
|
|
|
# We need to keep bitbake tools in PATH
|
|
PATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}"
|