blob: c8d0f9b6c368cbf20ddd2924a9674bb2a6520c9c (
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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] New dracut - please test
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20New%20dracut%20-%20please%20test&In-Reply-To=%3C201202250954.25496.alien%40rmail.be%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="012306.html">
<LINK REL="Next" HREF="012314.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] New dracut - please test</H1>
<B>Maarten Vanraes</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20New%20dracut%20-%20please%20test&In-Reply-To=%3C201202250954.25496.alien%40rmail.be%3E"
TITLE="[Mageia-dev] New dracut - please test">alien at rmail.be
</A><BR>
<I>Sat Feb 25 09:54:25 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="012306.html">[Mageia-dev] New dracut - please test
</A></li>
<LI>Next message: <A HREF="012314.html">[Mageia-dev] New dracut - please test
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12308">[ date ]</a>
<a href="thread.html#12308">[ thread ]</a>
<a href="subject.html#12308">[ subject ]</a>
<a href="author.html#12308">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Op zaterdag 25 februari 2012 08:35:11 schreef David W. Hodgins:
><i> On Fri, 24 Feb 2012 06:42:01 -0500, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>>
</I>wrote:
><i> > The other big change here is to automatically generate a much bigger
</I>><i> > initramfs when doing an upgrade from mga1. This will include a lot more
</I>><i> > stuff (e.g. lvm, raid etc) that may or may not be needed on a given
</I>><i> > setup, but until you boot with dracut you cannot generate an initramfs
</I>><i> > that will be able to detect only what is needed for boot.
</I>><i>
</I>><i> Looking at the current version of the init script, it's clear
</I>><i> what the problem is ...
</I>><i>
</I>><i> check_finished && break
</I>><i>
</I>><i> udevsettle
</I>><i>
</I>><i> check_finished && break
</I>><i>
</I>><i> The above statement will always be true on a single core
</I>><i> system, so the following code never gets executed.
</I>><i>
</I>><i> if [ -f $hookdir/initqueue/work ]; then
</I>><i> rm $hookdir/initqueue/work
</I>><i> fi
</I>><i>
</I>><i> for job in $hookdir/initqueue/*.sh; do
</I>><i> [ -e "$job" ] || break
</I>><i> job=$job . $job
</I>><i> check_finished && break 2
</I>><i> done
</I>><i>
</I>><i> Regards, Dave Hodgins
</I>
maybe
check_finished && break
( udevsettle ; check_finished && break ) &
would work?
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="012306.html">[Mageia-dev] New dracut - please test
</A></li>
<LI>Next message: <A HREF="012314.html">[Mageia-dev] New dracut - please test
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12308">[ date ]</a>
<a href="thread.html#12308">[ thread ]</a>
<a href="subject.html#12308">[ subject ]</a>
<a href="author.html#12308">[ 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>
|