xenial cloud image builds fail due to /lib/modules being present

Bug #1797170 reported by Dan Watkins on 2018-10-10
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Critical
Dan Watkins
Xenial
Undecided
Unassigned

Bug Description

/lib/modules is now created by a package in the archive, which means that the `mkdir /lib/modules` in the ubuntu-cpc 030-root-tarball.binary hook fails (therefore failing the entire build).

[Impact]

New xenial cloud images cannot be produced.

[Test Case]

Attempt a livefs build of the ubuntu-cpc project; it will fail without a fix, and pass with a fix.

[Regression Potential]

The fix is to modify the `mkdir` to `mkdir -p`, so the potential for regression is very low.

Dan Watkins (daniel-thewatkins) wrote :
Changed in livecd-rootfs (Ubuntu):
importance: Undecided → Critical
assignee: nobody → Dan Watkins (daniel-thewatkins)
status: New → In Progress
tags: added: patch

Hello Dan, or anyone else affected,

Accepted livecd-rootfs into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/livecd-rootfs/2.408.38 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in livecd-rootfs (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed verification-needed-xenial
Steve Langasek (vorlon) wrote :

Verified with a successful xenial-proposed build of a private ubuntu-cpc livefs in launchpad (for reference: https://launchpad.net/~cloudware/+livefs/ubuntu/xenial/cpc-development/+build/147371).

tags: added: verification-done verification-done-xenial
removed: verification-needed verification-needed-xenial
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 2.408.38

---------------
livecd-rootfs (2.408.38) xenial; urgency=medium

  * ubuntu-cpc: Handle a pre-existing /lib/modules in 030-root-tarball.hook
    (LP: #1797170).

 -- Daniel Watkins <email address hidden> Wed, 10 Oct 2018 11:55:30 -0400

Changed in livecd-rootfs (Ubuntu Xenial):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for livecd-rootfs has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

tags: added: id-5bbe2744435b721d320a6458
Changed in livecd-rootfs (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers