bugGNU GRUB - Bugs: bug #44129, [grub-mkconfig] two additional...

 
 

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

bug #44129: [grub-mkconfig] two additional command line parameters and new env var

Submitted by:  Indaril.Shpritz <indaril_shpritz>
Submitted on:  Fri 30 Jan 2015 01:56:06 AM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Feature Request
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenRelease: 
Release: Git masterReproducibility: None
Planned Release: 2.03+

Fri 30 Jan 2015 01:56:06 AM UTC, original submission:

I propose to implement 2 new command line parameters for grub-mkconfig:

--boot-directory=/mnt/crossdev/boot
for searching kernels there

--target-device=/deb/sdb
for restricting list of partitions from os-prober only to this device

see also
http://unix.stackexchange.com/questions/181811/how-to-generate-grub-cfg-for-different-disk

and one new environment variable:
GRUB_OS_PROBER_DEVICE_SKIP_LIST
which should work in the same way as
GRUB_OS_PROBER_SKIP_LIST
does.

see
http://git.savannah.gnu.org/cgit/grub.git/tree/util/grub.d/30_os-prober.in?id=cdae5bf208f5fa6093fa34c978c5da7b5bbafc54#n122

This new environment variable will be userful if one wants to omit the temporary rescue media with all it's partitions.

The parameters also should be documented at
https://www.gnu.org/software/grub/manual/html_node/Invoking-grub_002dmkconfig.html

And /etc/default/grub should be appended with #GRUB_OS_PROBER_DEVICE_SKIP_LIST example

Indaril.Shpritz <indaril_shpritz>

 

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 (Updated the item)
  • -unavailable- added by indaril_shpritz (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Mar 2016 10:39:39 AM UTCphcoderPlanned ReleaseNone=>2.03+

    Back to the top


    Powered by Savane 3.1-cleanup1