Packaging doesn't support pycentral or pysupport depending on distro

Bug #162280 reported by Marc Tardif
10
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Critical
Marc Tardif

Bug Description

The packaging rules for hwtest should behave differently depending on the distro version. On dapper, it should use pycentral. On later releases, it should use pysupport. This could be defined like this:

dist_release := $(shell lsb_release -cs)
ifneq ($(dist_release),dapper)
  use_pycentral = yes
endif

...

binary-arch: build install
...
ifeq ($(use_pycentral),yes)
    DH_PYCENTRAL=nomove dh_pycentral
else
    dh_python
endif

Marc Tardif (cr3)
Changed in hwtest:
assignee: nobody → cr3
importance: Undecided → Critical
status: New → Confirmed
Marc Tardif (cr3)
Changed in hwtest:
status: Confirmed → In Progress
Marc Tardif (cr3)
Changed in hwtest:
status: In Progress → Fix Committed
Marc Tardif (cr3)
Changed in hwtest:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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