summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-08-23 11:33:18 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-24 17:32:57 +0100
commitd36ecc389a3d1e2deafd606e734acd16ab0951b3 (patch)
treed18bff80ce143fb8b5d01577ad7e6686b5d1b7e5
parentd28245d92b73f2b4cc522e8fbf50ff61ebadf2d1 (diff)
downloadpoky-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.bb14
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
14DEPENDS = "openssl docbook-utils-native sgmlspl-native" 14DEPENDS = "openssl docbook-utils-native sgmlspl-native"
15 15
16PR = "r5" 16PR = "r6"
17 17
18SRC_URI = "http://www.skbuff.net/iputils/${BPN}-${PV}.tar.bz2 \ 18SRC_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"
58ALTERNATIVE_${PN}-ping6 = "ping6" 58ALTERNATIVE_${PN}-ping6 = "ping6"
59ALTERNATIVE_LINK_NAME[ping6] = "${base_bindir}/ping6" 59ALTERNATIVE_LINK_NAME[ping6] = "${base_bindir}/ping6"
60 60
61pkg_postinst_${PN}-ping () {
62 chmod 4555 ${base_bindir}/ping
63}
64
65pkg_postinst_${PN}-ping6 () {
66 chmod 4555 ${base_bindir}/ping6
67}
68
69pkg_postinst_${PN}-traceroute6 () {
70 chmod 4555 ${base_bindir}/traceroute6
71}
72
73PACKAGES += "${PN}-ping ${PN}-ping6 ${PN}-arping ${PN}-tracepath ${PN}-tracepath6 ${PN}-traceroute6" 61PACKAGES += "${PN}-ping ${PN}-ping6 ${PN}-arping ${PN}-tracepath ${PN}-tracepath6 ${PN}-traceroute6"
74 62
75ALLOW_EMPTY_${PN} = "1" 63ALLOW_EMPTY_${PN} = "1"