25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
|
|
|
SRC_URI += "file://0020-logind.conf-Set-HandlePowerKey-to-ignore.patch \
|
|
file://0021-systemd-udevd.service.in-Set-MountFlags-as-shared-to.patch \
|
|
file://0001-socket-util-fix-getpeergroups-assert-fd-8080.patch \
|
|
"
|
|
|
|
#FIX-it: Workaround as missing ending slash in FIRMWARE_PATH [YOCIMX-2831]
|
|
EXTRA_OEMESON_remove = "-Dfirmware-path=${nonarch_base_libdir}/firmware "
|
|
EXTRA_OEMESON += "-Dfirmware-path=${nonarch_base_libdir}/firmware/ "
|
|
|
|
do_install_append () {
|
|
# Disable the assignment of the fixed network interface name
|
|
install -d ${D}${sysconfdir}/systemd/network
|
|
ln -s /dev/null ${D}${sysconfdir}/systemd/network/99-default.link
|
|
|
|
# Add special touchscreen rules
|
|
if [ -e ${D}${sysconfdir}/udev/rules.d/touchscreen.rules ]; then
|
|
cat <<EOF >>${D}${sysconfdir}/udev/rules.d/touchscreen.rules
|
|
# i.MX specific touchscreen rules
|
|
SUBSYSTEM=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", SYMLINK+="input/touchscreen0"
|
|
EOF
|
|
fi
|
|
}
|