bugGNU GRUB - Bugs: bug #44721, grub-mkrescue does not handle...

 
 

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

bug #44721: grub-mkrescue does not handle multiple directories with -d properly

Submitted by:  Max Tottenham <mtottenh>
Submitted on:  Sat 04 Apr 2015 04:34:59 PM UTC  
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Max Tottenham
Open/Closed:  Open Release: 
Release:  Git master Reproducibility:  Every Time
Planned Release:  2.03+

Fri 01 May 2015 05:33:00 PM UTC, comment #1:

Unfortunately multiple directories have no defined semantic for other grub commands, so it does not look like the right place. May be consider something similar to how pkgdatadir is overridden at runtime. Something similar to

ln -s .../path-to-BIOS-build/grub-core i386-pc
ln -s .../path-to-EFI-build/grub-core x86_64-efi
pkglibdir=. grub-mkrescue ...

See grub-core/osdep/*/config.c.

It is better to send patches to grub-devel for wider review.

Andrei Borzenkov <arvidjaar>
Project Member
Sat 04 Apr 2015 04:34:59 PM UTC, original submission:

Users of grub-mkrescue can specify a directory to build a rescue cd from with -d.

If no -d is selected a rescue CD will be made with all the platforms a user has installed.

However currently if -d is specified more than once only the last -d parameter will be used when building the CD.

This is undesirable, for example if a user has built multiple versions of grub2 (e.g. one for EFI and one for x86) and has the modules in non-standard locations, grub-mkrescue should still function properly.

Attached is a patch which rectifies this behavior.

Max Tottenham <mtottenh>

 

Attached Files
file #33533:  0001-PATCH-Allow-grub-mkrescue-to-create-images-from-mult.patch added by mtottenh (3KiB - application/octet-stream - Patch against master for grub-mkrescue)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-02 phcoder Planned ReleaseNone => 2.03+
    2015-04-04 mtottenh Attached File- => Added 0001-PATCH-Allow-grub-mkrescue-to-create-images-from-mult.patch, #33533

    Back to the top


    Powered by Savane 3.3