[zypp-devel] Libzypp Hook-Scripts
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm trying to solve some special SLMS feature in which we have to take care that some action is done (extracting archives to the system, etc.) right after all packages/patches are installed. It's not limited to only zypper or only YaST but the RPM installation/upgrade definitely uses libzypp. SuSEconfig is definitely NOT the way to go and we cannot use post-install/upgrade scripts in RPM as it's simply very hard to make sure that the RPM with post-script is installed as the last one. I was told (by Stano) that libzypp offers some *hook scripts* that are called the exact way we need it. So I'd like to know: * Where can I find documentation for this libzypp feature? Where to put these scripts [directory]? What are the expected names for these scripts? Are there any limitations I should know? * Is it tested? * Does it work for SLE11 / SLE11 SP1? Thanks in advance for your help Lukas - -- Lukas Ocilka, Appliances Department, Novell Inc. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iD8DBQFL4pgAVSqMdRCqTiwRAgvJAJ97kflAmdXgu4Lw33vAFz1fL/19kwCfSu5x uki2E29sS831PuKu0KPfDS4= =v2FU -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
* Lukas Ocilka <lukas.ocilka@suse.cz> [May 06. 2010 12:20]:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I'm trying to solve some special SLMS feature in which we have to take care that some action is done (extracting archives to the system, etc.) right after all packages/patches are installed. It's not limited to only zypper or only YaST but the RPM installation/upgrade definitely uses libzypp. SuSEconfig is definitely NOT the way to go and we cannot use post-install/upgrade scripts in RPM as it's simply very hard to make sure that the RPM with post-script is installed as the last one.
I was told (by Stano) that libzypp offers some *hook scripts* that are called the exact way we need it. So I'd like to know:
You might be looking for http://en.opensuse.org/Software_management/Code11/Scripts_and_Messages
* Where can I find documentation for this libzypp feature? Where to put these scripts [directory]? What are the expected names for these scripts? Are there any limitations I should know? * Is it tested?
Yes, kind of ;-) Its kind of a 'back door' we put in but never needed until now.
* Does it work for SLE11 / SLE11 SP1? Yes !
Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dne 6.5.2010 13:03, Klaus Kaempf napsal(a):
* Lukas Ocilka <lukas.ocilka@suse.cz> [May 06. 2010 12:20]:
I was told (by Stano) that libzypp offers some *hook scripts* that are called the exact way we need it. So I'd like to know:
You might be looking for http://en.opensuse.org/Software_management/Code11/Scripts_and_Messages
Hi Klaus, Yes, this is exactly what I needed. It fits perfectly out requirements. Thanks Lukas - -- Lukas Ocilka, Appliances Department, Novell Inc. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iD8DBQFL5/2sVSqMdRCqTiwRAp5RAKCZFOEEokGcGJqEwOqsN4k08UT/oQCggYaJ FThF1H3MO1+4IfTCB7ueHSM= =4I8Z -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Klaus Kaempf
-
Lukas Ocilka