lp://qastaging/~kirkland/grub/33649b

Created by Dustin Kirkland  and last modified
Get this branch:
bzr branch lp://qastaging/~kirkland/grub/33649b
Only Dustin Kirkland  can upload to this branch. If you are Dustin Kirkland  please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dustin Kirkland 
Project:
grub
Status:
Development

Recent revisions

842. By Dustin Kirkland 

merged changes from a clean trunk
resolved conflicts in debian/patches/grub-install_better_raid.diff

841. By Dustin Kirkland 

This commit adds some smarts (back) into the handling of the multiple
devices on a RAID providing /boot.

Rather than using the same (hd0,0) looking string for each device,
independently calculate the partition number. This is problem is similarly
reported in bug #46223, though for update-grub.

For the "hd0" bit, we take what we can find in device.map.

Also, I'm killing the printing of device.map if installing onto a RAID,
since it's somewhat misleading.

840. By Dustin Kirkland 

slightly different approache to this problem, per IRC with slangasek...

1) don't assume hd0, let the existing logic solve this for us
2) error out, with suggestions (install to raid or edit device map) if we
   can't determine the bios positioning of the device

:-Dustin

839. By Dustin Kirkland 

This is the second revision of patch 2/2 for bug #33649, based on feedback from
slangasek. He questioned the previous revision, where I was installing GRUB
onto all devices of a RAID providing /boot, every time.

This revision will:
 1) install to all devices, if the target on the command line is /dev/md*
 2) install only to a specific RAID member, if the device on the command
    line is an actively sync'd device in a RAID providing /boot
 3) Otherwise, the current behavior of grub-install operates as normal

:-Dustin

838. By Steve Langasek

mark for upload

837. By Steve Langasek

* Only delete the old event.d script on upgrade from the affected versions
  of the package.

836. By Steve Langasek

fix latest changelog entry to account for the un-committed uploads

835. By Steve Langasek

Merge in 0.97-29ubuntu27, which was not committed to bzr. Changes from Ben
Collins and Johan Kiviniemi:

  [ Ben Collins ]

  * Make sure to delete the old event.d script, as it stays around, which
    means it gets called twice.

  [ Johan Kiviniemi ]

  * Implement a parameter in kernel-helper to create an initial last-good-boot
    if one doesn't exist. It will be used in grub postinst as well as when
    removing a kernel in order to make sure a last-good-boot exists at all
    times.

834. By Steve Langasek

Merge in the uploaded grub 29ubuntu26, which was never committed to bzr;
changes from Ben Collins:

 * Fix filename for etc/event.d/last-good-boot
 * update-grub: Add entry for last-good-boot
 * Changed build-dep to gcc-multilib to fix build failure.

833. By Steve Langasek

mark for upload

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 with rich root (needs bzr 1.0)
This branch contains Public information 
Everyone can see this information.