As has been said you can copy the pkg.opensolaris.pkg and it does work,
but be warned I believe the who repository can hit 65GB.
Look at my blog entry for complete instruction, to save space I just
copied the version I wanted (134)
Complete local copy (mirror) of pkg.opensolaris.org:
http://notallmicrosoft.blogspot.com/2010/04/complete-local-copy-mirror-of.html
summary:
$ cd /export/pkg
$ pfexec zfs create -o atime=off rpool/export/pkg
$ pfexec pkgsend -s file:///export/pkg create-repository –set-property
publisher.prefix=opensolaris.org
$ pfexec pkg list -Hva | egrep "134:|install" > pkglist.txt
$ pfexec cat pkglist.txt | sed 's/pkg:\/\/opensolaris\.org\///' | cut -f
1 -d ' ' > packages.txt
$ for i in $(cat packages.txt);
do
pfexec pkgrecv -s http://pkg.opensolaris.org/dev -d file:///export/pkg "$i"
done
$ pfexec /usr/lib/pkg.depotd -d /export/pkg -p 80
Andrew
Eiwe Lingefors wrote:
I understand this concept. I should rephrase my question and I apologize for
not being more clear. Is there a way to create the metadata so that I end up
with a self contained dev repository clone?
The desired end result is to have an independent clone for AI installs where
internet access to the metadata is not available. Is this possible?
--
Andrew Watkins * Birkbeck College
http://notallmicrosoft.blogspot.com/
_______________________________________________
install-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/install-discuss