On Thu, Dec 2, 2010 at 8:55 AM, kunal ghosh <[email protected]> wrote:
> Hi , > > I was trying to download a package from the pkg.openindiana.org/dev repo, > as a first step to convert an ips package to an rpm package. > i used the following command: > pfexec pkgrecv -k -s http://pkg.openindiana.org/dev -d > /export/home/kunal/test "archiver/[email protected] > ,5.11-0.147:20100914T022946Z" > and got a directory full of files which appear to be pieces of the original > file ( the pieces appear to be binary dump). > Any suggestions as to how to go ahead ? > ok i finally understood what is happening: following my last email about how to download an IPS package from a repository. Actually i was half way through :) so, 1. get the package "Along with all metadata etc" from the repo using the "pkgrecv" command. pkgrecv -d tTemp -s "http://pkg.openindiana.org/dev/" "web/aget" 2. open the manifest.file and look for the entry for "group=bin" and path= something that looks familiar to the path where all binary files are stored. 3. the attribute file ... gives the filename of the binary (Its actually in hash form). Just a test : cp <the hash filename> <name of binary> chmod +x <name of binary> ./<name of binary> there you go , the binary executes :) Actually this was step 1 to create a RPM from IPS package. It would be more useful to mirror the whole IPS repo and then do the conversion locally. Suggestions / Comments welcome. regards, Kunal > > -- > regards > ------- > Kunal Ghosh > Dept of Computer Sc. & Engineering. > Sir MVIT > Bangalore,India > > Blog:kunalghosh.wordpress.com > Website:www.kunalghosh.net46.net > > > -- regards ------- Kunal Ghosh Dept of Computer Sc. & Engineering. Sir MVIT Bangalore,India Blog:kunalghosh.wordpress.com Website:www.kunalghosh.net46.net
_______________________________________________ belenix-discuss mailing list http://mail.opensolaris.org/mailman/listinfo/belenix-discuss http://groups.google.com/group/belenix-discuss
