diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-September/018911.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-September/018911.html | 100 |
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! <---- 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! <---- 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! <---- 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! <---- Instructions +</A></li> + <LI>Next message: <A HREF="018913.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- 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 <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: +>><i> Those cannot be done anymore. +</I>>><i> Now updating rpm in order to be able to sole the unifiedsystemdir depends +</I>>><i> pulls filesystem... +</I>>><i> Classic egg & chicken issue... +</I>><i> +</I>><i> Yes, this has been a problem for a while now in Cauldron. But not many +</I>><i> users are asking this question these days, so the likely path now is +</I>><i> from mga2 -> 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 <lua>): +--# +--# 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("/usr") == nil then + posix.mkdir("/usr") +end + +for i,dir in ipairs({"/lib", "/lib64", "/sbin", "/bin"}) do + if posix.stat("/usr"..dir) == nil then + posix.mkdir("/usr"..dir) + if posix.stat(dir, "mode") == nil then + posix.symlink("usr"..dir, dir) + end + end +end + +return 0 +postinstall scriptlet (using <lua>): +posix.symlink("../run", "/var/run") +posix.symlink("../run/lock", "/var/lock") +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="018603.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions +</A></li> + <LI>Next message: <A HREF="018913.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- 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> |