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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] automatic chroot install using urpmi
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20automatic%20chroot%20install%20using%20urpmi&In-Reply-To=%3C1307623073.21161.7.camel%40vase%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="005275.html">
<LINK REL="Next" HREF="005283.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] automatic chroot install using urpmi</H1>
<B>Vasiliy G Tolstov</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20automatic%20chroot%20install%20using%20urpmi&In-Reply-To=%3C1307623073.21161.7.camel%40vase%3E"
TITLE="[Mageia-dev] automatic chroot install using urpmi">v.tolstov at selfip.ru
</A><BR>
<I>Thu Jun 9 14:37:53 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="005275.html">[Mageia-dev] automatic chroot install using urpmi
</A></li>
<LI>Next message: <A HREF="005283.html">[Mageia-dev] automatic chroot install using urpmi
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5282">[ date ]</a>
<a href="thread.html#5282">[ thread ]</a>
<a href="subject.html#5282">[ subject ]</a>
<a href="author.html#5282">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Thu, 2011-06-09 at 16:12 +0400, Vasiliy G Tolstov wrote:
><i> On Thu, 2011-06-09 at 16:08 +0400, Vasiliy G Tolstov wrote:
</I>><i> > On Thu, 2011-06-09 at 05:47 +0200, Bruno Cornec wrote:
</I>><i> > > Vasiliy G Tolstov said on Wed, Jun 08, 2011 at 04:26:35PM +0400:
</I>><i> > >
</I>><i> > > > Thank's for answer. Very well. If i use basesystem-minimal and append
</I>><i> > > > grub systemd ntpd openssh-server and kernel, does that system can
</I>><i> > > > boot-up ?
</I>><i> > >
</I>><i> > > You may want to look at rpmbootstrap, which was working fine for
</I>><i> > > mdv2010.2 and thus should easily work for mageia 1 as well. (part of
</I>><i> > > project-builder.org), this tools creates operational chroot for RPM
</I>><i> > > based distros, similar to debbootstrap and better than rinse or mock ,
</I>><i> > > as being multi distro (fedora, rhel, opensuse, mdv, mageia, ...)
</I>><i> > >
</I>><i> > > I use it to create the chroots (VEs) needed by project-builder.org to
</I>><i> > > build its packages, zhen not using VMs.
</I>><i> > >
</I>><i> > > HTH,
</I>><i> > > Bruno.
</I>><i> >
</I>><i> > I'm port project-builder to my linux distro - Exherbo. Fedora build
</I>><i> > success, but centos 5.6 with cmd line like:
</I>><i> >
</I>><i> > rpmbootstrap -v centos-5.6-x86_64 -a
</I>><i> > acl,anacron,attr,audit,bc,diffutils,file,ftp,grub,groff,ipsec-tools,iptables,iptables-ipv6,kbd,
</I>><i> > jwhois,kernel-xen,man,man-pages,mgetty,ntp,passwd,quota,screen,checkpolicy,libselinux-utils,
</I>><i> > policycoreutils,selinux-policy-targeted,sysfsutils,sysklogd,system-config-securitylevel-tui,
</I>><i> > time,unzip,vim-enhanced,which,wget,openssh-clients,openssh,openssh-server,libselinux-utils,
</I>><i> > libselinux-python,at,setools,setuptool,rootfiles,setarch,yum-priorities,yum-downloadonly,yum-utils,exim /root/t
</I>><i> >
</I>><i> > can't determine mirror... if i specify version 5, it tries to install
</I>><i> > 5.5 that not in kernel.org mirror... can i specify url where rpm lives?
</I>><i> >
</I>><i> >
</I>><i>
</I>><i> Hmm I'm specify mirror, but it not helps:
</I>><i> rpmbootstrap -v centos-5.6-x86_64 /root/t
</I>><i> <A HREF="http://mirror.yandex.ru/centos/5.6/os/x86_64/CentOS">http://mirror.yandex.ru/centos/5.6/os/x86_64/CentOS</A>
</I>><i>
</I>><i> process stopped with:
</I>><i> Debug value: 1
</I>><i> Starting VE build for centos-5.6-x86_64
</I>><i> Downloading package list from ...
</I>><i>
</I>><i>
</I>
Ok. Error
is /usr/lib/perl5/vendor_perl/5.12.3/ProjectBuilder/Distribution.pm line
52
sub pb_distro_conffile {
return("/usr/local/etc/pb/pb.conf");
}
This path is incorrect and must depends on prefix .. in my case this
config in /etc/pb.conf
And please, upgrade centos version in it to 5.6 - 5.5 not in mirrors
now.
--
Vasiliy G Tolstov <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">v.tolstov at selfip.ru</A>>
Selfip.Ru
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="005275.html">[Mageia-dev] automatic chroot install using urpmi
</A></li>
<LI>Next message: <A HREF="005283.html">[Mageia-dev] automatic chroot install using urpmi
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5282">[ date ]</a>
<a href="thread.html#5282">[ thread ]</a>
<a href="subject.html#5282">[ subject ]</a>
<a href="author.html#5282">[ 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>
|