Hi,

On Fri, Sep 20, 2024 at 03:07:48PM +0530, Raghuvarya S via 
lists.openembedded.org wrote:
> To ensure android-tools-adbd.service starts at boot, the path
> for ConditionPathExists must be present at build time. /etc is
> more suitable for build-time files than /var, which is for
> runtime files. Changed ConditionPathExists from
> /var/usb-debugging-enabled to /etc/usb-debugging-enabled

I know this is a backport but I think change from /var to /etc is wrong.

/var and /run should be writable also with read-only rootfs. /etc is not 
writable.
This change requires read-only rootfs users to symlink 
/etc/usb-debugging-enabled
to some other location like /run which isn't nice.

Cheers,

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

Reply via email to