Moinak Ghosh <[email protected]> wrote:

> > Last night, I published the first steps towards SVr4 packaging, see:
> >
> >        http://hg.berlios.de/repos/schillix-on
> >
> > The code compiles (see 
> > http://schillix.berlios.de/pmwiki.php/Main/HowtoCompile)
> > and it builds packages for most of the files.
> >
> > BTW: I would be interested in a timing for a "hg clone" operation from 
> > India.
> > I am ready after 3 minutes from my VDSL at home.
> >
>
>    Here is the timing (no other network using process was running):
> moinakg@rigel:~$ time hg clone http://hg.berlios.de/repos/schillix-on
> destination directory: schillix-on
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 13196 changesets with 153454 changes to 59926 files
> updating working directory
> 46223 files updated, 0 files merged, 0 files removed, 0 files unresolved
>
> real  14m23.841s
> user  3m20.819s
> sys   0m36.636s
>
>    I have a fairly basic 2Mbps ADSL line.

This looks promising. Thank you for the test!

> > Do you create rpm packages with similar names and content as the Sun 
> > packages?
> > Did you create your rpm spec files by hand or did you automate this step?
> >
>
>    I will be partly following the new naming scheme in IPS. I will
>    not use hierarchical names as they are too verbose and difficult
>    to remember. Just the last component which is the actual package
>    name. RPM's grouping/categorization is fine.

So I asume that you did create the rpm spec files manually?

I did create the SVR4 packages (the changes and new packages since build 135) 
manually. There are currently 270 files left overt that need to be introduced 
into existing packages.

Regarding the naming scheme, I did introduce a new tag in the pkginfo file that 
follows the IPS naming scheme:

SUNWinstall-beadmr/pkginfo.tmpl:

PKG=SUNWinstall-beadmr
SCHILY_PKGNAME="install/beadm@PKGVERS:TIME"
SCHILY_OLDNAME="SUNWbeadmr"
NAME="beadm utility (Root)"
ARCH="ISA"
VERSION="ONVERS,REV=0.0.0"

translates into:

SUNWinstall-beadmr/pkginfo:

PKG=SUNWinstall-beadmr
SCHILY_PKGNAME="install/[email protected],5.11-0.148:20110224T151211Z"
SCHILY_OLDNAME="SUNWbeadmr"
NAME="beadm utility (Root)"
ARCH="i386"
VERSION="11.11,REV=2011.02.24.16.12"

and there is
SUNWbeadmr/pkginfo.tmpl:

PKG=SUNWbeadmr
SCHILY_NEWNAME="SUNWinstall-beadmr"
NAME="beadm utility (Root)"
ARCH="ISA"
VERSION="ONVERS,REV=0.0.0"
SUNW_PRODNAME="SunOS"
SUNW_PRODVERS="RELEASE/VERSION"

with a back pointer to the new SVR4 package name.

There is a script "pkgsort" that automatically creates a list with package
names in the needed install order (pkgsort takes 7 seconds to finish).

see: 
http://hg.berlios.de/repos/schillix-on/file/0fd93319a782/usr/src/pkgdefs/pkgsort

and there is "pkginstall" that installs all Schillix-ON packages in 50 seconds:

http://hg.berlios.de/repos/schillix-on/file/0fd93319a782/usr/src/pkgdefs/pkginstall

I will later introduce a wrapper that allows to work based on the IPS package 
names.

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
belenix-discuss mailing list
http://mail.opensolaris.org/mailman/listinfo/belenix-discuss
http://groups.google.com/group/belenix-discuss

Reply via email to