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

Reindl Harald h.reindl at thelounge.net
Mon May 4 17:32:39 UTC 2015


Am 04.05.2015 um 19:22 schrieb harald at redhat.com:
> From: Harald Hoyer <harald at redhat.com>
>
> This patch is to install everything to /lib/modules/$KERNEL_VERSION
>   and only have %ghost files for /boot files.
>
> Installation in %posttrans with kernel-install should work already.
>
> F20: systemd >= 208-31
> F21: systemd >= 216-21
> F >= 22: systemd >= 215-12
>
> The main target is to have all rpms install only to /usr, so in the end
> we would have a self contained installation in /usr

what the hell - the kernel itself belongs to /boot without any but or if 
- period, otherwise i would have had a lot of fun for things like the 
transition to grub2 and need to move the first partition

in fact here on all machiens it was just get one system with it's 
*decicated /boot disk* to come up and prepare that change by just copy 
the dd-image of the first host via SSH to 30 other machines, unmount 
/boot, dd the image back there and the distr-upgrade was fine on all 
production machines

go away with your "everything needs to be below /usr"

kernel-core               /boot/.vmlinuz-3.19.6-200.fc21.x86_64.hmac
kernel-core               /boot/System.map-3.19.6-200.fc21.x86_64
kernel-core               /boot/config-3.19.6-200.fc21.x86_64
kernel-core               /boot/initramfs-3.19.6-200.fc21.x86_64.img
kernel-core               /boot/vmlinuz-3.19.6-200.fc21.x86_64



More information about the kernel mailing list