[PATCH] kernel.spec: no more files in /boot

Harald Hoyer harald at redhat.com
Wed May 6 09:34:41 UTC 2015


Meh, not in CC and not subscribed to kernel-list. Anyway...

On 04.05.2015 19:57, Tom Callaway wrote:
> On 05/04/2015 01:49 PM, Josh Boyer wrote:
>
>> So if I understand the patch correctly, your usecase will still be
>> valid as the actual files are still in /boot.  Nobody is expecting grub
>> (or whatever other loaded) to read files out of /usr/.
>
> Moving files in %posttrans to a different location seems like one heck of
> a hack. What problem are we trying to solve here with a "self-contained
> installation in /usr"?
>
> ~tom
>
> == Red Hat
>

"heck of a hack"??
We do a lot more for the kernel in postrans:
- depmod
- create the initrd and move it to /boot
- modify the bootloader conf (grubby)

I don't see why additionally copying some files make it a "heck of a hack"?

With "self-contained installation in /usr" we want to minimize the location
of distributed files, so we can have:
- stateless systems with a shared /usr gold master
- easy distribution of vendor supplied OS parts
- factory reset

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
)

Devconf2012 talk (3 years ago???!!!!):
<https://rvokal.fedorapeople.org/devconf2012/harald-A_streamlined_and_fully_com
patible_Linux_Files.pdf>

Lennart's blog post:
<http://0pointer.de/blog/projects/stateless.html>



More information about the kernel mailing list