[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions

Colin Guthrie mageia at colin.guthr.ie
Mon Jul 23 16:51:36 CEST 2012


'Twas brillig, and Thierry Vignaud at 23/07/12 15:14 did gyre and gimble:
> On 23 July 2012 16:05, Colin Guthrie <mageia at colin.guthr.ie> wrote:
>> Well I do not think doing such a move on an in-use filesystem is a
>> particularly good idea (especially for the /var/run bit which makes use
>> of several socket files for IPC (think all of dbus breaking).
>>
>> So doing such a conversion like this does not seem like a good idea to
>> me. This is why it is done in the initrd before the switchroot or in the
>> installer when the system is mounted under /mnt.
>>
>> That's my opinion on it. One thought: we could put it in  a %post script
>> provided it was protected via a check on the $DURING_INSTALL variable
>> and thus only ran in the installer context.
> 
> we could set DURING_INSTALL in mgapplet and warn harder
> not to do anything else while upgrading.

That would mean mgaapplet would have to regenerate initrds etc. at the
end of the process too as various packages have code that prevents
initrd generation during install (this was most recently highlighted due
to a bug with this check in mageia-theme breaking btrfs installs in the
installer - still need to do an official update for mageia-theme so that
at least net installs for btrfs+mga2 work).

Col





-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list