diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-08-23 11:33:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-24 17:32:57 +0100 |
commit | d36ecc389a3d1e2deafd606e734acd16ab0951b3 (patch) | |
tree | d18bff80ce143fb8b5d01577ad7e6686b5d1b7e5 | |
parent | d28245d92b73f2b4cc522e8fbf50ff61ebadf2d1 (diff) | |
download | poky-d36ecc389a3d1e2deafd606e734acd16ab0951b3.tar.gz |
iputils: chmod in pkg_postinst are redundant
With pseudo the cmod in pkg_postinst is actaully redundant since
the do_install uses install -m 4555 and pseudo is able to track that
between the install time and the rootfs package installation, so the
perms are correct.
[YOCTO #2894]
(From OE-Core rev: a2bc81032c85548f7c72dc76e6020ab4df9af6de)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/iputils/iputils_s20101006.bb | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/meta/recipes-extended/iputils/iputils_s20101006.bb b/meta/recipes-extended/iputils/iputils_s20101006.bb index 62e2b5e364..2c2766c77a 100644 --- a/meta/recipes-extended/iputils/iputils_s20101006.bb +++ b/meta/recipes-extended/iputils/iputils_s20101006.bb | |||
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://ping.c;beginline=1;endline=35;md5=f9ceb201733e9a6cf8f | |||
13 | 13 | ||
14 | DEPENDS = "openssl docbook-utils-native sgmlspl-native" | 14 | DEPENDS = "openssl docbook-utils-native sgmlspl-native" |
15 | 15 | ||
16 | PR = "r5" | 16 | PR = "r6" |
17 | 17 | ||
18 | SRC_URI = "http://www.skbuff.net/iputils/${BPN}-${PV}.tar.bz2 \ | 18 | SRC_URI = "http://www.skbuff.net/iputils/${BPN}-${PV}.tar.bz2 \ |
19 | file://debian/fix-dead-host-ping-stats.diff \ | 19 | file://debian/fix-dead-host-ping-stats.diff \ |
@@ -58,18 +58,6 @@ ALTERNATIVE_LINK_NAME[ping] = "${base_bindir}/ping" | |||
58 | ALTERNATIVE_${PN}-ping6 = "ping6" | 58 | ALTERNATIVE_${PN}-ping6 = "ping6" |
59 | ALTERNATIVE_LINK_NAME[ping6] = "${base_bindir}/ping6" | 59 | ALTERNATIVE_LINK_NAME[ping6] = "${base_bindir}/ping6" |
60 | 60 | ||
61 | pkg_postinst_${PN}-ping () { | ||
62 | chmod 4555 ${base_bindir}/ping | ||
63 | } | ||
64 | |||
65 | pkg_postinst_${PN}-ping6 () { | ||
66 | chmod 4555 ${base_bindir}/ping6 | ||
67 | } | ||
68 | |||
69 | pkg_postinst_${PN}-traceroute6 () { | ||
70 | chmod 4555 ${base_bindir}/traceroute6 | ||
71 | } | ||
72 | |||
73 | PACKAGES += "${PN}-ping ${PN}-ping6 ${PN}-arping ${PN}-tracepath ${PN}-tracepath6 ${PN}-traceroute6" | 61 | PACKAGES += "${PN}-ping ${PN}-ping6 ${PN}-arping ${PN}-tracepath ${PN}-tracepath6 ${PN}-traceroute6" |
74 | 62 | ||
75 | ALLOW_EMPTY_${PN} = "1" | 63 | ALLOW_EMPTY_${PN} = "1" |