samba: disable all optional modules, except auth_unix and pdb_tdbsam; install our...
[opendreambox.git] / meta-opendreambox / recipes-connectivity / samba / samba_%.bbappend
1 FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
2
3 SRC_URI += "file://smb.conf"
4
5 EXTRA_OECONF += "--without-ads --without-cluster-support --with-static-modules=!DEFAULT,!FORCED"
6
7 SAMBA4_LIBS = "NONE"
8 SAMBA4_MODULES = "!DEFAULT,!FORCED,auth_unix,pdb_tdbsam"
9
10 do_install_append() {
11     install -d ${D}${sysconfdir}/samba
12     install -m 0644 ${WORKDIR}/smb.conf ${D}${sysconfdir}/samba
13 }