summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-September/018911.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-September/018911.html')
-rw-r--r--zarb-ml/mageia-dev/2012-September/018911.html100
1 files changed, 100 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-September/018911.html b/zarb-ml/mageia-dev/2012-September/018911.html
new file mode 100644
index 000000000..43cb3ab9d
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-September/018911.html
@@ -0,0 +1,100 @@
+<!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=%3CCAONrEtZVVUFV13r1HtidgkESdY7AKKTRHS%3Dguqhsqzqniu3fvg%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="018603.html">
+ <LINK REL="Next" HREF="018913.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions</H1>
+ <B>Thierry Vignaud</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=%3CCAONrEtZVVUFV13r1HtidgkESdY7AKKTRHS%3Dguqhsqzqniu3fvg%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions">thierry.vignaud at gmail.com
+ </A><BR>
+ <I>Tue Sep 25 12:07:49 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="018603.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
+</A></li>
+ <LI>Next message: <A HREF="018913.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18911">[ date ]</a>
+ <a href="thread.html#18911">[ thread ]</a>
+ <a href="subject.html#18911">[ subject ]</a>
+ <a href="author.html#18911">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 9 September 2012 20:42, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
+&gt;&gt;<i> Those cannot be done anymore.
+</I>&gt;&gt;<i> Now updating rpm in order to be able to sole the unifiedsystemdir depends
+</I>&gt;&gt;<i> pulls filesystem...
+</I>&gt;&gt;<i> Classic egg &amp; chicken issue...
+</I>&gt;<i>
+</I>&gt;<i> Yes, this has been a problem for a while now in Cauldron. But not many
+</I>&gt;<i> users are asking this question these days, so the likely path now is
+</I>&gt;<i> from mga2 -&gt; cauldron which is probably where the effort should be focused.
+</I>
+BTW I tested live upgrade from FC17 to FC18.
+It works smoothly if you don't have third party packages.
+in FC there's no need for a special boot, everything is hanled by filesystem
+package's pre/post scripts:
+
+$ rpm -q --scripts filesystem -v
+pretrans scriptlet (using &lt;lua&gt;):
+--#
+--# If we are running in pretrans in a fresh root, there is no /usr
+and symlinks.
+--# We cannot be sure, to be the very first rpm in the transaction list,
+--# so, let's create the toplevel symlinks here and the directories
+they point to.
+--# When our rpm is unpacked by cpio, it will set all permissions and
+modes later.
+--#
+
+if posix.stat(&quot;/usr&quot;) == nil then
+ posix.mkdir(&quot;/usr&quot;)
+end
+
+for i,dir in ipairs({&quot;/lib&quot;, &quot;/lib64&quot;, &quot;/sbin&quot;, &quot;/bin&quot;}) do
+ if posix.stat(&quot;/usr&quot;..dir) == nil then
+ posix.mkdir(&quot;/usr&quot;..dir)
+ if posix.stat(dir, &quot;mode&quot;) == nil then
+ posix.symlink(&quot;usr&quot;..dir, dir)
+ end
+ end
+end
+
+return 0
+postinstall scriptlet (using &lt;lua&gt;):
+posix.symlink(&quot;../run&quot;, &quot;/var/run&quot;)
+posix.symlink(&quot;../run/lock&quot;, &quot;/var/lock&quot;)
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="018603.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
+</A></li>
+ <LI>Next message: <A HREF="018913.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18911">[ date ]</a>
+ <a href="thread.html#18911">[ thread ]</a>
+ <a href="subject.html#18911">[ subject ]</a>
+ <a href="author.html#18911">[ 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>