diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-August/017926.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-August/017926.html | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-August/017926.html b/zarb-ml/mageia-dev/2012-August/017926.html new file mode 100644 index 000000000..5987eb018 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-August/017926.html @@ -0,0 +1,165 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANNOUNCE%3A%20The%20/usr%20move%20cometh%21%20%3C----%20Instructions&In-Reply-To=%3C501BCACF.8050608%40colin.guthr.ie%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="017919.html"> + <LINK REL="Next" HREF="017916.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANNOUNCE%3A%20The%20/usr%20move%20cometh%21%20%3C----%20Instructions&In-Reply-To=%3C501BCACF.8050608%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions">mageia at colin.guthr.ie + </A><BR> + <I>Fri Aug 3 14:57:51 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="017919.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions +</A></li> + <LI>Next message: <A HREF="017916.html">[Mageia-dev] [changelog] [RPM] cauldron core/release task-obsolete-3-21.mga3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#17926">[ date ]</a> + <a href="thread.html#17926">[ thread ]</a> + <a href="subject.html#17926">[ subject ]</a> + <a href="author.html#17926">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Pascal Terjan at 03/08/12 11:32 did gyre and gimble: +><i> On Fri, Aug 3, 2012 at 11:27 AM, Christiaan Welvaart +</I>><i> <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">cjw at daneel.dyndns.org</A>> wrote: +</I>>><i> On Fri, 3 Aug 2012, Colin Guthrie wrote: +</I>>><i> +</I>>>><i> 'Twas brillig, and Pascal Terjan at 03/08/12 00:40 did gyre and gimble: +</I>>>>><i> +</I>>>>><i> On Fri, Aug 3, 2012 at 12:23 AM, Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>> wrote: +</I>>>>>><i> +</I>>>>>><i> On Sun, Jul 22, 2012 at 1:12 AM, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> +</I>>>>>><i> wrote: +</I>>>>>>><i> +</I>>>>>>><i> OK, so the packages have now all been uploaded. +</I>>>>>>><i> +</I>>>>>>><i> You should see several packages now that you cannot install on +</I>>>>>>><i> Cauldron. +</I>>>>>>><i> This is intended behaviour. +</I>>>>>>><i> +</I>>>>>>><i> Here is how to update your cauldron systems: +</I>>>>>>><i> +</I>>>>>>><i> 1. Run "urpmi --auto-update" install everything that can be installed. +</I>>>>>>><i> 2. Ensure that latest dracut is installed. Run "urpmi dracut" to make +</I>>>>>>><i> sure (it may have been excluded in the --auto-update if it was in a +</I>>>>>>><i> transaction with other packages that could not be installed). +</I>>>>>>><i> 3. Ensure that you do not have zapata or dpkg installed (rpm -e +</I>>>>>>><i> zapata; +</I>>>>>>><i> rpm -e dpkg) +</I>>>>>>><i> 4. Generate a new initrd and include the conversion script: dracut -f +</I>>>>>>><i> -a convertfs +</I>>>>>>><i> 5. If you have /usr on a separate partition +</I>>>>>>><i> - Ensure there is enough free space to hold /bin, /sbin, /lib and +</I>>>>>>><i> /lib64 content. +</I>>>>>>><i> - If your /usr is mounted readonly, change your /etc/fstab to +</I>>>>>>><i> mount +</I>>>>>>><i> it rw. +</I>>>>>>><i> 6. Reboot. +</I>>>>>>><i> 7. At the bootloader prompt, edit the command line and append: "rw +</I>>>>>>><i> rd.convertfs" (without the quotes) to your command line and then boot. +</I>>>>>>><i> +</I>>>>>>><i> That should be all that is needed :) +</I>>>>>><i> +</I>>>>>><i> +</I>>>>>><i> How to update a chroot? +</I>>>>><i> +</I>>>>><i> +</I>>>>><i> Answering to myself: +</I>>>>><i> +</I>>>>><i> chroot $chroot urpmi dracut +</I>>>>><i> $chroot/usr/lib/dracut/modules.d/30convertfs/convertfs.sh $chroot +</I>>>>><i> +</I>>>>><i> That did the conversion, but I still can't update, probably because my +</I>>>>><i> rpm is too old (rpm-4.9.1.3-2.mga2) as it was not possible to update +</I>>>>><i> it before the conversion (it pulls filesystem). +</I>>>><i> +</I>>>><i> +</I>>>><i> Yeah in this case if the conversion is done, I'd just recommend +</I>>>><i> installing filesystem --nodeps and the rest should flow. It's not ideal +</I>>>><i> certainly, but there is still time to polish this a bit before upgraders +</I>>>><i> get hit by this (and as there will be updated rpm packages in the stable +</I>>>><i> releases, it should mitigate this specific problem, but we should still +</I>>>><i> see if we can do things better) +</I>>><i> +</I>>><i> +</I>>><i> Polish this a bit? It is not at all ready, and as I said earlier rpmlib is +</I>>><i> broken. Please don't upload broken rpm packages to stable releases. +</I>>><i> +</I>>><i> Maybe the instructions should be: +</I>>><i> - install dracut and kernel-desktop-latest from mga3 +</I>>><i> - reboot, make sure the "usrmove filesystem update" +</I>>><i> kernel entry is chosen in the bootloader +</I>>><i> - upgrade to mga3 as usual +</I>>><i> +</I>>><i> But that means a lot of things are still missing: +</I>>><i> - dracut automatically including the conversion script +</I>>><i> (only when needed?) +</I>>><i> - automatic generation of the bootloader entry mentioned above +</I>><i> +</I>><i> I would vote to also force the reboot into this entry at next boot +</I> +Yeah I was intending to have a new package that would be pushed into +mga2 that ensures dracut is installed (as opposed to mkinitrd - not sure +why you're suggesting kernel-desktop-latest here). + +This new package would take care to install an initrd and add bootloader +entry for (probably) the newest currently installed kernel and probably +ensure it was the default entry until the boot was complete at which +point it would be automatically removed. + +TBH I'm less worried about the "broken" rpmlib issue than Christiaan. +While I can't argue against him technically, I think practical +pragmatism is such that it's not going to be an issue for all but a +handful of people, in which case it's likely not worth me spending +several days working on a more elegant and technically correct solution. + +Col + + +-- + +Colin Guthrie +colin(at)mageia.org +<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A> + +Day Job: + Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A> +Open Source: + Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A> + PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A> + Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="017919.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions +</A></li> + <LI>Next message: <A HREF="017916.html">[Mageia-dev] [changelog] [RPM] cauldron core/release task-obsolete-3-21.mga3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#17926">[ date ]</a> + <a href="thread.html#17926">[ thread ]</a> + <a href="subject.html#17926">[ subject ]</a> + <a href="author.html#17926">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |