summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJinfeng Wang <jinfeng.wang.cn@windriver.com>2025-07-03 08:10:15 +0800
committerArmin Kuster <akuster808@gmail.com>2025-07-06 19:23:22 -0400
commit6b9b9658e67e14b20cee33572f5dac0ec02e5496 (patch)
treee5820cedfd34db9dc8aba0f09198ecae1f20fab2
parentd44ba8e991aa8da4fcc82ad62064ea022a5a2d44 (diff)
downloadmeta-openembedded-6b9b9658e67e14b20cee33572f5dac0ec02e5496.tar.gz
postfix: fix rootfs file difference
Rootfs file differs with the same project configure, add preliminary setting to avoid this. Signed-off-by: Jinfeng Wang <jinfeng.wang.cn@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-networking/recipes-daemons/postfix/files/0006-postfix-add-preliminary-setting.patch31
-rw-r--r--meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb1
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/postfix/files/0006-postfix-add-preliminary-setting.patch b/meta-networking/recipes-daemons/postfix/files/0006-postfix-add-preliminary-setting.patch
new file mode 100644
index 0000000000..62b3cf0c05
--- /dev/null
+++ b/meta-networking/recipes-daemons/postfix/files/0006-postfix-add-preliminary-setting.patch
@@ -0,0 +1,31 @@
1From a5863e19d298789328e11057c469636aa8775847 Mon Sep 17 00:00:00 2001
2From: Jinfeng Wang <jinfeng.wang.cn@windriver.com>
3Date: Wed, 2 Jul 2025 10:55:53 +0800
4Subject: [PATCH] postfix: add preliminary setting
5
6post-install call postconf commands to modify main.cf. When multiple
7parameters to postconf, the order of those parameters in main.cf is random.
8Then it will reproduce random results in rootfs file(sample-main.cf). To
9fix this, add preliminary setting in main.cf.
10
11Upstream-Status: Inappropriate [this is the use of post-install,
12upstream is not affected]
13
14Signed-off-by: Jinfeng Wang <jinfeng.wang.cn@windriver.com>
15---
16 conf/main.cf | 2 ++
17 1 file changed, 2 insertions(+)
18
19diff --git a/conf/main.cf b/conf/main.cf
20index 1d2c8c2..50398ba 100644
21--- a/conf/main.cf
22+++ b/conf/main.cf
23@@ -683,3 +683,5 @@ sample_directory =
24 #
25 readme_directory =
26 inet_protocols = ipv4
27+shlib_directory =
28+meta_directory =
29--
302.34.1
31
diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb b/meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb
index 89502d5044..06e56f0f96 100644
--- a/meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb
+++ b/meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb
@@ -26,6 +26,7 @@ SRC_URI = "http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${P
26 file://0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ 26 file://0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch \
27 file://0004-Fix-icu-config.patch \ 27 file://0004-Fix-icu-config.patch \
28 file://0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ 28 file://0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \
29 file://0006-postfix-add-preliminary-setting.patch \
29 " 30 "
30 31
31SRC_URI[sha256sum] = "75868db7a8ed252cd3a14c13a3ce383ddd42563160c02027d061202ee36799bf" 32SRC_URI[sha256sum] = "75868db7a8ed252cd3a14c13a3ce383ddd42563160c02027d061202ee36799bf"