post: dbus: add script for dbus policy serializer 96/204596/1 accepted/tizen/unified/20190426.054210 submit/tizen/20190426.014136
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Wed, 24 Apr 2019 23:44:37 +0000 (08:44 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Wed, 24 Apr 2019 23:44:45 +0000 (08:44 +0900)
For kdbus environment and libdbuspolicy,
Add script to generate serialized data.

Change-Id: I9e418e05baa25785341830414324ba7ba3369c00
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
scripts/generic-dbus-policychecker.post

index 3541260..204de58 100644 (file)
@@ -21,3 +21,12 @@ if [ -x /usr/bin/dbus-policychecker ] ; then
        fi
 
 fi
+
+if [ -x /usr/bin/dbuspolicyserializer ] ; then
+       echo "#################### generic-dbus-policyserializer ####################"
+       echo
+       echo "$0: Serializing system.conf:"
+       dbuspolicyserializer --system
+       echo "$0: Serializing session.conf:"
+       dbuspolicyserializer --session
+fi