Re: [gentoo-dev] rfc: usrmerge script

2021-03-24 Thread William Hubbs
On Wed, Mar 24, 2021 at 01:09:52PM -0400, Rich Freeman wrote: > On Wed, Mar 24, 2021 at 11:09 AM William Hubbs wrote: > > > > On Wed, Mar 24, 2021 at 08:48:41AM +0100, Michał Górny wrote: > > > > > > What really can help is reflinking on filesystems supporting that. > > > > What really can help is

Re: [gentoo-dev] rfc: usrmerge script

2021-03-24 Thread Rich Freeman
On Wed, Mar 24, 2021 at 11:09 AM William Hubbs wrote: > > On Wed, Mar 24, 2021 at 08:48:41AM +0100, Michał Górny wrote: > > > > What really can help is reflinking on filesystems supporting that. > > What really can help is more info instead of being terse like this. > Which filesystems support it?

Re: [gentoo-dev] rfc: usrmerge script

2021-03-24 Thread William Hubbs
On Wed, Mar 24, 2021 at 08:48:41AM +0100, Michał Górny wrote: > On Wed, 2021-03-24 at 00:20 -0500, William Hubbs wrote: > > On Tue, Mar 23, 2021 at 10:23:11AM +0100, Michał Górny wrote: > > > On Sun, 2021-03-21 at 12:39 -0500, William Hubbs wrote: > > > > All, > > > > > > > > the following is a sc

Re: [gentoo-dev] rfc: usrmerge script

2021-03-24 Thread Michał Górny
On Wed, 2021-03-24 at 00:20 -0500, William Hubbs wrote: > On Tue, Mar 23, 2021 at 10:23:11AM +0100, Michał Górny wrote: > > On Sun, 2021-03-21 at 12:39 -0500, William Hubbs wrote: > > > All, > > > > > > the following is a script which will migrate a Gentoo system to the usr > > > merge layout. Thi

Re: [gentoo-dev] rfc: usrmerge script

2021-03-23 Thread William Hubbs
On Tue, Mar 23, 2021 at 10:23:11AM +0100, Michał Górny wrote: > On Sun, 2021-03-21 at 12:39 -0500, William Hubbs wrote: > > All, > > > > the following is a script which will migrate a Gentoo system to the usr > > merge layout. This is similar to the unsymlink-lib tool used to migrate > > a system

Re: [gentoo-dev] rfc: usrmerge script

2021-03-23 Thread Michał Górny
On Sun, 2021-03-21 at 12:39 -0500, William Hubbs wrote: > All, > > the following is a script which will migrate a Gentoo system to the usr > merge layout. This is similar to the unsymlink-lib tool used to migrate > a system from the 17.0 to the 17.1 profiles. > > I'm attaching it here to get som

Re: [gentoo-dev] rfc: usrmerge script

2021-03-21 Thread William Hubbs
On Sun, Mar 21, 2021 at 08:08:00PM +0100, Luigi Mantellini wrote: > there are some typos at lines 93, 94 and 95 (run_cmd instead run_command). > > ciao > > luigi Hi Luigi, Thanks for catching these, all instances of run_cmd are now changed to run_command. Thanks, William signature.asc Des

Re: [gentoo-dev] rfc: usrmerge script

2021-03-21 Thread William Hubbs
On Sun, Mar 21, 2021 at 01:00:01PM -0500, Matthias Maier wrote: > Hi William, > > I have migrated my system to a merged /usr a while ago. > > In addition to moving everything to /usr and setting up symlinks, the > main thing I had to do was to set up a /etc/portage/bashrc hook for > post_src_inst

Re: [gentoo-dev] rfc: usrmerge script

2021-03-21 Thread Luigi Mantellini
there are some typos at lines 93, 94 and 95 (run_cmd instead run_command). ciao luigi On Sun, Mar 21, 2021 at 7:00 PM Matthias Maier wrote: > > Hi William, > > I have migrated my system to a merged /usr a while ago. > > In addition to moving everything to /usr and setting up symlinks, the > mai

Re: [gentoo-dev] rfc: usrmerge script

2021-03-21 Thread Matthias Maier
Hi William, I have migrated my system to a merged /usr a while ago. In addition to moving everything to /usr and setting up symlinks, the main thing I had to do was to set up a /etc/portage/bashrc hook for post_src_install() that would move everything into /usr. Do we have native support in port

[gentoo-dev] rfc: usrmerge script

2021-03-21 Thread William Hubbs
All, the following is a script which will migrate a Gentoo system to the usr merge layout. This is similar to the unsymlink-lib tool used to migrate a system from the 17.0 to the 17.1 profiles. I'm attaching it here to get some comments before I package it, so please let me know if I have missed