Enable extra modules by default 16/153916/5
authorPaweł Szewczyk <p.szewczyk@samsung.com>
Tue, 3 Oct 2017 10:50:15 +0000 (12:50 +0200)
committerKonrad Kuchciak <k.kuchciak@samsung.com>
Thu, 12 Oct 2017 10:34:04 +0000 (12:34 +0200)
Now all extra modules are enabled on installation.

Change-Id: Ia7302637e2a49a7e61067679fcee0b2fb413e8c4
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
packaging/faultd.spec

index b9ce8254621ad7c92cab40fc33408c7cca22312d..1899fea32b2b4b917953d5d159d5483cc69ebfc0 100644 (file)
@@ -73,8 +73,10 @@ for mod in audit_listener \
        system_reboot_to_recovery_action
 do
        ln -s %{moduledir}/${mod}.so %{buildroot}/%{moduleconfdir}/${mod}.so;
+       ln -s ../available-modules/${mod}.so %{buildroot}/%{enabled_moduledir}/${mod}.so;
        echo %{moduledir}/${mod}.so >> faultd-extra-files;
        echo %{moduleconfdir}/${mod}.so >> faultd-extra-files;
+       echo %{enabled_moduledir}/${mod}.so >> faultd-extra-files;
 done
 
 %files -f faultd-files