mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
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>
This commit is contained in:
committed by
Khem Raj
parent
a0e0e7c6c1
commit
9fd087d298
@@ -354,4 +354,10 @@ RDEPENDS:${PN}-test = "\
|
|||||||
${PN}-testsuite \
|
${PN}-testsuite \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
pkg_postinst:${PN}-common() {
|
||||||
|
if [ -z "$D" ] && [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then
|
||||||
|
${sysconfdir}/init.d/populate-volatile.sh update
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
ALLOW_EMPTY:${PN}-test = "1"
|
ALLOW_EMPTY:${PN}-test = "1"
|
||||||
|
|||||||
Reference in New Issue
Block a user