How do I run this from the bash shell?
(from clients/inst_finish.ycp)
SCR::Write (.target.string, "/var/lib/YaST2/runme_at_boot", "")
I want to try running this manually so I can understand why it is failing
during autoinstallation. This is failing for my target, as are a couple other
SCR commands. I can run the command from a chroot post-script to get the help
output with:
chroot /mnt /usr/lib/YaST2/servers/scr -h
So the command seems to run somewhat, but for the runme_at_boot creation I get
the Y2log error:
2004-12-18 02:34:13 <0> linux(3172) [liby2]
Y2ProgramComponent.cc(launchExternall
Program):292 Going to execute /usr/lib/YaST2/servers/scr with chroot /mnt
2004-12-18 02:34:13 <0> linux(519) [libycp] Scanner.cc(Scanner):107 Scanner
settting builtinTable to 0x507d10
2004-12-18 02:34:13 <0> linux(519) [libycp] Scanner.cc(initTables):146
m_globalTT
able 0x1776bb0
2004-12-18 02:34:13 <0> linux(519) [libycp] Scanner.cc(initTables):158
m_localTaable 0x52fd60
2004-12-18 02:34:13 <0> linux(519) [libycp] parser.yy(yyparse):284
------------------------------------------- accept
------------------------------
--------------
2004-12-18 02:34:13 <0> linux(519) [liby2]
Y2ProgramComponent.cc(sendToExternal))
:377 Error writing to external program /usr/lib/YaST2/servers/scr: Couldn't
sendd
(`Write (.target.string, "/var/lib/YaST2/runme_at_boot", "")) (Broken pipe)
2004-12-18 02:34:13 <3> linux(519) [liby2]
Y2ProgramComponent.cc(receiveFromExtee
rnal):343 External program /usr/lib/YaST2/servers/scr died unexpectedly
2004-12-18 02:34:13 <3> linux(519) [Interpreter] scr:240 SCR::Write() did not
reeturn a boolean
So I'd like to understand what is wrong with my target's environment that this
would fail.
thanks,
Brian