Hi, I was asked to search through the installation for information which Pkg:: callbacks from the list are used and where. Here is the list what I've found, however it doesn't need to be the full list: Ladislav Slezak wrote:
TODO ====
Missing Pkg:: functions (not implemented) ----------------------------------------- PkgMediaNames() use in slideshow (not mandatory)
PkgMediaSizes() use in slideshow (not mandatory)
PkgMediaCount() use in slideshow (not mandatory)
SourceReleaseAll() used for media validation (installation but not mandatory) use for the first-stage initialization of the installation repository *important (for CD/DVD or all types of installation?)*
SourceSaveAll() not used in installation
SourceFinishAll() used in both first and second stage installation and dirinstall *important*
SourceMoveDownloadArea() used in inst_rpmcopy for InitialSourceCaching
TargetDisableSources() used in inst_kickoff
SourceMediaData() used in inst_mediacopy (not mandatory)
SourceProvideFile() installation - release notes installation - content file *mandatory*
SourceProvideOptionalFile() installation - release notes installation - y2update, installation.xml (AddOns) *desirable*
SourceProvideDir() slideshow (not mandatory)
SourceChangeUrl() Used for ServicePack Used for CD/DVD installation *mandatory for CD/DVD installation*
Missing Functionality --------------------- SourceGeneralData() - doesn't return key "product_dir" in the map needed by installation - extrasources, online update repositories, product sources downloaded by inet (new functionality) used for handling sources all over the place but maybe for Add-Ons only, hard to say the key "product_dir" is, of course, used (at least for Add-Ons) *desirable* or *important*
SourceDelete() - remove resolvables if they have loaded from the source needed by installation - product sources downloaded by inet (new functionality) needed by CD/DVD installation *important for CD installation*
SourceCreate() - use source type and product directory parameters needed by installation - extrasources, online update repositories, product sources downloaded by inet (new functionality) needed by installation for the initial installation repository needed by Add-Ons, of course needed by DirInstall *mandatory*
Have a nice day Lukas