> -----Original Message-----
> From: [email protected] 
> <[email protected]> On Behalf Of Ming Liu
> Sent: den 5 oktober 2022 15:59
> To: [email protected]
> Cc: Ming Liu <[email protected]>
> Subject: [OE-core] [PATCH V2] bluez5: change configuration directory mode
> 
> From: Ming Liu <[email protected]>
> 
> Change configuration directory mode from 0755 to 0555, this fixes a
> following warning when bluetoothd starts:
> | ConfigurationDirectory 'bluetooth' already exists but the mode is different.
> | (File system: 755 ConfigurationDirectoryMode: 555)
> 
> Signed-off-by: Ming Liu <[email protected]>
> ---
>  meta/recipes-connectivity/bluez5/bluez5.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc 
> b/meta/recipes-connectivity/bluez5/bluez5.inc
> index 79d4645ca8..48b8bcbe75 100644
> --- a/meta/recipes-connectivity/bluez5/bluez5.inc
> +++ b/meta/recipes-connectivity/bluez5/bluez5.inc
> @@ -82,7 +82,7 @@ do_install:append() {
>       install -d ${D}${INIT_D_DIR}
>       install -m 0755 ${WORKDIR}/init ${D}${INIT_D_DIR}/bluetooth
> 
> -     install -d ${D}${sysconfdir}/bluetooth/
> +     install -m 0755 -d ${D}${sysconfdir}/bluetooth/

The default mode used by `install` if not specified is 0755. 
The above change should not make any difference...

>       if [ -f ${S}/profiles/network/network.conf ]; then
>               install -m 0644 ${S}/profiles/network/network.conf 
> ${D}/${sysconfdir}/bluetooth/
>       fi
> --
> 2.25.1

//Peter

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171463): 
https://lists.openembedded.org/g/openembedded-core/message/171463
Mute This Topic: https://lists.openembedded.org/mt/94135755/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to