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