[zypp-devel] Re: Fwd: Product file is ignored; only content file is used
Hi zypp-ers, customer created release package that includes .prod file, which is installed into /etc/products.d. However, even when the package is installed, zypp does not know about new product. I assume there's something missing in the .prod file, but what is it? In other ways, how zypp knows which product is installed? Jiri -- Jiri Suchomel SUSE LINUX, s.r.o. e-mail: jsuchome@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On 25.11.2009 15:58, Jiří Suchomel wrote:
Hi zypp-ers,
customer created release package that includes .prod file, which is installed into /etc/products.d. However, even when the package is installed, zypp does not know about new product.
I assume there's something missing in the .prod file, but what is it? In other ways, how zypp knows which product is installed?
Has the product package correct provides? E.g. openSUSE-release package provides product(openSUSE) = 11.3-0 -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wednesday 25 November 2009 16:05:33 Ladislav Slezak wrote:
On 25.11.2009 15:58, Jiří Suchomel wrote:
Hi zypp-ers,
customer created release package that includes .prod file, which is installed into /etc/products.d. However, even when the package is installed, zypp does not know about new product.
I assume there's something missing in the .prod file, but what is it? In other ways, how zypp knows which product is installed?
Has the product package correct provides?
E.g. openSUSE-release package provides product(openSUSE) = 11.3-0
Yes, but zypp will recognize (display) the product even without this provide. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wednesday 25 November 2009 15:58:50 Jiří Suchomel wrote:
Hi zypp-ers,
customer created release package that includes .prod file, which is installed into /etc/products.d. However, even when the package is installed, zypp does not know about new product.
I assume there's something missing in the .prod file, but what is it? In other ways, how zypp knows which product is installed?
The /etc/products.d/*.prod files are parsed. If the .prod file is present, but the poduct is not shown, send me the .prod file (or bugreport and attach). Maybe it's malformed and it's a parser problem that this is not reported. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wednesday 25 of November 2009 16:09:40 Michael Andres wrote:
On Wednesday 25 November 2009 15:58:50 Jiří Suchomel wrote:
Hi zypp-ers,
customer created release package that includes .prod file, which is installed into /etc/products.d. However, even when the package is installed, zypp does not know about new product.
I assume there's something missing in the .prod file, but what is it? In other ways, how zypp knows which product is installed?
The /etc/products.d/*.prod files are parsed.
If the .prod file is present, but the poduct is not shown, send me the .prod file (or bugreport and attach). Maybe it's malformed and it's a parser problem that this is not reported.
Hm, after experimenting, I see that now 'zypper pd' shows the product (BTW, yes, provides are OK). I'm not sure why it didn't show for the first time: maybe refresh was needed or maybe it was my fault that I haven't seen it. I'll continue investigating (maybe other stuff was wrong, too) and be back when I find anything interesting. Thanks so far! Jiri -- Jiri Suchomel SUSE LINUX, s.r.o. e-mail: jsuchome@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (3)
-
Jiří Suchomel
-
Ladislav Slezak
-
Michael Andres