Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Fix GrubSetup.sh To Better Account For Non-LVM root= #56

Open
ferricoxide opened this issue Oct 18, 2018 · 0 comments
Open

Fix GrubSetup.sh To Better Account For Non-LVM root= #56

ferricoxide opened this issue Oct 18, 2018 · 0 comments
Labels

Comments

@ferricoxide
Copy link
Member

Problem Description:

When generating new "recovery" AMIs, the GrubSetup.sh currently sets the root= token to the chroot-built device's real devnode rather than properly referencing its LABEL value

Expected Behavior:

The root= tokens in the chroot()ed /boot/grub2/grub.cfg should be set to root=LABEL=<LABEL>

Actual Behavior:

The root= tokens in the chroot()ed /boot/grub2/grub.cfg are set to root=/chroot/devnode

(Detailed) Steps to reproduce:

Run GrubSetup.sh to create non-LVM'ed AMI

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant