diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-01-11 22:04:53 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-16 23:08:23 +0000 |
commit | ca6cb22715113c1ba8b88a652cd8aa343305b3bf (patch) | |
tree | 58e4feee5961dd909ef1c64ee98fb4909063237b /meta/recipes-connectivity/portmap/portmap_6.0.bb | |
parent | 8d8e035daa1d420f8aa8525b81bed4dd5719d290 (diff) | |
download | ast2050-yocto-poky-ca6cb22715113c1ba8b88a652cd8aa343305b3bf.zip ast2050-yocto-poky-ca6cb22715113c1ba8b88a652cd8aa343305b3bf.tar.gz |
portmap: remove obsolete lines
* The SRC_URI and S in portmap.inc was for portmap 5, but we don't have
it any more.
* Remove DEPENDS = "virtual/fakeroot-native" and fakeroot before
do_install.
* Remove sbindir = "/sbin" and use "${base_sbindir}" in FILES.
* Move patches from dir portmap-6.0 to portmap.
(From OE-Core rev: b341066d625d5ff7980a4bdffb338fc83940502b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/portmap/portmap_6.0.bb')
-rw-r--r-- | meta/recipes-connectivity/portmap/portmap_6.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/portmap/portmap_6.0.bb b/meta/recipes-connectivity/portmap/portmap_6.0.bb index 8b65a03..e727fe3 100644 --- a/meta/recipes-connectivity/portmap/portmap_6.0.bb +++ b/meta/recipes-connectivity/portmap/portmap_6.0.bb @@ -20,7 +20,7 @@ CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS" CFLAGS += "-Wall -Wstrict-prototypes -fPIC" EXTRA_OEMAKE += "'NO_TCP_WRAPPER=${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', '', '1', d)}'" -fakeroot do_install() { +do_install() { install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap oe_runmake install DESTDIR=${D} |