Skip to contentSkip to conversation

sample-main.cf -help needed

scarthgap Wang, Jinfeng (CN) 1 participant 1 message Jun 30, 2025

lore
Share & tools
lore
#0 lore raw

Hi all,

When I do the followings,

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

Thanks

Jinfeng