'Twas brillig, and Thierry Vignaud at 23/07/12 14:08 did gyre and gimble: > On 23 July 2012 12:11, Colin Guthrie <mag...@colin.guthr.ie> wrote: >> If, however, you have a chroot and you don't want to trash it + rebuild >> then just ensure the host system has an up-to-date dracut installed if >> the host is cauldron or copy the cauldron script if on an older mga and run: >> >> /usr/lib/dracut/modules.d/30convertfs/convertfs.sh /path/to/chroot > > Thx > > We miss some conflicts tags for the duplicated files that were removed. > eg: > file /usr/bin/login from install of util-linux-2.21.2-2.mga3.x86_64 > conflicts with file from package shadow-utils-2:4.1.4.2-9.mga1.x86_64
Ahh, good catch. I forgot about this conflict as I fixed shadow-utils a week or so ago. I'll take care of it. >> We will likely use this same script in the installer for mga2 -> mga3 >> upgrades too. > > I would prefer it would be called by some package post script > so that the same would work for both live (mgaapplet) & offline > (drakx) upgrades. 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. 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/