[poky] [PATCH 2/7] task-poky-ssh-dropbear: new task recipe for dropbear ssh
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Mar 16 06:34:29 PDT 2011
On Wed, 2011-03-16 at 08:35 +0000, Garman, Scott A wrote:
> On 03/16/2011 01:13 AM, Koen Kooi wrote:
> >
> > Op 16 mrt 2011, om 00:12 heeft Scott Garman het volgende geschreven:
> >
> >> From: Scott Garman<scott.a.garman at intel.com>
> >>
> >> This task can be used when IMAGE_FEATURES is set to
> >> ssh-server-dropbear.
> >>
> >> Signed-off-by: Scott Garman<scott.a.garman at intel.com>
> >> ---
> >> meta/recipes-core/tasks/task-poky-ssh-dropbear.bb | 17 +++++++++++++++++
> >> 1 files changed, 17 insertions(+), 0 deletions(-)
> >> create mode 100644 meta/recipes-core/tasks/task-poky-ssh-dropbear.bb
> >>
> >> diff --git a/meta/recipes-core/tasks/task-poky-ssh-dropbear.bb b/meta/recipes-core/tasks/task-poky-ssh-dropbear.bb
> >> new file mode 100644
> >> index 0000000..870d2d9
> >> --- /dev/null
> >> +++ b/meta/recipes-core/tasks/task-poky-ssh-dropbear.bb
> >> @@ -0,0 +1,17 @@
> >> +DESCRIPTION = "Dropbear SSH task for Poky"
> >> +LICENSE = "MIT"
> >> +LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
> >> + file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> >> +PR = "r0"
> >> +
> >> +PACKAGES = "\
> >> + task-poky-ssh-dropbear \
> >> + task-poky-ssh-dropbear-dbg \
> >> + task-poky-ssh-dropbear-dev \
> >> + "
> >> +
> >> +ALLOW_EMPTY = "1"
> >> +
> >> +RDEPENDS_task-poky-ssh-dropbear = "dropbear"
> >> +RDEPENDS_task-poky-ssh-dropbear-dbg = "dropbear-dbg"
> >> +RDEPENDS_task-poky-ssh-dropbear-dev = "dropbear-dev"
> >
> > looks like a good candidate for 'inherit task'
>
> Thanks for the suggestion, Koen.
>
> Richard - a quick browse through Poky's tasks shows only one of them
> uses inherit task (task-base.bb). Is there any reason to avoid this that
> I'm not aware of? Otherwise, I'm happy to do a respin with inherit task.
No reason I can think of, we probably should do some cleanup in this
regard...
Cheers,
Richard
More information about the poky
mailing list