#2684 PR merged
: Overhauled output/USB/Linux-i386/100_create_efiboot.sh¶
Labels: enhancement
, bug
, cleanup
, fixed / solved / done
jsmeix opened issue at 2021-09-29 12:07:¶
-
Type: Bug Fix / Enhancement / Cleanup
-
Impact: Normal
-
Reference to related issue (URL):
https://github.com/rear/rear/issues/2683 -
How was this pull request tested?
Not at all tested by me because I don't use UEFI -
Brief description of the changes in this pull request:
Completely overhauled output/USB/Linux-i386/100_create_efiboot.sh
that should in particular fix https://github.com/rear/rear/issues/2683
by no longer usingcp -p
but always and onlycp -L
to ensure the real content gets copied
but no longer preserve mode,ownership,timestamps because that may fail like
cp: failed to preserve ownership for '/tmp/rear-efi.XXXXXXXXXX/EFI/BOOT/kernel': Operation not permitted
because it copies to a VFAT filesystem on the EFI partition
(see format/USB/default/300_format_usb_disk.sh how it is formatted).
[Export of Github issue for rear/rear.]