Does anyone know if it is possible to use the 'dirinstall' from the command line? For instance i would like to be able to do something like: # yast dirinstall -d /someroot -s mypackages.sel If i do yast -h it says: "Usage: /sbin/yast [OPTIONS] [MODULE] [module specific parameters]" But is there a way to find out what 'module specific parameters' are available for a specific module? Thanks, Teun
On Thu, Oct 27, 2005 at 10:51:21PM +0200, Teun wrote:
Does anyone know if it is possible to use the 'dirinstall' from the command line?
For instance i would like to be able to do something like: # yast dirinstall -d /someroot -s mypackages.sel
If i do yast -h it says: "Usage: /sbin/yast [OPTIONS] [MODULE] [module specific parameters]"
But is there a way to find out what 'module specific parameters' are available for a specific module?
Teun, I had the exact same question. In fact, that's why I subscribed to the list. I dug around in the source, and the only answers I was able to find where "no" and "no". My solution was to write my own YCP program. It took a lot of "reverse engineering" of the dirinstall and related code, but it is possible to write a short snippet of YCP code that sets the install directory, adds specific packages, and then kicks off the dirinstall. I haven't done too much with it (I just got it working yesterday), but it seems to work well enough. My current struggle is to attempt to do the same from Perl using YaST::YCP. But that's a topic for a different list, I suppose... -- Bob Bell <bbell@users.sourceforge.net>
Bob Bell wrote:
On Thu, Oct 27, 2005 at 10:51:21PM +0200, Teun wrote:
Does anyone know if it is possible to use the 'dirinstall' from the command line?
[...snip...]
Teun, I had the exact same question. In fact, that's why I subscribed to the list. I dug around in the source, and the only answers I was able to find where "no" and "no". My solution was to write my own YCP program. It took a lot of "reverse engineering" of the dirinstall and related code, but it is possible to write a short snippet of YCP code that sets the install directory, adds specific packages, and then kicks off the dirinstall. I haven't done too much with it (I just got it working yesterday), but it seems to work well enough.
Any chance you could be so kind as to post this code? I'm looking to do something similar with SLES10. (I was hoping that dirinstall+autoyast would be an available option) -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Bob Bell
-
Charles Duffy
-
Teun