| Submitter | Michael Lippautz |
|---|---|
| Date | July 2, 2011, 12:21 p.m. |
| Message ID | <1487279e2c46654967623254841a293cb838279b.1309608953.git.michael.lippautz@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/6887/ |
| State | Superseded |
| Headers | show |
Comments
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@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
Patch
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" +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" + +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 \ +" + +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 {} \; +} + +SRC_URI[md5sum] = "d211a84f38987771a49ad1c0f144334a" +SRC_URI[sha256sum] = "2a3d4ba83c743b3f004533fdd52372cb7b22f5c1da2042d0a31bbcc2b54c0ea5"
Provides a stand-alone ssd that is extracted from dpkg of the corresponding version. Signed-off-by: Michael Lippautz <michael.lippautz@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