From: Stefan Schmidt <stefan@datenfreihafen.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 3/5] wpa-supplicant-0.7.3: install only required files for dbus support
Date: Fri, 11 Feb 2011 15:37:15 +0100 [thread overview]
Message-ID: <20110211143714.GI9652@excalibur.local> (raw)
In-Reply-To: <1297429080-3986-3-git-send-email-obi@opendreambox.org>
Hello.
On Fri, 2011-02-11 at 12:57, Andreas Oberritter wrote:
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> ---
> recipes/wpa-supplicant/wpa-supplicant-0.7.inc | 18 +++++++++++++-----
> 1 files changed, 13 insertions(+), 5 deletions(-)
>
> diff --git a/recipes/wpa-supplicant/wpa-supplicant-0.7.inc b/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
> index b56d37c..ca7751c 100644
> --- a/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
> +++ b/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
> @@ -58,11 +58,19 @@ do_install () {
> cd ${D}${sysconfdir}/network/ && \
> ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant
>
> - install -d ${D}/${sysconfdir}/dbus-1/system.d
> - install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
> - install -d ${D}/${datadir}/dbus-1/system-services
> - sed -i -e s:${base_sbindir}:${sbindir}:g ${S}/dbus/*.service
> - install -m 644 ${S}/dbus/*.service ${D}/${datadir}/dbus-1/system-services
> + if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config || grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then
> + install -d ${D}/${sysconfdir}/dbus-1/system.d
> + install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
> + install -d ${D}/${datadir}/dbus-1/system-services
> + if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config; then
> + sed -i -e s:/sbin:${sbindir}:g ${S}/dbus/fi.epitest.hostap.WPASupplicant.service
> + install -m 644 ${S}/dbus/fi.epitest.hostap.WPASupplicant.service ${D}/${datadir}/dbus-1/system-services
> + fi
> + if grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then
> + sed -i -e s:/sbin:${sbindir}:g ${S}/dbus/fi.w1.wpa_supplicant1.service
> + install -m 644 ${S}/dbus/fi.w1.wpa_supplicant1.service ${D}/${datadir}/dbus-1/system-services
> + fi
> + fi
>
> install -d ${D}/etc/default/volatiles
> install -m 0644 ${WORKDIR}/99_wpa_supplicant ${D}/etc/default/volatiles
I like it. Even checking for different dbus config options before installing the
service files. Good work.
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
regards
Stefan Schmidt
next prev parent reply other threads:[~2011-02-11 14:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-11 12:57 [PATCH 1/5] wpa-supplicant-0.7.3: remove unused files Andreas Oberritter
2011-02-11 12:57 ` [PATCH 2/5] wpa-supplicant-0.7.3: rename defconfig-gnutls to defconfig Andreas Oberritter
2011-02-11 14:34 ` Stefan Schmidt
2011-02-11 12:57 ` [PATCH 3/5] wpa-supplicant-0.7.3: install only required files for dbus support Andreas Oberritter
2011-02-11 14:37 ` Stefan Schmidt [this message]
2011-02-11 12:57 ` [PATCH 4/5] wpa-supplicant-0.7.3: enable madwifi support Andreas Oberritter
2011-02-11 14:38 ` Stefan Schmidt
2011-02-11 12:58 ` [PATCH 5/5] wpa-supplicant-0.7.3: depend on openssl Andreas Oberritter
2011-02-11 14:41 ` Stefan Schmidt
2011-02-11 14:54 ` Andreas Oberritter
2011-02-11 15:18 ` Stefan Schmidt
2011-02-11 14:34 ` [PATCH 1/5] wpa-supplicant-0.7.3: remove unused files Stefan Schmidt
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=20110211143714.GI9652@excalibur.local \
--to=stefan@datenfreihafen.org \
--cc=openembedded-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.