diff options
| author | Chaitanya Vadrevu <chaitanya.vadrevu@emerson.com> | 2025-11-11 22:37:26 +1300 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2025-11-12 11:14:57 +0530 |
| commit | ffafc7575faff7d79da623e02f9cd7af7ee70015 (patch) | |
| tree | d27f3c83e6c6cafaf05af04ec20abb7226f40390 /meta-networking | |
| parent | 7632025d8a62eecd18dfa6c91d4e3f0bf2e7cbcd (diff) | |
| download | meta-openembedded-ffafc7575faff7d79da623e02f9cd7af7ee70015.tar.gz | |
samba: Run populate-volatile.sh update in postinst
samba-common installs a volatiles configuration file but had not been
calling populate-volatile.sh to apply the configuration. This causes
samba installation to fail on a running target due to missing
directories.
Call "populate-volatile.sh update" in samba-common's postinst which
creates the required directories and enables samba to work.
Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@emerson.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9fd087d29861383ef5b2261a97c220bd895c3142)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.19.9.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.19.9.bb b/meta-networking/recipes-connectivity/samba/samba_4.19.9.bb index 30b7ea5a1f..d50d9f5155 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.19.9.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.19.9.bb | |||
| @@ -353,4 +353,10 @@ RDEPENDS:${PN}-test = "\ | |||
| 353 | ${PN}-testsuite \ | 353 | ${PN}-testsuite \ |
| 354 | " | 354 | " |
| 355 | 355 | ||
| 356 | pkg_postinst:${PN}-common() { | ||
| 357 | if [ -z "$D" ] && [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then | ||
| 358 | ${sysconfdir}/init.d/populate-volatile.sh update | ||
| 359 | fi | ||
| 360 | } | ||
| 361 | |||
| 356 | ALLOW_EMPTY:${PN}-test = "1" | 362 | ALLOW_EMPTY:${PN}-test = "1" |
