On Mon, May 04, 2015 at 07:32:39PM +0200, Reindl Harald wrote:
Am 04.05.2015 um 19:22 schrieb harald(a)redhat.com:
>From: Harald Hoyer <harald(a)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"
It's not obvious from the patch or description, but the %posttrans that
Harald mentioned actually copies the files from /usr to /boot. At least
as far as I understand. Then on removal, it will remove them as well.
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/.
josh