[oe] [meta-oe][PATCH 4/4] start-stop-daemon: Add initial version

Paul Menzel paulepanter at users.sourceforge.net
Sat Jul 2 12:54:18 UTC 2011


Am Samstag, den 02.07.2011, 14:21 +0200 schrieb Michael Lippautz:

	start-stop-daemon: Add version 1.16.0.2 (initial recipe)

> Provides a stand-alone ssd that is extracted from dpkg of the corresponding
> version.
> 
> Signed-off-by: Michael Lippautz <michael.lippautz at gmail.com>
> ---
>  .../start-stop-daemon_1.16.0.2.bb                  |   32 ++++++++++++++++++++
>  1 files changed, 32 insertions(+), 0 deletions(-)
>  create mode 100644 meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb
> 
> diff --git a/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb
> new file mode 100644
> index 0000000..5c2b92a
> --- /dev/null
> +++ b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb
> @@ -0,0 +1,32 @@
> +DESCRIPTION = "Debian's start-stop-daemon utility extracted from the dpkg \
> +packge"

package

> +LICENSE = "PD"
> +LIC_FILES_CHKSUM = "file://utils/start-stop-daemon.c;md5=a963623e4588f70122865aaa7a370ce4"
> +# start-stop-daemon is usually shipped by dpkg
> +RCONFLICS_${PN} = "dpkg" 
> +PR = "r0"
> +
> +SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2"

That will always be non-fetchable when the version is upgraded in
Debian, will not it? So another source should be chosen or it should be
ensured that the tarball is available on the OE mirrors.

> +
> +inherit autotools gettext
> +
> +S = "${WORKDIR}/dpkg-${PV}"
> +
> +EXTRA_OECONF = " \
> +  --with-start-stop-daemon \
> +  --without-bz2 \
> +  --without-deselect \
> +  --without-update-alternatives \
> +  --without-install-info \
> +  --without-selinux \
> +"

Sort alphabetically?

> +
> +do_install_append () {
> +  # remove everything that is not related to start-stop-daemon, since there
> +  # is no explicit rule for only installing ssd
> +  find ${D} -type f -not -name "*start-stop-daemon*" -exec rm {} \;
> +  find ${D} -depth -type d -empty -exec rmdir {} \;
> +}

File a request upstream for such an option?

> +
> +SRC_URI[md5sum] = "d211a84f38987771a49ad1c0f144334a"
> +SRC_URI[sha256sum] = "2a3d4ba83c743b3f004533fdd52372cb7b22f5c1da2042d0a31bbcc2b54c0ea5"

Please right below the first SRC_URI.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110702/86e04fc8/attachment-0002.sig>


More information about the Openembedded-devel mailing list