Re: [Patch] Use absolute offset for embedding area in grub-setup (i386-pc)

2010-06-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 06/05/2010 02:22 AM, Grégoire Sutre wrote: > Hi, > > The attached patch uses grub_partition_get_start (p) instead of p->start > in grub-setup's iteration over partitions. While we are at it, also > use grub_partition_get_len (p) instead of p->len. Go ahead > > An alternative would be to assume

[Patch] Use absolute offset for embedding area in grub-setup (i386-pc)

2010-06-04 Thread Grégoire Sutre
Hi, The attached patch uses grub_partition_get_start (p) instead of p->start in grub-setup's iteration over partitions. While we are at it, also use grub_partition_get_len (p) instead of p->len. An alternative would be to assume that partitions are properly nested, and therefore iterate only ov