]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/asterisk/0006-install-samples-need-the-data-files.patch
a9560e82e081dd5719588431bc306bade4ea6509
[coffee/buildroot.git] / package / asterisk / 0006-install-samples-need-the-data-files.patch
1 From 05680ea9899c2246c23d11860c2c8e10aa8f80c7 Mon Sep 17 00:00:00 2001
2 From: "Yann E. MORIN" <yann.morin.1998@free.fr>
3 Date: Fri, 1 Dec 2017 11:08:16 +0100
4 Subject: [PATCH] install: samples need the data files
5
6 When installing samples, "sample voicemail" is generated from the
7 already-installed sound files.
8
9 However, when doing the install and the samples at the same time in a
10 parallel install, it is possible that the sound files are not already
11 installed at the time we try to generate the voicemail data.
12
13 Ensure the needed dependency.
14
15 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
16 ---
17  Makefile | 2 +-
18  1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/Makefile b/Makefile
21 index f29c07f680..b58f707b61 100644
22 --- a/Makefile
23 +++ b/Makefile
24 @@ -779,7 +779,7 @@ adsi:
25                 $(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \
26         done
27  
28 -samples: adsi
29 +samples: adsi datafiles
30         @echo Installing other config files...
31         $(call INSTALL_CONFIGS,samples,.sample)
32         $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX"
33 -- 
34 2.11.0
35