package/samba4: create tempfile with systemd
commitc6b4a5fcc4a94d3182c11665ffa6e0531addf053
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 16 May 2016 11:52:30 +0000 (16 13:52 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 16 May 2016 19:25:42 +0000 (16 21:25 +0200)
tree953b666b180f04302dcc516e42bdd695ead8e848
parent5787cf2516a32b921314799a2e84ee5a3a3777c4
package/samba4: create tempfile with systemd

With systemd, samba4 will need some special temporary files to be
created on each boot, as explained in:
    packaging/systemd/README

Install the provided template file as configuration.

However, this is not enough, as even the log directory is a tmpfs in
the default Buildroot configuration, so we must also create the log
directory on each boot. Hence we append this to the template installed
above.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/samba4/samba4.mk