On 06.05.2015 13:55, Gerd Hoffmann wrote:
Hi,
> In our model:
> - /usr is vendor supplied
> - /var is OS state
> - /etc is admin config
> - /boot is machine owned and sometimes even shared with other OS (EFI partition
Well, at least in fedora + rhel the efi partition is /boot/efi ...
I suspect you are not happy with that?
Care to outline why and what your plans are?
Well, if you use gummiboot, /boot can/should be the EFI partition.
One advantage I can see when the efi partition becomes /boot is that the
uefi firmware can see the kernels and booting becomes simpler: No need
for ext2 filesystem support in the boot loader, and you can probably
even use uefi shell to boot your system.
That is exactly what we do with the bootloader spec [1] (BLS) and gummiboot.
install-kernel supports this scheme along with the old one.
If a bootloader is used, which supports the BLS, then multiple linux
installations can happily share /boot.
[1] <
http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/>
And it even gets better with combined kernel+initrd+cmdline uefi executables
[2], which enables secure boot signing of even the initrd and the cmdline.
[2]
<
https://harald.hoyer.xyz/2015/02/25/single-uefi-executable-for-kernelinit...
So, what is installed to /boot should not already be decided in the rpm, but in
install-kernel.