From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-September/018911.html | 100 ++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-September/018911.html (limited to 'zarb-ml/mageia-dev/2012-September/018911.html') 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 @@ + + + + [Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions + + + + + + + + + +

[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions

+ Thierry Vignaud + thierry.vignaud at gmail.com +
+ Tue Sep 25 12:07:49 CEST 2012 +

+
+ +
On 9 September 2012 20:42, Colin Guthrie <mageia at colin.guthr.ie> wrote:
+>> Those cannot be done anymore.
+>> Now updating rpm in order to be able to sole the unifiedsystemdir depends
+>> pulls filesystem...
+>> Classic egg & chicken issue...
+>
+> Yes, this has been a problem for a while now in Cauldron. But not many
+> users are asking this question these days, so the likely path now is
+> from mga2 -> cauldron which is probably where the effort should be focused.
+
+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")
+
+ + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1