diff options
author | ccsmart <ccsmart@smartpal.de> | 2005-08-04 17:25:08 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-04 17:25:08 +0000 |
commit | 5b511e5e7d437f2b897511c7d70232f1e60b5510 (patch) | |
tree | 67cd99b8a822b6d752a948b61e862d3f40700338 | |
parent | a0d8f8a00a89ea3d89c3939d1c578e218526347d (diff) |
Prefer populate over installer because of permissions being applied.
-rw-r--r-- | packages/postfix/postfix_2.0.20.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/postfix/postfix_2.0.20.bb b/packages/postfix/postfix_2.0.20.bb index 25a030f597..3344e05115 100644 --- a/packages/postfix/postfix_2.0.20.bb +++ b/packages/postfix/postfix_2.0.20.bb @@ -32,6 +32,7 @@ do_compile () { do_install () { sh ./postfix-install 'install_root=${D}' -non-interactive + rm -rf ${D}/var/spool/postfix mv ${D}${sysconfdir}/postfix/main.cf ${D}${sysconfdir}/postfix/sample-main.cf install -m 644 ${WORKDIR}/main.cf_2.0 ${D}${sysconfdir}/postfix/main.cf install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/01_postfix @@ -44,5 +45,6 @@ pkg_postinst () { grep vmail /etc/group || addgroup vmail grep postfix /etc/passwd || adduser --disabled-password --home=/var/spool/postfix --ingroup postfix postfix grep vmail /etc/passwd || adduser --disabled-password --home=/var/spool/vmail --ingroup vmail vmail + /etc/init.d/populate-volatile.sh } |