Mailinglist Archive: yast-devel (10 mails)

< Previous Next >
[yast-devel] Install RPMs in "second stage" via printer_proposal.ycp

Hello,

printer_proposal.ycp from yast2-printer is run at the
end of the installation during so called "second stage"
to do automated print queue setup.

I am thinking about to also install matching printer driver RPMs
as needed for locally connected printers (i.e. USB printers)
via this printer_proposal.ycp run.

My questions are:

- Is it possible to install RPMs during "second stage"?
In other words: Are the right package repositories available
in "second stage" so that a YCP call like
Package::Install(package_name)
will work correctly?

- Is is allowed to do this?

- If it is possible and allowed, how can I trigger that a package
gets installed without any user interaction?
No info popup, no user confirmation popup, no license confirmation
popup - only silent operation with a return value that indicates
whether or not the requested package was actually installed.

For background information, see bnc#808315 in partiocular
https://bugzilla.novell.com/show_bug.cgi?id=808315#c3


Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany
HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups