diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-11-08 02:09:13 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-11-08 11:42:13 +0000 |
commit | ee0d0d60d32192b17ee5670cf077e028c75ba29a (patch) | |
tree | fc382b44ed57cb74e548ae259239a74eaafe9995 /LICENSE.rst | |
parent | 62e032ab0276fde84df3384bd341aa53e87fc88a (diff) |
lib.sh: Cleanup previous /boot/efi contents
Some UEFI firmwares insist on scanning removable drives, even when
boot entries were deleted from UEFI boot list (board flash).
To work around this, remove contents of </boot/efi/*>, so scanning
won't identify any valid EFI binaries.
Another option would be erasing partition tables, but identifying
the underlying disk(s) is more complicated, especially when using
LVM/RAID etc.
Change-Id: I9949b99b139b1642e3bd8f04de3bd5ef74d1ecc5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit a0a93056d5d5c52b739a2bc8fe0e2aaabb962f36)
Diffstat (limited to 'LICENSE.rst')
0 files changed, 0 insertions, 0 deletions