[oe] [PATCH] [mete-networking]postfix: get rid of useless code

Bian Naimeng biannm at cn.fujitsu.com
Wed Mar 11 03:45:02 UTC 2015


We should set group of ${localstatedir}/lib/postfix to 'nogroup' not 'postfix',
actually it's done at the below, so remove this useless code.

Signed-off-by: Bian Naimeng <biannm at cn.fujitsu.com>
---
 meta-networking/recipes-daemons/postfix/postfix.inc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc
index 1136bd2..eb1c547 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -155,7 +155,6 @@ do_install () {
 
     install -m 770 -d ${D}${localstatedir}/spool/postfix
     chown postfix:postfix ${D}${localstatedir}/spool/postfix
-    chown postfix:postfix ${D}${localstatedir}/lib/postfix
 
     install -m 2755 -d ${D}${localstatedir}/spool/mail
     chown postfix:nogroup ${D}${localstatedir}/spool/mail
-- 
1.9.1




More information about the Openembedded-devel mailing list