DPDK build should avoid using uname -m

Bug #1551796 reported by Christian Ehrhardt 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpdk (Ubuntu)
Fix Released
Low
Christian Ehrhardt 

Bug Description

I was made aware (thanks Ferseiti on IRC) that our d/rules file should not use uname -m.
It was suggested to use DEB_BUILD_ARCH

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I looked into it and while DEB_BUILD_ARCH doesn't match uname -m the usage of something like the following should be appropriate.

DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)

... $(DEB_HOST_GNU_CPU)

I'm currently wrapping up several fixes where I can integrate this minor patch (not worth an upload on its own)

Changed in dpdk (Ubuntu):
status: New → Triaged
importance: Undecided → Low
assignee: nobody → ChristianEhrhardt (paelzer)
Changed in dpdk (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dpdk - 2.2.0-0ubuntu5

---------------
dpdk (2.2.0-0ubuntu5) xenial; urgency=medium

  * d/t/test-initscripts fix issues regarding 1G hugepages
     - the dep8 was already taking care of 1G hugepages being not supported in
       some environments. But it was failing when supported, but not enough
       memory available.

 -- Christian Ehrhardt <email address hidden> Wed, 09 Mar 2016 17:19:24 +0000

Changed in dpdk (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.