andreyv / sbupdate

Generate and sign kernel images for UEFI Secure Boot on Arch Linux
GNU General Public License v3.0
225 stars 20 forks source link

Possibility to have different ESP dirs with the same structure #2

Closed sinseman44 closed 7 years ago

sinseman44 commented 7 years ago

Hi andreyv,

For my archlinux system (2 hdd mount in raid1 for system with a ESP partition per hdd), i must modify sbupdate to use it because I have two distincts ESP partitions (1 main et the other for backup) with the same structure and i would upgrade the signed kernel at same time on both of them. In sbupdate paramaters file (in /etc/default), I use ESP_DIR=('/boot/efi' '/boot/efi_backup') instead of ESP_DIR="/boot/efi". With this modifications, you could always use only one ESP partition.

best regards

Sinseman44

andreyv commented 7 years ago

I implemented the feature request, but in a better way. Can you test the backup-efi branch?

Here is how to set the branch in PKGBUILD: https://wiki.archlinux.org/index.php/VCS_package_guidelines#VCS_sources

andreyv commented 7 years ago

Closing due to lack of response.