diff options
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index d95ccfad2b..877845a4e8 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -151,7 +151,7 @@ list_installed_packages() { | |||
151 | 151 | ||
152 | # print the info, need to different return counts | 152 | # print the info, need to different return counts |
153 | if [ "$1" = "arch" ] ; then | 153 | if [ "$1" = "arch" ] ; then |
154 | echo "$GET_LIST" | awk '{print $1, $2}' | 154 | echo "$GET_LIST" | awk '{PN=$1; gsub("_", "-"); print PN, $2}' |
155 | elif [ "$1" = "file" ] ; then | 155 | elif [ "$1" = "file" ] ; then |
156 | echo "$GET_LIST" | awk '{print $1, $3}' | 156 | echo "$GET_LIST" | awk '{print $1, $3}' |
157 | else | 157 | else |