-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatting USB drive for efi is broken #2680
Comments
Shouldn't it be V. |
@gozora you are right, that was a typo in the issue. Sorry about that. |
@bearpebble |
The "format" workflow '--efi' switch sets "FORMAT_EFI=y" so format/USB/default/300_format_usb_disk.sh must check "$FORMAT_EFI" see #2680
Should now be fixed via @bearpebble |
@bearpebble |
I think less than one hour from initial user bug report |
Relax-and-Recover (ReaR) Issue Template
ReaR version ("/usr/sbin/rear -V"):
Relax-and-Recover 2.6 / Git (7c42e2bd3e600d059f24bd0b46526700c1d8bda0)
Description of the issue (ideally so that others can reproduce it):
Using
usr/sbin/rear format -v -- --efi /dev/sd...
does not create the layout required for EFI.The switch
--efi
is simply ignored, as it setsFORMAT_EFI=y
, which is never used anywhere else in the code.rear/usr/share/rear/lib/format-workflow.sh
Lines 32 to 33 in 7c42e2b
Workaround, if any:
Put the line
EFI=$FORMAT_EFI
right before the following line, since$EFI
is never set anywhere.rear/usr/share/rear/format/USB/default/300_format_usb_disk.sh
Lines 59 to 61 in 7c42e2b
The text was updated successfully, but these errors were encountered: