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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
<!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=%3CCA%2BCX%2BbgLoVQ5zG%3D4VGT8eMM20iyvT%3D2uYkQLT%2B07JBtSmUp0uA%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="017918.html">
<LINK REL="Next" HREF="017926.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions</H1>
<B>Pascal Terjan</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=%3CCA%2BCX%2BbgLoVQ5zG%3D4VGT8eMM20iyvT%3D2uYkQLT%2B07JBtSmUp0uA%40mail.gmail.com%3E"
TITLE="[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions">pterjan at gmail.com
</A><BR>
<I>Fri Aug 3 12:32:24 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="017918.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions
</A></li>
<LI>Next message: <A HREF="017926.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17919">[ date ]</a>
<a href="thread.html#17919">[ thread ]</a>
<a href="subject.html#17919">[ subject ]</a>
<a href="author.html#17919">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Fri, Aug 3, 2012 at 11:27 AM, Christiaan Welvaart
<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">cjw at daneel.dyndns.org</A>> wrote:
><i> On Fri, 3 Aug 2012, Colin Guthrie wrote:
</I>><i>
</I>>><i> 'Twas brillig, and Pascal Terjan at 03/08/12 00:40 did gyre and gimble:
</I>>>><i>
</I>>>><i> On Fri, Aug 3, 2012 at 12:23 AM, Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>> wrote:
</I>>>>><i>
</I>>>>><i> On Sun, Jul 22, 2012 at 1:12 AM, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>>
</I>>>>><i> wrote:
</I>>>>>><i>
</I>>>>>><i> OK, so the packages have now all been uploaded.
</I>>>>>><i>
</I>>>>>><i> You should see several packages now that you cannot install on
</I>>>>>><i> Cauldron.
</I>>>>>><i> This is intended behaviour.
</I>>>>>><i>
</I>>>>>><i> Here is how to update your cauldron systems:
</I>>>>>><i>
</I>>>>>><i> 1. Run "urpmi --auto-update" install everything that can be installed.
</I>>>>>><i> 2. Ensure that latest dracut is installed. Run "urpmi dracut" to make
</I>>>>>><i> sure (it may have been excluded in the --auto-update if it was in a
</I>>>>>><i> transaction with other packages that could not be installed).
</I>>>>>><i> 3. Ensure that you do not have zapata or dpkg installed (rpm -e
</I>>>>>><i> zapata;
</I>>>>>><i> rpm -e dpkg)
</I>>>>>><i> 4. Generate a new initrd and include the conversion script: dracut -f
</I>>>>>><i> -a convertfs
</I>>>>>><i> 5. If you have /usr on a separate partition
</I>>>>>><i> - Ensure there is enough free space to hold /bin, /sbin, /lib and
</I>>>>>><i> /lib64 content.
</I>>>>>><i> - If your /usr is mounted readonly, change your /etc/fstab to
</I>>>>>><i> mount
</I>>>>>><i> it rw.
</I>>>>>><i> 6. Reboot.
</I>>>>>><i> 7. At the bootloader prompt, edit the command line and append: "rw
</I>>>>>><i> rd.convertfs" (without the quotes) to your command line and then boot.
</I>>>>>><i>
</I>>>>>><i> That should be all that is needed :)
</I>>>>><i>
</I>>>>><i>
</I>>>>><i> How to update a chroot?
</I>>>><i>
</I>>>><i>
</I>>>><i> Answering to myself:
</I>>>><i>
</I>>>><i> chroot $chroot urpmi dracut
</I>>>><i> $chroot/usr/lib/dracut/modules.d/30convertfs/convertfs.sh $chroot
</I>>>><i>
</I>>>><i> That did the conversion, but I still can't update, probably because my
</I>>>><i> rpm is too old (rpm-4.9.1.3-2.mga2) as it was not possible to update
</I>>>><i> it before the conversion (it pulls filesystem).
</I>>><i>
</I>>><i>
</I>>><i> Yeah in this case if the conversion is done, I'd just recommend
</I>>><i> installing filesystem --nodeps and the rest should flow. It's not ideal
</I>>><i> certainly, but there is still time to polish this a bit before upgraders
</I>>><i> get hit by this (and as there will be updated rpm packages in the stable
</I>>><i> releases, it should mitigate this specific problem, but we should still
</I>>><i> see if we can do things better)
</I>><i>
</I>><i>
</I>><i> Polish this a bit? It is not at all ready, and as I said earlier rpmlib is
</I>><i> broken. Please don't upload broken rpm packages to stable releases.
</I>><i>
</I>><i> Maybe the instructions should be:
</I>><i> - install dracut and kernel-desktop-latest from mga3
</I>><i> - reboot, make sure the "usrmove filesystem update"
</I>><i> kernel entry is chosen in the bootloader
</I>><i> - upgrade to mga3 as usual
</I>><i>
</I>><i> But that means a lot of things are still missing:
</I>><i> - dracut automatically including the conversion script
</I>><i> (only when needed?)
</I>><i> - automatic generation of the bootloader entry mentioned above
</I>
I would vote to also force the reboot into this entry at next boot
><i> - removal of this bootloader entry after conversion
</I>><i>
</I>><i>
</I>><i> Christiaan
</I></PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="017918.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions
</A></li>
<LI>Next message: <A HREF="017926.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17919">[ date ]</a>
<a href="thread.html#17919">[ thread ]</a>
<a href="subject.html#17919">[ subject ]</a>
<a href="author.html#17919">[ 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>
|