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: InstallationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Max Tottenham
Open/Closed: OpenRelease: 
Release: Git masterReproducibility: 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
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by arvidjaar (Posted a comment)
  • -unavailable- added by mtottenh (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
    Wed 02 Mar 2016 10:41:26 AM UTCphcoderPlanned ReleaseNone=>2.03+
    Sat 04 Apr 2015 04:34:59 PM UTCmtottenhAttached File-=>Added 0001-PATCH-Allow-grub-mkrescue-to-create-images-from-mult.patch, #33533

    Back to the top


    Powered by Savane 3.1-cleanup1