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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Minimal mageia install
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Minimal%20mageia%20install&In-Reply-To=%3C20121024140835.GW30237%40morley.gre.hp.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="019494.html">
<LINK REL="Next" HREF="019518.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Minimal mageia install</H1>
<B>Bruno Cornec</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Minimal%20mageia%20install&In-Reply-To=%3C20121024140835.GW30237%40morley.gre.hp.com%3E"
TITLE="[Mageia-dev] Minimal mageia install">Bruno.Cornec at hp.com
</A><BR>
<I>Wed Oct 24 16:08:35 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="019494.html">[Mageia-dev] Minimal mageia install
</A></li>
<LI>Next message: <A HREF="019518.html">[Mageia-dev] fdisk or gparted
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19497">[ date ]</a>
<a href="thread.html#19497">[ thread ]</a>
<a href="subject.html#19497">[ subject ]</a>
<a href="author.html#19497">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hello,
Wolfgang Bornath said on Tue, Oct 23, 2012 at 03:54:38PM +0200:
><i> 2012/10/23 Bruno Cornec <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">Bruno.Cornec at hp.com</A>>:
</I>><i> > Helo,
</I>><i> >
</I>><i> > I'm in the process of redeploying automatically my firewall machine,
</I>><i> > using Mageia. For that I'd like to have a very minimal install.
</I>><i> >
</I>><i> > However, I'm ending up with 580 packages, among them a lot of X11
</I>><i> > content, whereas I want a text base install only.
</I>><i>
</I>><i> I had the same experience with Mageia 1 - the lowest I could get was
</I>><i> somewhere in the high 500. I spent some time tinkering with that but
</I>><i> whatever I tried, whichever package I wanted to remove, I always ended
</I>><i> up with the removal of part of the base system. In the end I gave up
</I>><i> (possibly due to lack of knowledge) :(
</I>><i>
</I>><i> I just checked Olivier's suggestion, ending up with some 270 packages...
</I>
Well I *know* i can do better:
sudo chroot /users/rpmbootstrap/mageia/2/x86_64 /bin/bash
bash-4.2# rpm -aq | wc -l
172
That chroot is made by a tool I'm developing to create build
environments for multiple Linux distributions (supports Fedora, CentOS,
Mageia, Mandriva, OpenSuSE, debian, Ubuntu). Cf: rpmbootstrap in Mageia
(SVN at <A HREF="http://trac.project-builder.org/browser/devel/rpmbootstrap">http://trac.project-builder.org/browser/devel/rpmbootstrap</A> tar
at <A HREF="ftp://ftp.project-builder.org/src/rpmbootstrap-0.12.1.tar.gz">ftp://ftp.project-builder.org/src/rpmbootstrap-0.12.1.tar.gz</A>).
The base approach is to cpio first a list of packages (the minimal one
which allows urpmi to work) and then reinstall them running urpmi.
List of packages is at:
<A HREF="http://trac.project-builder.org/browser/devel/pb-modules/etc/pb.conf">http://trac.project-builder.org/browser/devel/pb-modules/etc/pb.conf</A>
line 389/390.
So I was hoping to get near that number after all. Of course a chroot
doesn't require a boot loader, so all the packages brought due to the
install of grub are creating the extra blurb.
So I already have one mean to make it as small as possible. Now I'm
working on another case, where I just use auto_inst. So I'd like to be
able to use all the params available that could make me as near as
possible of 170 + grub and its deps (the real ones).
Will answer to some other mail in //
Bruno.
--
Open Source & Linux Profession Lead EMEA <A HREF="http://opensource.hp.com">http://opensource.hp.com</A>
EMEA Open Source HPISC Chief Technologist <A HREF="http://hpintelco.net">http://hpintelco.net</A>
FLOSS projects: <A HREF="http://mondorescue.org">http://mondorescue.org</A> <A HREF="http://project-builder.org">http://project-builder.org</A>
Musique ancienne? <A HREF="http://www.musique-ancienne.org">http://www.musique-ancienne.org</A> <A HREF="http://www.medieval.org">http://www.medieval.org</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="019494.html">[Mageia-dev] Minimal mageia install
</A></li>
<LI>Next message: <A HREF="019518.html">[Mageia-dev] fdisk or gparted
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19497">[ date ]</a>
<a href="thread.html#19497">[ thread ]</a>
<a href="subject.html#19497">[ subject ]</a>
<a href="author.html#19497">[ 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>
|