[packagekit] Triggering EULA dialog?
Duncan Mac-Vicar Prett
dmacvicar at suse.de
Thu Feb 5 01:50:31 PST 2009
Dan Kegel wrote:
> Hi!
> I'm packaging an app. I understand that Packagekit has
> had a nifty EULA dialog since March or so.
> I can't find any doc on how this gets triggered
> by what's in the package. Can somebody point
> me to the FM?
>
That depends on the backend you are using.
For SUSE systems ZYpp backend triggers the eula when a package which has
an eula metadata is installed. For media repositories, this is the +Eul
-Eul block in $descrdir/packages.gz, for rpm-md repositories, it is a
primary.xml extension tag, called "eula" which we associate with
primary.xml in a file called susedata.xml.
http://en.opensuse.org/Standards/Rpm_Metadata#SUSE_primary_data_.28susedata.xml.29.2C_extensions_to_primary.xml
Duncan
More information about the PackageKit
mailing list