check command fails when there are no -di packages.

Bug #1690118 reported by Andy Whitcroft
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kernel-wedge (Ubuntu)
Fix Released
High
Andy Whitcroft
Xenial
Confirmed
High
Andy Whitcroft
Yakkety
Confirmed
High
Andy Whitcroft
Zesty
Confirmed
High
Andy Whitcroft
Artful
Fix Released
High
Andy Whitcroft

Bug Description

When we kernel-wedge check a configuration which has no -di packages we will incorrectly return a failure; exit 1. This is triggered by our Ubuntu delta for the check command which uses grep to filter out the -di packages specifically. When there are none this causes the package list lookup to fail and triggers and early exit from the script (due to the -e).

Andy Whitcroft (apw)
Changed in kernel-wedge (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Andy Whitcroft (apw)
Changed in kernel-wedge (Ubuntu Artful):
status: Confirmed → In Progress
Changed in kernel-wedge (Ubuntu Zesty):
status: New → Confirmed
Changed in kernel-wedge (Ubuntu Yakkety):
status: New → Confirmed
Changed in kernel-wedge (Ubuntu Xenial):
status: New → Confirmed
importance: Undecided → Medium
importance: Medium → High
Changed in kernel-wedge (Ubuntu Yakkety):
importance: Undecided → High
Changed in kernel-wedge (Ubuntu Zesty):
importance: Undecided → High
assignee: nobody → Andy Whitcroft (apw)
Changed in kernel-wedge (Ubuntu Yakkety):
assignee: nobody → Andy Whitcroft (apw)
Changed in kernel-wedge (Ubuntu Xenial):
assignee: nobody → Andy Whitcroft (apw)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kernel-wedge - 2.96ubuntu2

---------------
kernel-wedge (2.96ubuntu2) artful; urgency=low

  * check: suppress error exit from grep when there are no -di packages
    while maintaining any exit code from dh_listpackages. (LP: #1690118)
  * drop errant debian/files.
  * commands/copy-firmware -- fix up fwdir handling so we find and include
    firmware and dtb files. (LP: #1696925)

 -- Andy Whitcroft <email address hidden> Thu, 11 May 2017 11:28:56 +0100

Changed in kernel-wedge (Ubuntu Artful):
status: In Progress → 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.