[oe] tiny samba

Jim Sheldon jims at russound.com
Tue Nov 6 16:24:53 UTC 2007


I recently had the need for the same thing.  There is a samba-essentials 
recipe, but it appears to be broken in the upstream.

Bitbake will complain that it looks at source includes, but there is a 
fix in this bug:

http://bugs.openembedded.org/show_bug.cgi?id=2117

It also appears that the SRC_URI in samba-essential_3.0.20.bb needs to 
be fixed from

SRC_URI = "..."

to

SRC_URI += " ..."

The space is very important.

Also, bitbake complains that debug binaries are included in a non-debug 
package, so I added this:

FILES_${PN}-dbg = "${libdir}/charset/.debug \
                   ${libdir}/vfs/.debug"

This should get you a workingn tiny samba server in ~3MB.

If I get some time I'll submit a full patch via the bug tracker.

Patrick Fischer wrote:
> Hello OE.
> I would like to create an tiny samba server just to share files for a windows 
> clients.
> A full samba is overkill. (don't need LDAP, Usermanagment,....)
> 
> Is there a tiny samba bb or any idea how to create a mini smb server?
> 
> Best regards
> 
> Patrick Fischer
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 




More information about the Openembedded-devel mailing list