[Mageia-dev] automatic chroot install using urpmi
Vasiliy G Tolstov
v.tolstov at selfip.ru
Thu Jun 9 14:37:53 CEST 2011
On Thu, 2011-06-09 at 16:12 +0400, Vasiliy G Tolstov wrote:
> On Thu, 2011-06-09 at 16:08 +0400, Vasiliy G Tolstov wrote:
> > On Thu, 2011-06-09 at 05:47 +0200, Bruno Cornec wrote:
> > > Vasiliy G Tolstov said on Wed, Jun 08, 2011 at 04:26:35PM +0400:
> > >
> > > > Thank's for answer. Very well. If i use basesystem-minimal and append
> > > > grub systemd ntpd openssh-server and kernel, does that system can
> > > > boot-up ?
> > >
> > > You may want to look at rpmbootstrap, which was working fine for
> > > mdv2010.2 and thus should easily work for mageia 1 as well. (part of
> > > project-builder.org), this tools creates operational chroot for RPM
> > > based distros, similar to debbootstrap and better than rinse or mock ,
> > > as being multi distro (fedora, rhel, opensuse, mdv, mageia, ...)
> > >
> > > I use it to create the chroots (VEs) needed by project-builder.org to
> > > build its packages, zhen not using VMs.
> > >
> > > HTH,
> > > Bruno.
> >
> > I'm port project-builder to my linux distro - Exherbo. Fedora build
> > success, but centos 5.6 with cmd line like:
> >
> > rpmbootstrap -v centos-5.6-x86_64 -a
> > acl,anacron,attr,audit,bc,diffutils,file,ftp,grub,groff,ipsec-tools,iptables,iptables-ipv6,kbd,
> > jwhois,kernel-xen,man,man-pages,mgetty,ntp,passwd,quota,screen,checkpolicy,libselinux-utils,
> > policycoreutils,selinux-policy-targeted,sysfsutils,sysklogd,system-config-securitylevel-tui,
> > time,unzip,vim-enhanced,which,wget,openssh-clients,openssh,openssh-server,libselinux-utils,
> > libselinux-python,at,setools,setuptool,rootfiles,setarch,yum-priorities,yum-downloadonly,yum-utils,exim /root/t
> >
> > can't determine mirror... if i specify version 5, it tries to install
> > 5.5 that not in kernel.org mirror... can i specify url where rpm lives?
> >
> >
>
> Hmm I'm specify mirror, but it not helps:
> rpmbootstrap -v centos-5.6-x86_64 /root/t
> http://mirror.yandex.ru/centos/5.6/os/x86_64/CentOS
>
> process stopped with:
> Debug value: 1
> Starting VE build for centos-5.6-x86_64
> Downloading package list from ...
>
>
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 <v.tolstov at selfip.ru>
Selfip.Ru
More information about the Mageia-dev
mailing list