summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 31265d960a..346b7abd53 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -296,11 +296,7 @@ package_install_internal_rpm () {
296 if [ ! -z "$INSTALL_PLATFORM_EXTRA_RPM" ]; then 296 if [ ! -z "$INSTALL_PLATFORM_EXTRA_RPM" ]; then
297 for pt in $INSTALL_PLATFORM_EXTRA_RPM ; do 297 for pt in $INSTALL_PLATFORM_EXTRA_RPM ; do
298 channel_priority=$(expr $channel_priority + 5) 298 channel_priority=$(expr $channel_priority + 5)
299 case $pt in 299 pt=$(echo $pt | sed "s,-linux.*$,-linux\.*,")
300 noarch-* | any-* | all-*)
301 pt=$(echo $pt | sed "s,-linux.*$,-linux\.*,")
302 ;;
303 esac
304 echo "$pt" >> ${target_rootfs}/etc/rpm/platform 300 echo "$pt" >> ${target_rootfs}/etc/rpm/platform
305 done 301 done
306 fi 302 fi