Sending again as apparently this bounced from the list yesterday/last night.
Brock

Brock Pytlik wrote:
Shawn Walker wrote:
Alan Coopersmith wrote:
The functionality in the following post about Synaptic sounds like an
excellent idea for reinstalling or cloning systems - being able to save
a list of installed packages and then import the list to reinstall them.

They describe a GUI implementation, which the Package Manager GUI should be able to imitate, but CLI interfaces would be nice too. Is this already
in the plans?   (Or already in the product and I've just not noticed?)

The distribution constructor is the right tool for reinstalling or cloning systems and I believe this particular case is planned to be handled at some point in the future.

As far as pkg(1) itself (cli or gui); I know of no plans to support this directly, although you could open an RFE.

A tiny bit of scripting can go along way here, and I'm not sure that we shouldn't offer something like this anyway.

If you take the output of pkg list, grab the first column, that gives you all installed packages. After initially installing a new machine with OpenSolaris, doing a pkg install of all those pkgs should give you a cloned system from a basic user perspective (modulo saved data/updated packages/etc...). (Note: I'm not claiming this is an exact clone, I'm claiming this is what most users would want/need.) We could make this process even easier by letting pkg install take a -f (or whatever letter you want) option to read which packages to install from a file and get users 90% of the way there for people who want/need this now.

As for whether this should live in the distro-constructor or not... I guess it depends on how heavyweight a process that ends up being for a user. I think we (the people who distribute OpenSolaris) should make this be essentially a 2 step process "make clone info" "replicate clone". Where that functionality lives I feel less strongly about, though having PackageManager tie into the distro constructor (or wherever it ends up) to offer that as a menu option would be nice.

Brock



_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to