packaging: Disable ejdb module 04/141204/3
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Fri, 28 Jul 2017 12:20:01 +0000 (14:20 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 3 Aug 2017 14:53:22 +0000 (14:53 +0000)
For initial deployment - VIP handling - database support
is not needed.  Compiling-out ejdb support reduces faultd
size by few kb, but more importantly it and drops libejdb.so
library dependency - saving up to 1.3MB of storage.

   text    data     bss     dec     hex filename
  56046    3184     216   59446    e836 db-ejdb/usr/sbin/faultd
  49744    2872     216   52832    ce60 db-nop/usr/sbin/faultd

Change-Id: Ie3bca2f1416b75cd249f138942de92f5632add29
[Rebase onto current HEAD]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
packaging/faultd.spec

index a07cfbc1eada5aec52311c534c380d0bd7895589..97e63638a8595bd5a583a48f9086fcdb07911539 100644 (file)
@@ -30,7 +30,7 @@ cp %{SOURCE1001} .
 
 %build
 %autogen
-%configure --enable-test-programs --enable-tests --enable-modules=systemd,startup,vip_fault_dm,system_reboot
+%configure --enable-test-programs --enable-tests --enable-modules=systemd,startup,vip_fault_dm,system_reboot,database_nop
 make %{?_smp_mflags}
 
 make check