diff options
author | Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2013-07-24 16:43:29 +0300 |
---|---|---|
committer | Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2013-07-24 16:52:28 +0300 |
commit | a1af92a7edaa4d9032f7a40a6c5002e1080c974c (patch) | |
tree | 74350d38209e7ec634c6164c750971f38bc269f9 /recipes-security/redhat-security/files/rpm-chksec.sh | |
parent | e1a1986d8e2bb67e81c6318cab22b385a853d53d (diff) | |
download | meta-security-redhat-security_fix.tar.gz |
Fixed the issues that prevented redhat-security toolsredhat-security_fix
to run correctly.
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Diffstat (limited to 'recipes-security/redhat-security/files/rpm-chksec.sh')
-rw-r--r-- | recipes-security/redhat-security/files/rpm-chksec.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-security/redhat-security/files/rpm-chksec.sh b/recipes-security/redhat-security/files/rpm-chksec.sh index 983c218..a0e8bb1 100644 --- a/recipes-security/redhat-security/files/rpm-chksec.sh +++ b/recipes-security/redhat-security/files/rpm-chksec.sh | |||
@@ -242,7 +242,7 @@ if [ "$MODE" = "single" ] ; then | |||
242 | fi | 242 | fi |
243 | 243 | ||
244 | # Skip the kernel as its special | 244 | # Skip the kernel as its special |
245 | packages=`rpm -qa --queryformat "%{NAME}.%{ARCH}\n" | egrep -v 'kernel.|debuginfo.|.noarch|gpg-pubkey' | sort` | 245 | packages=`rpm -qa | egrep -v 'kernel.|debuginfo.|.noarch|gpg-pubkey' | sort` |
246 | printf "%-50s %-5s %-4s %-14s" "PACKAGE" "RELRO" "PIE" "CLASS" | 246 | printf "%-50s %-5s %-4s %-14s" "PACKAGE" "RELRO" "PIE" "CLASS" |
247 | echo | 247 | echo |
248 | for p in $packages | 248 | for p in $packages |