[OS-BUILD PATCH 2/2] redhat: replace inline awk script with genlog.py call