On Fri, Aug 3, 2012 at 11:27 AM, Christiaan Welvaart <[email protected]> wrote: > On Fri, 3 Aug 2012, Colin Guthrie wrote: > >> 'Twas brillig, and Pascal Terjan at 03/08/12 00:40 did gyre and gimble: >>> >>> On Fri, Aug 3, 2012 at 12:23 AM, Pascal Terjan <[email protected]> wrote: >>>> >>>> On Sun, Jul 22, 2012 at 1:12 AM, Colin Guthrie <[email protected]> >>>> wrote: >>>>> >>>>> OK, so the packages have now all been uploaded. >>>>> >>>>> You should see several packages now that you cannot install on >>>>> Cauldron. >>>>> This is intended behaviour. >>>>> >>>>> Here is how to update your cauldron systems: >>>>> >>>>> 1. Run "urpmi --auto-update" install everything that can be installed. >>>>> 2. Ensure that latest dracut is installed. Run "urpmi dracut" to make >>>>> sure (it may have been excluded in the --auto-update if it was in a >>>>> transaction with other packages that could not be installed). >>>>> 3. Ensure that you do not have zapata or dpkg installed (rpm -e >>>>> zapata; >>>>> rpm -e dpkg) >>>>> 4. Generate a new initrd and include the conversion script: dracut -f >>>>> -a convertfs >>>>> 5. If you have /usr on a separate partition >>>>> - Ensure there is enough free space to hold /bin, /sbin, /lib and >>>>> /lib64 content. >>>>> - If your /usr is mounted readonly, change your /etc/fstab to >>>>> mount >>>>> it rw. >>>>> 6. Reboot. >>>>> 7. At the bootloader prompt, edit the command line and append: "rw >>>>> rd.convertfs" (without the quotes) to your command line and then boot. >>>>> >>>>> That should be all that is needed :) >>>> >>>> >>>> How to update a chroot? >>> >>> >>> Answering to myself: >>> >>> chroot $chroot urpmi dracut >>> $chroot/usr/lib/dracut/modules.d/30convertfs/convertfs.sh $chroot >>> >>> That did the conversion, but I still can't update, probably because my >>> rpm is too old (rpm-4.9.1.3-2.mga2) as it was not possible to update >>> it before the conversion (it pulls filesystem). >> >> >> Yeah in this case if the conversion is done, I'd just recommend >> installing filesystem --nodeps and the rest should flow. It's not ideal >> certainly, but there is still time to polish this a bit before upgraders >> get hit by this (and as there will be updated rpm packages in the stable >> releases, it should mitigate this specific problem, but we should still >> see if we can do things better) > > > Polish this a bit? It is not at all ready, and as I said earlier rpmlib is > broken. Please don't upload broken rpm packages to stable releases. > > Maybe the instructions should be: > - install dracut and kernel-desktop-latest from mga3 > - reboot, make sure the "usrmove filesystem update" > kernel entry is chosen in the bootloader > - upgrade to mga3 as usual > > But that means a lot of things are still missing: > - dracut automatically including the conversion script > (only when needed?) > - automatic generation of the bootloader entry mentioned above
I would vote to also force the reboot into this entry at next boot > - removal of this bootloader entry after conversion > > > Christiaan
