mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 03:46:56 +00:00
fcd7b67d9c
When updating FILES:${PN} based on an override you must use
FILES:${PN}:append:OVERRIDE as the syntax otherwise you will end up
replacing the contents of FILES:${PN} entirely. Update to use this
syntax correctly and then only add "${sysconfdir}/X11/xorg.conf.d/*"
Reported-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
17 lines
621 B
Plaintext
17 lines
621 B
Plaintext
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
|
|
|
SRC_URI:append:rpi = " \
|
|
file://xorg.conf.d/98-pitft.conf \
|
|
file://xorg.conf.d/99-calibration.conf \
|
|
"
|
|
do_install:append:rpi () {
|
|
PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
|
|
if [ "${PITFT}" = "1" ]; then
|
|
install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
|
|
install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
|
|
install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
|
|
fi
|
|
}
|
|
|
|
FILES:${PN}:append:rpi = " ${sysconfdir}/X11/xorg.conf.d/*"
|