Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tune adb related systemd services #51

Merged
merged 2 commits into from Jul 7, 2016

Conversation

Projects
None yet
2 participants
@spiiroin
Copy link
Contributor

spiiroin commented Jul 7, 2016

No description provided.

spiiroin added some commits Jul 7, 2016

[adb] Tune adbd-prepare and adbd service interdependencies. JB#35683
Make adbd require running of adbd-prepare service, so that the prepare
service is started even if just adbd service is requested.

Make abdd be part of adbd-prepare service, so that it will be always
stopped before the prepare service.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
[adb] Unconditionally unmount adb on adbd-prepare stop. Fixes JB#35683
When /usr/sbin/adbd-functionfs.sh mounts adb fs, for some reason two
mount points can appear on the mount list - one under /dev as expected
and another one at /opt/alien/dev - and single umount does not remove
both of them.

Add second umount command and do both from ExecStopPost rather than
ExecStop so that they will be executed unconditionally even if the
all commands in the start script are not successfully completed.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
@mkosola

This comment has been minimized.

Copy link
Contributor

mkosola commented Jul 7, 2016

LGTM

@mkosola mkosola merged commit 16c0312 into mer-hybris:master Jul 7, 2016

@spiiroin spiiroin deleted the spiiroin:jb35683_adb_services branch May 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.