From 741a9ce90bbacef449eba187b4456776d7990e72 Mon Sep 17 00:00:00 2001 From: "jin-gyu.kim" Date: Fri, 24 Mar 2017 11:04:07 +0900 Subject: [PATCH] Add running security-test in security-generic. - To check the security feature at the time of image building. Change-Id: Ia1cc354d37ddf8f81ef19b8673a6c2be56f45dbc --- scripts/generic-security.post | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/generic-security.post b/scripts/generic-security.post index 685ba45..13e5bab 100644 --- a/scripts/generic-security.post +++ b/scripts/generic-security.post @@ -5,3 +5,7 @@ if [ -e /usr/share/security-config/set_capability ]; then echo 'Give capabilities to daemons via set_capability from security-config package' /usr/share/security-config/set_capability fi +if [ -e /opt/share/security-config/test/image_test.sh ]; then + echo 'Run security-test' + /opt/share/security-config/test/image_test.sh +fi -- 2.7.4