From: Denys Dmytriyenko <denys@ti.com>
To: "Maupin, Chase" <chase.maupin@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>,
"Franklin S. Cooper Jr" <fcooper27jr@gmail.com>
Subject: Re: [meta-arago-distro][PATCH 2/2 v2] thttpd: Port arago changes
Date: Sat, 08 Sep 2012 13:30:19 -0400 [thread overview]
Message-ID: <20120908173019.GC23896@denix.org> (raw)
In-Reply-To: <7D46E86EC0A8354091174257B2FED101591DD84B@DLEE12.ent.ti.com>
On Sat, Sep 08, 2012 at 02:41:32PM +0000, Maupin, Chase wrote:
> You should split this into two patches.
>
> 1. The bbappend and init file
> 2. The addition to task-arago-console.
Well, this is not so critical. It's much better than v1 was. I would take it
in this form, unless you really want it to be changed...
Denys
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Franklin S. Cooper Jr
> > Sent: Friday, September 07, 2012 6:36 PM
> > To: meta-arago@arago-project.org
> > Cc: Franklin S. Cooper Jr
> > Subject: [meta-arago] [meta-arago-distro][PATCH 2/2 v2] thttpd:
> > Port arago changes
> >
> > * Port changes from arago.
> > * Set the port used to 8080
> >
> > Signed-off-by: Franklin S. Cooper Jr <fcooper27jr@gmail.com>
> > ---
> > .../recipes-core/tasks/task-arago-console.bb | 5 +-
> > .../recipes-extended/thttpd/thttpd/init | 47
> > ++++++++++++++++++++
> > .../recipes-extended/thttpd/thttpd_2.25b.bbappend | 4 ++
> > 3 files changed, 53 insertions(+), 3 deletions(-)
> > create mode 100644 meta-arago-distro/recipes-
> > extended/thttpd/thttpd/init
> > create mode 100644 meta-arago-distro/recipes-
> > extended/thttpd/thttpd_2.25b.bbappend
> >
> > diff --git a/meta-arago-distro/recipes-core/tasks/task-arago-
> > console.bb b/meta-arago-distro/recipes-core/tasks/task-arago-
> > console.bb
> > index db424c1..ecae770 100644
> > --- a/meta-arago-distro/recipes-core/tasks/task-arago-console.bb
> > +++ b/meta-arago-distro/recipes-core/tasks/task-arago-console.bb
> > @@ -1,7 +1,7 @@
> > DESCRIPTION = "Extended task to get more basic and console apps"
> > LICENSE = "MIT"
> > LIC_FILES_CHKSUM =
> > "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b
> > 4de20420"
> > -PR = "r0"
> > +PR = "r1"
> >
> > inherit task
> >
> > @@ -57,8 +57,7 @@ ARAGO_SDK_PREREQ = "\
> > jpeg \
> > jpeg-tools \
> > freetype \
> > - lighttpd \
> > - lighttpd-module-cgi \
> > + thttpd \
> > "
> >
> > ARAGO_CONSOLE = "\
> > diff --git a/meta-arago-distro/recipes-
> > extended/thttpd/thttpd/init b/meta-arago-distro/recipes-
> > extended/thttpd/thttpd/init
> > new file mode 100644
> > index 0000000..1cfaa65
> > --- /dev/null
> > +++ b/meta-arago-distro/recipes-extended/thttpd/thttpd/init
> > @@ -0,0 +1,47 @@
> > +#! /bin/sh
> > +#
> > +# This is an init script for openembedded
> > +# Copy it to /etc/init.d/thttpd and type
> > +# > update-rc.d thttpd defaults 60
> > +#
> > +
> > +
> > +thttpd=/usr/sbin/thttpd
> > +test -x "$thttpd" || exit 0
> > +
> > +
> > +case "$1" in
> > + start)
> > + echo -n "Starting thttpd"
> > + start-stop-daemon --start --quiet --exec $thttpd -- -d
> > @@SRVDIR -p 8080
> > + echo "."
> > + ;;
> > + stop)
> > + echo -n "Stopping thttpd"
> > + start-stop-daemon --stop --quiet --exec $thttpd
> > + echo "."
> > + ;;
> > + reload|force-reload)
> > + start-stop-daemon --stop --quiet --signal 1 --exec $thttpd
> > + ;;
> > + restart)
> > + echo -n "Stopping thttpd"
> > + start-stop-daemon --stop --quiet --exec $thttpd -- -d
> > @@SRVDIR -p 8080
> > + echo "."
> > + echo -n "Waiting for thttpd to die off"
> > + for i in 1 2 3 ;
> > + do
> > + sleep 1
> > + echo -n "."
> > + done
> > + echo ""
> > + echo -n "Starting thttpd"
> > + start-stop-daemon --start --quiet --exec $thttpd -- -d
> > @@SRVDIR -p 8080
> > + echo "."
> > + ;;
> > + *)
> > + echo "Usage: /etc/init.d/thttpd
> > {start|stop|reload|restart|force-reload}"
> > + exit 1
> > +esac
> > +
> > +exit 0
> > diff --git a/meta-arago-distro/recipes-
> > extended/thttpd/thttpd_2.25b.bbappend b/meta-arago-
> > distro/recipes-extended/thttpd/thttpd_2.25b.bbappend
> > new file mode 100644
> > index 0000000..c0ab069
> > --- /dev/null
> > +++ b/meta-arago-distro/recipes-
> > extended/thttpd/thttpd_2.25b.bbappend
> > @@ -0,0 +1,4 @@
> > +# look for files in this layer first
> > +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > +
> > +PR_append = "-arago0"
> > --
> > 1.7.0.4
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
next prev parent reply other threads:[~2012-09-08 17:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-07 23:36 [meta-arago-distro][PATCH 1/2 v2] thttpd: Adding thttpd Franklin S. Cooper Jr
2012-09-07 23:36 ` [meta-arago-distro][PATCH 2/2 v2] thttpd: Port arago changes Franklin S. Cooper Jr
2012-09-08 14:41 ` Maupin, Chase
2012-09-08 17:30 ` Denys Dmytriyenko [this message]
2012-09-08 17:39 ` Maupin, Chase
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=20120908173019.GC23896@denix.org \
--to=denys@ti.com \
--cc=chase.maupin@ti.com \
--cc=fcooper27jr@gmail.com \
--cc=meta-arago@arago-project.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.