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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 04, 2015 at 07:32:39PM +0200, Reindl Harald wrote:
> 
> Am 04.05.2015 um 19:22 schrieb harald@xxxxxxxxxx:
> >From: Harald Hoyer <harald@xxxxxxxxxx>
> >
> >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
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kernel





[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux