Merge lp://staging/~smoser/maas-images/trunk.disable-kernel-hooks into lp://staging/maas-images

Proposed by Scott Moser
Status: Merged
Merged at revision: 387
Proposed branch: lp://staging/~smoser/maas-images/trunk.disable-kernel-hooks
Merge into: lp://staging/maas-images
Diff against target: 46 lines (+24/-0)
1 file modified
bin/maas-cloudimg2ephemeral (+24/-0)
To merge this branch: bzr merge lp://staging/~smoser/maas-images/trunk.disable-kernel-hooks
Reviewer Review Type Date Requested Status
Lee Trager (community) Approve
Review via email: mp+336051@code.staging.launchpad.net

Commit message

stop grub scripts from running when upgrading an image.

An upgrade that brought a new kernel would cause grub's' kernel
hook scripts to run. Those would fail to run and cause failure
(at least in trusty). This is similar to code that is currently
in the kpack-from-image, but handles putting things back more elegantly.
(kpack-from-image doesn't have to put things back).

I found this when running with '--proposed'.

To post a comment you must log in.
388. By Scott Moser

cleanup a bit and add debug

389. By Scott Moser

check taht it exists.

Revision history for this message
Lee Trager (ltrager) wrote :

LGTM!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches