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

 
 

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

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

Submitter:  Maxim Kammerer <mkdesu>
Submitted:  Tue 03 Jul 2012 09:32:06 AM UTC
   
 
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

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

Documented.

Vladimir Serbinenko <phcoder>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-12 phcoder StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code