bluez5: adapt bbappend to 5.72
This is the version of the recipe provided by poky in Yocto 5.0 scarthgap. Aside from updating the verison number, explicitly create /etc/bluetooth directory during installation. The creation of this directory was removed from the recipe's base do_install() in poky (see poky commit 55692591227eaac2d50ab339eea87ddca395f6df), so we need to create it in our bbappend to be able to add files to it. https://onedigi.atlassian.net/browse/DEL-9011 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
99d488e2eb
commit
c20e722636
|
|
@ -57,8 +57,8 @@ FEATURE_PACKAGES_dey-wireless = "packagegroup-dey-wireless"
|
||||||
|
|
||||||
# Our layer only provides version 5.41, which we want to keep because
|
# Our layer only provides version 5.41, which we want to keep because
|
||||||
# it was used for Bluetooth certification. However by default the newer
|
# it was used for Bluetooth certification. However by default the newer
|
||||||
# 5.65 version should be used, which is provided by the poky layer.
|
# 5.72 version should be used, which is provided by the poky layer.
|
||||||
PREFERRED_VERSION_bluez5 ?= "5.65"
|
PREFERRED_VERSION_bluez5 ?= "5.72"
|
||||||
|
|
||||||
# There's a generic opencl-headers recipe in the thud branch of
|
# There's a generic opencl-headers recipe in the thud branch of
|
||||||
# meta-openembedded, but we should use the package provided by the imx-gpu-viv
|
# meta-openembedded, but we should use the package provided by the imx-gpu-viv
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (C) 2015-2023, Digi International Inc.
|
# Copyright (C) 2015-2024, Digi International Inc.
|
||||||
|
|
||||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:${THISDIR}/${BP}:"
|
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:${THISDIR}/${BP}:"
|
||||||
|
|
||||||
|
|
@ -28,6 +28,7 @@ SRC_URI:append:ccimx6sbc = " \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
|
install -d ${D}${sysconfdir}/bluetooth/
|
||||||
install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/bluetooth/
|
install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/bluetooth/
|
||||||
sed -i -e "s,##BT_DEVICE_NAME##,${BT_DEVICE_NAME},g" \
|
sed -i -e "s,##BT_DEVICE_NAME##,${BT_DEVICE_NAME},g" \
|
||||||
${D}${sysconfdir}/bluetooth/main.conf
|
${D}${sysconfdir}/bluetooth/main.conf
|
||||||
Loading…
Reference in New Issue