bugGNU GRUB - Bugs: bug #36771, grub-2.00: grub-mkimage: --memdisk...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #36771: grub-2.00: grub-mkimage: --memdisk overrides --prefix if comes later in arguments list

Submitted by:  Maxim Kammerer <mkdesu>
Submitted on:  Tue 03 Jul 2012 09:32:06 AM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: otherReproducibility: Every Time
Planned Release: None

Fri 12 Apr 2013 07:09:45 PM UTC, comment #1:

Documented.

Vladimir Serbinenko <phcoder>
Project Administrator
Tue 03 Jul 2012 09:32:06 AM UTC, original submission:

Seems that this behavior should be either documented or fixed:

# grub-mkimage -O x86_64-efi -m memdisk.tar -p "(memdisk)/grub" -o BOOTx64.EFI memdisk tar
# strings -a BOOTx64.EFI | grep '(memdisk)'
(memdisk)/grub

# grub-mkimage -O x86_64-efi -p "(memdisk)/grub" -m memdisk.tar -o BOOTx64.EFI memdisk tar
# strings -a BOOTx64.EFI | grep '(memdisk)'
(memdisk)/boot/grub

Relevant snippet from util/grub-mkimage.c:

case 'm':
if (arguments->memdisk)
free (arguments->memdisk);

arguments->memdisk = xstrdup (arg);

if (arguments->prefix)
free (arguments->prefix);

arguments->prefix = xstrdup ("(memdisk)/boot/grub");
break;

Maxim Kammerer <mkdesu>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by mkdesu (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 12 Apr 2013 07:09:45 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup