diff options
Diffstat (limited to 'meta/classes')
-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 c86cd094ff..300dd5f75d 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -153,7 +153,7 @@ list_installed_packages() { | |||
153 | 153 | ||
154 | # print the info, need to different return counts | 154 | # print the info, need to different return counts |
155 | if [ "$1" = "arch" ] ; then | 155 | if [ "$1" = "arch" ] ; then |
156 | echo "$GET_LIST" | awk '{print $1, $2}' | 156 | echo "$GET_LIST" | awk '{gsub("_", "-", $2); print $1, $2}' |
157 | elif [ "$1" = "file" ] ; then | 157 | elif [ "$1" = "file" ] ; then |
158 | echo "$GET_LIST" | awk '{print $1, $3}' | 158 | echo "$GET_LIST" | awk '{print $1, $3}' |
159 | else | 159 | else |