From: Joshua Lock <joshua.lock@collabora.co.uk>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v3 0/3] Clean up connman-conf
Date: Thu, 10 Dec 2015 09:01:40 +0000 [thread overview]
Message-ID: <cover.1449737824.git.joshua.lock@collabora.co.uk> (raw)
As reported in YP#8399[1] we currently hack the connman service to try and
execute a script which is only installed on qemu targets. This set of
patches changes the connman-conf recipe to install a oneshot systemd unit
that is called before ConnMan, removes the ExecStartPre and adds an override
to the RRECOMMENDS so that the connman-conf is only installed by default for
qemu machines.
SysV init based images are unaffected by this change, the existing mechanisms to check for the presence of the wired-setup script from the init script remain in place.
Since the earlier version of the series I've changed connman-conf to be an allarch package — as the series only adds connman-conf to RRECOMMENDS for qemu machines I don't think there's any reason to prevent people from choosing to install the generated packages if a pre-configured network would be useful.
Regards,
Joshua
The following changes since commit 7e8ff7b9d793b7be106415c3c80b687977217566:
bitbake: toaster: toasterui Add ParseStarted/ParseProgress events to mask (2015-12-09 09:03:35 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib joshuagl/connman
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=joshuagl/connman
Joshua Lock (3):
connman-conf: convert to systemd oneshot
connman: tidy up connman-conf usage
connman-conf: convert to an allarch package
meta/recipes-connectivity/connman/connman-conf.bb | 15 ++++++++++-----
.../connman/connman-conf/wired-connection.service | 10 ++++++++++
.../connman/connman-conf/{qemuall => }/wired-setup | 0
.../connman/connman-conf/{qemuall => }/wired.config | 0
meta/recipes-connectivity/connman/connman.inc | 5 -----
meta/recipes-connectivity/connman/connman_1.30.bb | 3 +--
6 files changed, 21 insertions(+), 12 deletions(-)
create mode 100644 meta/recipes-connectivity/connman/connman-conf/wired-connection.service
rename meta/recipes-connectivity/connman/connman-conf/{qemuall => }/wired-setup (100%)
rename meta/recipes-connectivity/connman/connman-conf/{qemuall => }/wired.config (100%)
--
2.5.0
next reply other threads:[~2015-12-10 9:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-10 9:01 Joshua Lock [this message]
2015-12-10 9:01 ` [PATCH v3 1/3] connman-conf: convert to systemd oneshot Joshua Lock
2015-12-10 9:01 ` [PATCH v3 2/3] connman: tidy up connman-conf usage Joshua Lock
2015-12-10 9:01 ` [PATCH v3 3/3] connman-conf: convert to an allarch package Joshua Lock
2015-12-10 9:30 ` Martin Jansa
2015-12-10 9:40 ` Joshua Lock
2015-12-10 10:44 ` Martin Jansa
2015-12-10 11:26 ` Joshua Lock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1449737824.git.joshua.lock@collabora.co.uk \
--to=joshua.lock@collabora.co.uk \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox