[oe] [meta-oe][PATCH 1/3] kexec-tools-klibc: import from meta-zaurus layer
Martin Jansa
martin.jansa at gmail.com
Thu Aug 18 08:48:13 UTC 2011
On Thu, Aug 18, 2011 at 10:40:46AM +0200, Paul Menzel wrote:
> Dear Martin,
>
>
> Am Donnerstag, den 18.08.2011, 10:14 +0200 schrieb Martin Jansa:
> > Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
>
> please include the commit id as documented in the Commit Patch Message
> Guidelines [1].
OK, I'll add it, but meta-zaurus is just temporary layer so later it
will be removed completely.
> Why was is not included into meta-oe in the first place? Should it be
> included in oe-core right away?
It's easier to test it somewhere first and as zaurus layer was first to
use kexec-tools-klibc for linux-kexecboot then it was added to
meta-zaurus first and now after tests and cleanup, it's good enough to
be moved to meta-oe.
It cannot be moved to oe-core, because klibc was added few days ago only
to meta-oe.
>
> > ---
> > .../kexec/kexec-tools-klibc-2.0.2/elf.patch | 94 +++++++++++++++++++
> > .../kexec/kexec-tools-klibc-2.0.2/errno.patch | 13 +++
> > .../kexec/kexec-tools-klibc-2.0.2/other.patch | 97 ++++++++++++++++++++
> > .../kexec/kexec-tools-klibc-2.0.2/string.patch | 11 ++
> > .../kexec/kexec-tools-klibc-2.0.2/syscall.patch | 46 +++++++++
> > .../kexec/kexec-tools-klibc_2.0.2.bb | 27 ++++++
> > 6 files changed, 288 insertions(+), 0 deletions(-)
> > create mode 100644 meta-oe/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/elf.patch
> > create mode 100644 meta-oe/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/errno.patch
> > create mode 100644 meta-oe/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/other.patch
> > create mode 100644 meta-oe/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/string.patch
> > create mode 100644 meta-oe/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/syscall.patch
> > create mode 100644 meta-oe/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb
>
> […]
>
> > diff --git a/meta-oe/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb b/meta-oe/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb
> > new file mode 100644
> > index 0000000..e4f126e
> > --- /dev/null
> > +++ b/meta-oe/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb
> > @@ -0,0 +1,27 @@
> > +# the binaries are statically linked against klibc
> > +require recipes-kernel/kexec/kexec-tools.inc
> > +SRC_URI[md5sum] = "bc401cf3262b25ff7c9a51fc76c8ab91"
> > +SRC_URI[sha256sum] = "549ab65c18a2229b6bf21b6875ca6bbe0e579bca08c3543ce6aaf8287a0b4188"
> > +
> > +PR = "r6"
>
> Start with "r0" or will that cause problems for the meta-zaurus users?
I can reset it if we don't care about upgrade-path for meta-zaurus
users..
> > +inherit klibc
> > +
> > +FILESPATH =. "${FILE_DIRNAME}/kexec-tools-${PV}:"
> > +
> > +SRC_URI += "file://elf.patch \
> > + file://errno.patch \
> > + file://string.patch \
> > + file://syscall.patch \
> > + file://other.patch \
> > + "
> > +
> > +S = "${WORKDIR}/kexec-tools-${PV}"
> > +
> > +EXTRA_OECONF = " --without-zlib"
>
> Is `+=` needed? Either way the space could be removed in a fix up patch.
klibc.bbclass doesn't add anything to EXTRA_OECONF but you're right +=
can be usefull later when someone finds some option usefull for all
klibc builds (but I doubt that).
> > +
> > +PACKAGES =+ "kexec-klibc kdump-klibc"
> > +
> > +CFLAGS += "-I${STAGING_DIR_HOST}${base_libdir}/klibc/include -I${STAGING_DIR_HOST}${base_libdir}/klibc/include/bits32"
> > +
> > +FILES_kexec-klibc = "${sbindir}/kexec"
> > +FILES_kdump-klibc = "${sbindir}/kdump"
>
> Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
>
>
> Thanks,
Thanks for review!.
>
> Paul
>
>
> [1] http://wiki.openembedded.org/index.php/Commit_Patch_Message_Guidelines#Importing_from_Elsewhere
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110818/54166968/attachment-0002.sig>
More information about the Openembedded-devel
mailing list