diff options
author | Chaitanya Vadrevu <chaitanya.vadrevu@emerson.com> | 2025-06-19 16:39:48 -0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-06-25 06:44:50 -0700 |
commit | 9fd087d29861383ef5b2261a97c220bd895c3142 (patch) | |
tree | 6f79e8d2c138a941393c0b6a9bcb66e04f7cd7c2 | |
parent | a0e0e7c6c10c2f96d72ad6258a2e800db3d8518c (diff) | |
download | meta-openembedded-9fd087d29861383ef5b2261a97c220bd895c3142.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>
-rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.19.8.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.19.8.bb b/meta-networking/recipes-connectivity/samba/samba_4.19.8.bb index 0ec0051c43..0213d131e5 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.19.8.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.19.8.bb | |||
@@ -354,4 +354,10 @@ RDEPENDS:${PN}-test = "\ | |||
354 | ${PN}-testsuite \ | 354 | ${PN}-testsuite \ |
355 | " | 355 | " |
356 | 356 | ||
357 | pkg_postinst:${PN}-common() { | ||
358 | if [ -z "$D" ] && [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then | ||
359 | ${sysconfdir}/init.d/populate-volatile.sh update | ||
360 | fi | ||
361 | } | ||
362 | |||
357 | ALLOW_EMPTY:${PN}-test = "1" | 363 | ALLOW_EMPTY:${PN}-test = "1" |