diff options
-rw-r--r-- | meta-networking/recipes-daemons/postfix/files/0006-postfix-add-preliminary-setting.patch | 31 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb | 1 |
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..50d0073262 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/0006-postfix-add-preliminary-setting.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From c09d377cd3b91c4c4360ebfab5be37f6296ff26a Mon Sep 17 00:00:00 2001 | ||
2 | From: Jinfeng Wang <jinfeng.wang.cn@windriver.com> | ||
3 | Date: Wed, 16 Jul 2025 02:54:28 +0000 | ||
4 | Subject: [PATCH] postfix: add preliminary setting | ||
5 | |||
6 | post-install call postconf commands to modify main.cf. When multiple | ||
7 | parameters to postconf, the order of those parameters in main.cf is random. | ||
8 | Then it will reproduce random results in rootfs file(sample-main.cf). To | ||
9 | fix this, add preliminary setting in main.cf. | ||
10 | |||
11 | Upstream-Status: Inappropriate [this is the use of post-install, | ||
12 | upstream is not affected] | ||
13 | |||
14 | Signed-off-by: Jinfeng Wang <jinfeng.wang.cn@windriver.com> | ||
15 | --- | ||
16 | conf/main.cf | 2 ++ | ||
17 | 1 file changed, 2 insertions(+) | ||
18 | |||
19 | diff --git a/conf/main.cf b/conf/main.cf | ||
20 | index 2ee7996..0c208e6 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 | -- | ||
30 | 2.31.3 | ||
31 | |||
diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb b/meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb index 3ec7f22ad3..b0ac51a9dd 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.8.6.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 | ||
31 | SRC_URI[sha256sum] = "4b6e17c826cc438cc3016a9c0a55ea7e77c6cbafba7dd57241d81b690b0e9774" | 32 | SRC_URI[sha256sum] = "4b6e17c826cc438cc3016a9c0a55ea7e77c6cbafba7dd57241d81b690b0e9774" |