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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] help wanted for building a buildnode-in-a-VM
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20help%20wanted%20for%20building%20a%20buildnode-in-a-VM&In-Reply-To=%3C4D7AB644.2060006%40laposte.net%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Next" HREF="003254.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] help wanted for building a buildnode-in-a-VM</H1>
<B>andre999</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20help%20wanted%20for%20building%20a%20buildnode-in-a-VM&In-Reply-To=%3C4D7AB644.2060006%40laposte.net%3E"
TITLE="[Mageia-dev] help wanted for building a buildnode-in-a-VM">andr55 at laposte.net
</A><BR>
<I>Sat Mar 12 00:54:44 CET 2011</I>
<P><UL>
<LI>Next message: <A HREF="003254.html">[Mageia-dev] My account, and accounts which are left
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3253">[ date ]</a>
<a href="thread.html#3253">[ thread ]</a>
<a href="subject.html#3253">[ subject ]</a>
<a href="author.html#3253">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Samuel Verschelde a écrit :
><i>
</I>><i> Le jeudi 10 mars 2011 12:17:11, nicolas vigier a écrit :
</I>>><i> On Thu, 10 Mar 2011, Maarten Vanraes wrote:
</I>>>><i> Op donderdag 10 maart 2011 00:22:36 schreef nicolas vigier:
</I>>>>><i> On Thu, 10 Mar 2011, Maarten Vanraes wrote:
</I>>>>>><i> Hi,
</I>>>>>><i>
</I>>>>>><i> for the purpose of testing package building locally;
</I>>>>>><i>
</I>>>>>><i> - you're a careful packager and test out everything locally before
</I>>>>>><i> submitting - you're a novice packager and want to practise
</I>>>>>><i>
</I>>>>>><i> i would like to make a VM that acts like a buildnode, with the
</I>>>>>><i> following
</I>>>>>><i>
</I>>>>>><i> requirements:
</I>>>>>><i> - mageia system (not mandriva)
</I>>>>>><i> - preferably headless
</I>>>>>><i> - ssh on by default
</I>>>>>><i> - building 32bit AND 64bit packages
</I>>>>>><i> - using chroots to build and preferably having basesystem chroots on
</I>>>>>><i> it. also
</I>>>>>><i>
</I>>>>>><i> cleans up so buildrequires are properly tested, and lint checking and
</I>>>>>><i> what else a buildnode normally does.
</I>>>>><i>
</I>>>>><i> This can be done using iurt.
</I>>>><i>
</I>>>><i> so, how exactly does this work? iurt automagically build basesystem
</I>>>><i> chroots and chrootbuilds stuff? is there any task that is needed for
</I>>>><i> this kind of thing?
</I>>><i>
</I>>><i> Yes. See iurt package. And iurt config file used on the cluster :
</I>>><i> <A HREF="http://svnweb.mageia.org/adm/puppet/modules/buildsystem/templates/iurt.caul">http://svnweb.mageia.org/adm/puppet/modules/buildsystem/templates/iurt.caul</A>
</I>>><i> dron.conf?revision=734&view=markup
</I>>><i>
</I>>>>>><i> - no signing step
</I>>>>>><i> - still as small as possible so it can be put somewhere for
</I>>>>>><i> downloading. - nice to have is possibly a sort of local submission
</I>>>>>><i> tree so submitting
</I>>>>>><i>
</I>>>>>><i> could also be practised.
</I>>>>><i>
</I>>>>><i> You mean installing a full build system in a VM ?
</I>>>>><i>
</I>>>>><i> You can try to do it using puppet, and the puppet modules on svn :
</I>>>>><i> <A HREF="http://svnweb.mageia.org/adm/">http://svnweb.mageia.org/adm/</A>
</I>>>><i>
</I>>>><i> well, i donno, i don't know puppet and this is not meant to be used in a
</I>>>><i> controlled environment, but just built like this and people use it
</I>>>><i> locally. there is not really any need to remote control this machine.
</I>>>><i> just a one time setup.
</I>>><i>
</I>>><i> The easiest way to setup a buildsystem is using puppet. Otherwise it
</I>>><i> will be more difficult.
</I>><i>
</I>><i> Could someone from the sysadmins write (if it has not been done already) a
</I>><i> quick guide for puppet use, for example "how to deploy a buildnode using
</I>><i> puppet" ? I guess that would help Maarteen a lot :)
</I>><i>
</I>><i> Samuel
</I>
I'd like to see that too. (Another novice packager.)
I've done some changes to ~/.rpmmacros to modify a little the local
build, and I do compile everything I import, but I'd really like to
simulate the mageia environment.
It would also be nice to see an indication of minimum + likely disk
space requirements
thanks :)
--
André
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Next message: <A HREF="003254.html">[Mageia-dev] My account, and accounts which are left
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3253">[ date ]</a>
<a href="thread.html#3253">[ thread ]</a>
<a href="subject.html#3253">[ subject ]</a>
<a href="author.html#3253">[ 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>
|