From: Sylvain Lemieux <slemieux.tyco@gmail.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] busybox: setup "inetd" sub-package
Date: Fri, 17 Feb 2017 07:49:21 -0500 [thread overview]
Message-ID: <1487335761.9202.2.camel@gmail.com> (raw)
In-Reply-To: <bf27f4f0-f8b3-07a8-c65b-1dc563a7f6c3@mlbassoc.com>
Hi Gary,
On Fri, 2017-02-17 at 04:56 +0100, Gary Thomas wrote:
> On 2017-02-16 21:47, Sylvain Lemieux wrote:
> > From: Sylvain Lemieux <slemieux@tycoint.com>
> >
> > Setup "inetd" as a sub-package in "busybox" and
> > add the support to install "inetd" as a startup script.
> >
> > Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
> > ---
> > meta/recipes-core/busybox/busybox.inc | 8 +++++---
> > 1 file changed, 5 insertions(+), 3 deletions(-)
> >
> > diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
> > index 39c2eef082..a26fa08ca8 100644
> > --- a/meta/recipes-core/busybox/busybox.inc
> > +++ b/meta/recipes-core/busybox/busybox.inc
> > @@ -21,7 +21,7 @@ export EXTRA_LDFLAGS = "${LDFLAGS}"
> > # We don't want '-e MAKEFLAGS=' in EXTRA_OEMAKE
> > EXTRA_OEMAKE = "CC='${CC}' LD='${CCLD}' V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
> >
> > -PACKAGES =+ "${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev ${PN}-hwclock"
> > +PACKAGES =+ "${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev ${PN}-hwclock ${PN}-inetd"
> >
> > FILES_${PN}-httpd = "${sysconfdir}/init.d/busybox-httpd /srv/www"
> > FILES_${PN}-syslog = "${sysconfdir}/init.d/syslog* ${sysconfdir}/syslog-startup.conf* ${sysconfdir}/syslog.conf* ${systemd_unitdir}/system/syslog.service ${sysconfdir}/default/busybox-syslog"
> > @@ -29,8 +29,9 @@ FILES_${PN}-mdev = "${sysconfdir}/init.d/mdev ${sysconfdir}/mdev.conf ${sysconfd
> > FILES_${PN}-udhcpd = "${sysconfdir}/init.d/busybox-udhcpd"
> > FILES_${PN}-udhcpc = "${sysconfdir}/udhcpc.d ${datadir}/udhcpc"
> > FILES_${PN}-hwclock = "${sysconfdir}/init.d/hwclock.sh"
> > +FILES_${PN}-inetd = "${sysconfdir}/init.d/inetd.${BPN} ${sysconfdir}/inetd.conf"
> >
> > -INITSCRIPT_PACKAGES = "${PN}-httpd ${PN}-syslog ${PN}-udhcpd ${PN}-mdev ${PN}-hwclock"
> > +INITSCRIPT_PACKAGES = "${PN}-httpd ${PN}-syslog ${PN}-udhcpd ${PN}-mdev ${PN}-hwclock ${PN}-inetd"
> >
> > INITSCRIPT_NAME_${PN}-httpd = "busybox-httpd"
> > INITSCRIPT_NAME_${PN}-hwclock = "hwclock.sh"
> > @@ -38,6 +39,7 @@ INITSCRIPT_NAME_${PN}-mdev = "mdev"
> > INITSCRIPT_PARAMS_${PN}-mdev = "start 04 S ."
> > INITSCRIPT_NAME_${PN}-syslog = "syslog"
> > INITSCRIPT_NAME_${PN}-udhcpd = "busybox-udhcpd"
> > +INITSCRIPT_NAME_${PN}-inetd = "inetd.${BPN}"
> >
> > SYSTEMD_PACKAGES = "${PN}-syslog"
> > SYSTEMD_SERVICE_${PN}-syslog = "busybox-syslog.service"
> > @@ -45,7 +47,7 @@ SYSTEMD_SERVICE_${PN}-syslog = "busybox-syslog.service"
> > CONFFILES_${PN}-syslog = "${sysconfdir}/syslog-startup.conf.${BPN}"
> > CONFFILES_${PN}-mdev = "${sysconfdir}/mdev.conf"
> >
> > -RRECOMMENDS_${PN} = "${PN}-syslog ${PN}-udhcpc"
> > +RRECOMMENDS_${PN} = "${PN}-syslog ${PN}-udhcpc ${PN}-inetd"
> >
> > inherit cml1 systemd update-rc.d ptest
> >
> >
>
> Doesn't this patch conflict with your previous one adding the -cron sub-package?
>
Yes this patch will not apply on top of the previous one.
I sent them this way, because both patch are independent.
If you prefer, I can send a v2 as a series.
Regards,
Sylvain
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
prev parent reply other threads:[~2017-02-17 12:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-16 20:47 [PATCH] busybox: setup "inetd" sub-package Sylvain Lemieux
2017-02-17 3:56 ` Gary Thomas
2017-02-17 12:49 ` Sylvain Lemieux [this message]
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=1487335761.9202.2.camel@gmail.com \
--to=slemieux.tyco@gmail.com \
--cc=gary@mlbassoc.com \
--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