mdadm.postinst should run update-grub only when grub is configured.
Bug #1284514 reported by
Steven Shiau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
Fix Released
|
Medium
|
Dimitri John Ledkov |
Bug Description
When mdadm (3.2.5-5ubuntu3) is installed in a bootstrap/live Trusty environment, it fails. It's because update-grub is run. However, in a bootstrap/live system, although grub is installed, actually it's not use for the boot loader. Therefore update-grub fails.
Attached please find the patch to fix this error.
My 2 cents.
Steven.
Related branches
To post a comment you must log in.
The attachment "Patch for mdadm.postinst" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]