summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110312/003253.html
blob: 543a59b1685caf4642191d87d1308854b765f403 (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
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 &#233;crit :
&gt;<i>
</I>&gt;<i> Le jeudi 10 mars 2011 12:17:11, nicolas vigier a &#233;crit :
</I>&gt;&gt;<i> On Thu, 10 Mar 2011, Maarten Vanraes wrote:
</I>&gt;&gt;&gt;<i> Op donderdag 10 maart 2011 00:22:36 schreef nicolas vigier:
</I>&gt;&gt;&gt;&gt;<i> On Thu, 10 Mar 2011, Maarten Vanraes wrote:
</I>&gt;&gt;&gt;&gt;&gt;<i> Hi,
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> for the purpose of testing package building locally;
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i>   - you're a careful packager and test out everything locally before
</I>&gt;&gt;&gt;&gt;&gt;<i>   submitting - you're a novice packager and want to practise
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> i would like to make a VM that acts like a buildnode, with the
</I>&gt;&gt;&gt;&gt;&gt;<i> following
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> requirements:
</I>&gt;&gt;&gt;&gt;&gt;<i>   - mageia system (not mandriva)
</I>&gt;&gt;&gt;&gt;&gt;<i>   - preferably headless
</I>&gt;&gt;&gt;&gt;&gt;<i>   - ssh on by default
</I>&gt;&gt;&gt;&gt;&gt;<i>   - building 32bit AND 64bit packages
</I>&gt;&gt;&gt;&gt;&gt;<i>   - using chroots to build and preferably having basesystem chroots on
</I>&gt;&gt;&gt;&gt;&gt;<i>   it. also
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> cleans up so buildrequires are properly tested, and lint checking and
</I>&gt;&gt;&gt;&gt;&gt;<i> what else a buildnode normally does.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> This can be done using iurt.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> so, how exactly does this work? iurt automagically build basesystem
</I>&gt;&gt;&gt;<i> chroots and chrootbuilds stuff? is there any task that is needed for
</I>&gt;&gt;&gt;<i> this kind of thing?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Yes. See iurt package. And iurt config file used on the cluster :
</I>&gt;&gt;<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>&gt;&gt;<i> dron.conf?revision=734&amp;view=markup
</I>&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i>   - no signing step
</I>&gt;&gt;&gt;&gt;&gt;<i>   - still as small as possible so it can be put somewhere for
</I>&gt;&gt;&gt;&gt;&gt;<i>   downloading. - nice to have is possibly a sort of local submission
</I>&gt;&gt;&gt;&gt;&gt;<i>   tree so submitting
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> could also be practised.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> You mean installing a full build system in a VM ?
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> You can try to do it using puppet, and the puppet modules on svn :
</I>&gt;&gt;&gt;&gt;<i> <A HREF="http://svnweb.mageia.org/adm/">http://svnweb.mageia.org/adm/</A>
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> well, i donno, i don't know puppet and this is not meant to be used in a
</I>&gt;&gt;&gt;<i> controlled environment, but just built like this and people use it
</I>&gt;&gt;&gt;<i> locally. there is not really any need to remote control this machine.
</I>&gt;&gt;&gt;<i> just a one time setup.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> The easiest way to setup a buildsystem is using puppet. Otherwise it
</I>&gt;&gt;<i> will be more difficult.
</I>&gt;<i>
</I>&gt;<i> Could someone from the sysadmins write (if it has not been done already) a
</I>&gt;<i> quick guide for puppet use, for example &quot;how to deploy a buildnode using
</I>&gt;<i> puppet&quot; ? I guess that would help Maarteen a lot :)
</I>&gt;<i>
</I>&gt;<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&#233;
</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>