scripts/selinux: use "grep -E" instead of "egrep"
PATCH 1/1 scripts/selinux: use "grep -E" instead of "egrep"
The latest version of grep claims that egrep is now obsolete so the build now contains warnings that look like:
egrep: warning: egrep is obsolescent; using grep -E
fix this up by moving the vdso Makefile to use "grep -E" instead.
Cc Paul Moore <[email protected]>
Cc Stephen Smalley <[email protected]>
Cc Eric Paris <[email protected]>
Signed-off-by Greg Kroah-Hartman <[email protected]>
--- scripts/selinux/install_policy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/selinux/install_policy.sh +1 -1
@@ -78,7 +78,7 @@ cd /etc/selinux/dummy/contexts/files $SF -F file_contexts / mounts=`cat /proc/$$/mounts | \ - egrep "ext[234]|jfs|xfs|reiserfs|jffs2|gfs2|btrfs|f2fs|ocfs2" | \ + grep -E "ext[234]|jfs|xfs|reiserfs|jffs2|gfs2|btrfs|f2fs|ocfs2" | \ awk '{ print $2 '}` $SF -F file_contexts $mounts
Signature · 1 line
2.37.3
Paul Moore
maintainerQuoted 6 lines · Greg Kroah-Hartman
The latest version of grep claims that egrep is now obsolete so the build now contains warnings that look like:
egrep: warning: egrep is obsolescent; using grep -E
fix this up by moving the vdsoMakefileto use "grep -E" instead.
Quoted 8 lines
Cc Paul Moore <[email protected]>Cc Stephen Smalley <[email protected]>Cc Eric Paris <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- scripts/selinux/install_policy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, merged into selinux/next.
Signature · 1 line
paul-moore.com