Mailinglist Archive: yast-devel (66 mails)

< Previous Next >
Re: [yast-devel] Ruby code in SCR
On 06/21/2013 01:13 PM, Lukas Ocilka wrote:
Totally hackish solution for this:
--- cut ---
code = '$some_fancy_code_in_ruby'

--- cut ---

Agent .ruby would then eval() the code.

Sounds horrible but it would do the trick :) I'm not sure about proper
testing though.

Except that it doesn't solve one (soft) requirement:

- No YaST (and libs) installed on the target system

Let's assume we are in installation and SCR is "mounted" to /mnt. For this case, SCR is actually chrooted to the system on /mnt and all the libs would have to be installed there.


Lukas Ocilka, Cloud & Systems Management Department
SUSE LINUX s.r.o., Praha
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >