summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-August/017918.html
blob: 00ba1db4af259e5aa9b438ec404fead9cec28d49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!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=%3Calpine.LMD.2.02.1208031217520.20527%40zem.cjw.nep%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="017917.html">
   <LINK REL="Next"  HREF="017919.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions</H1>
    <B>Christiaan Welvaart</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=%3Calpine.LMD.2.02.1208031217520.20527%40zem.cjw.nep%3E"
       TITLE="[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions">cjw at daneel.dyndns.org
       </A><BR>
    <I>Fri Aug  3 12:27:37 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="017917.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
</A></li>
        <LI>Next message: <A HREF="017919.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17918">[ date ]</a>
              <a href="thread.html#17918">[ thread ]</a>
              <a href="subject.html#17918">[ subject ]</a>
              <a href="author.html#17918">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Fri, 3 Aug 2012, Colin Guthrie wrote:

&gt;<i> 'Twas brillig, and Pascal Terjan at 03/08/12 00:40 did gyre and gimble:
</I>&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;<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; wrote:
</I>&gt;&gt;&gt;&gt;<i> OK, so the packages have now all been uploaded.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> You should see several packages now that you cannot install on Cauldron.
</I>&gt;&gt;&gt;&gt;<i> This is intended behaviour.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Here is how to update your cauldron systems:
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i>  1. Run &quot;urpmi --auto-update&quot; install everything that can be installed.
</I>&gt;&gt;&gt;&gt;<i>  2. Ensure that latest dracut is installed. Run &quot;urpmi dracut&quot; to make
</I>&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;<i> transaction with other packages that could not be installed).
</I>&gt;&gt;&gt;&gt;<i>  3. Ensure that you do not have zapata or dpkg installed (rpm -e zapata;
</I>&gt;&gt;&gt;&gt;<i> rpm -e dpkg)
</I>&gt;&gt;&gt;&gt;<i>  4. Generate a new initrd and include the conversion script: dracut -f
</I>&gt;&gt;&gt;&gt;<i> -a convertfs
</I>&gt;&gt;&gt;&gt;<i>  5. If you have /usr on a separate partition
</I>&gt;&gt;&gt;&gt;<i>      - Ensure there is enough free space to hold /bin, /sbin, /lib and
</I>&gt;&gt;&gt;&gt;<i> /lib64 content.
</I>&gt;&gt;&gt;&gt;<i>      - If your /usr is mounted readonly, change your /etc/fstab to mount
</I>&gt;&gt;&gt;&gt;<i> it rw.
</I>&gt;&gt;&gt;&gt;<i>  6. Reboot.
</I>&gt;&gt;&gt;&gt;<i>  7. At the bootloader prompt, edit the command line and append: &quot;rw
</I>&gt;&gt;&gt;&gt;<i> rd.convertfs&quot; (without the quotes) to your command line and then boot.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> That should be all that is needed :)
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> How to update a chroot?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Answering to myself:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> chroot $chroot urpmi dracut
</I>&gt;&gt;<i> $chroot/usr/lib/dracut/modules.d/30convertfs/convertfs.sh $chroot
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> That did the conversion, but I still can't update, probably because my
</I>&gt;&gt;<i> rpm is too old (rpm-4.9.1.3-2.mga2) as it was not possible to update
</I>&gt;&gt;<i> it before the conversion (it pulls filesystem).
</I>&gt;<i>
</I>&gt;<i> Yeah in this case if the conversion is done, I'd just recommend
</I>&gt;<i> installing filesystem --nodeps and the rest should flow. It's not ideal
</I>&gt;<i> certainly, but there is still time to polish this a bit before upgraders
</I>&gt;<i> get hit by this (and as there will be updated rpm packages in the stable
</I>&gt;<i> releases, it should mitigate this specific problem, but we should still
</I>&gt;<i> see if we can do things better)
</I>
Polish this a bit? It is not at all ready, and as I said earlier rpmlib is 
broken. Please don't upload broken rpm packages to stable releases.

Maybe the instructions should be:
   - install dracut and kernel-desktop-latest from mga3
   - reboot, make sure the &quot;usrmove filesystem update&quot;
     kernel entry is chosen in the bootloader
   - upgrade to mga3 as usual

But that means a lot of things are still missing:
   - dracut automatically including the conversion script
     (only when needed?)
   - automatic generation of the bootloader entry mentioned above
   - removal of this bootloader entry after conversion


     Christiaan
</PRE>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="017917.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
</A></li>
	<LI>Next message: <A HREF="017919.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17918">[ date ]</a>
              <a href="thread.html#17918">[ thread ]</a>
              <a href="subject.html#17918">[ subject ]</a>
              <a href="author.html#17918">[ 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>