Hi all,
When I do the followings, the postfix version is 3.8.6
1. mkdir project && cd project
2.git clone https://git.yoctoproject.org/poky
cd poky
git checkout scarthgap
cd ..
3 git clone origin https://git.openembedded.org/meta-openembedded
git checkout scarthgap
4 cd poky
source oe-init-build-env
vi conf/local.conf IMAGE_INSTALL:append = " postfix"
bitbake-layers add-layer ../meta-openembedded/meta-oe
bitbake-layers add-layer ../meta-openembedded/meta-python
bitbake-layers add-layer ../meta-openembedded/meta-networking
bitbake core-image-minimal
When I do the build (bitbake -ccleanall postfix && bitbake postfix)
more than one times, the contents of sample-main.cf in rootfs is
different sometimes.
The difference resides in the last two lines:
sometimes is:
meta_directory = /etc/postfix
shlib_directory = no
sometimes is:
shlib_directory = no
meta_directory = /etc/postfix
I found there is a call to postconf binary:
"$POSTCONF" -c $CONFIG_DIRECTORY -e \
"daemon_directory = $daemon_directory" \
"data_directory = $data_directory" \
"command_directory = $command_directory" \
"queue_directory = $queue_directory" \
"mail_owner = $mail_owner" \
"setgid_group = $setgid_group" \
"sendmail_path = $sendmail_path" \
"mailq_path = $mailq_path" \
"newaliases_path = $newaliases_path" \
"html_directory = $html_directory" \
"manpage_directory = $manpage_directory" \
"sample_directory = $sample_directory" \
"readme_directory = $readme_directory" \
"shlib_directory = $shlib_directory" \
"meta_directory = $meta_directory" \
|| exit 1
This modifies the CONFIG_DIRECTORY/main.cf file(main.cf is later moved
to sample-main.cf), it adds the above two lines, but the sequence are
not the same. Why ?
Regards,
Jinfeng
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org