[packagekit] Adding support for "prepare" in transaction_flags

Daniel Nicoletti dantti12 at gmail.com
Mon Jun 4 09:25:08 PDT 2012


2012/6/4 Anders F Björklund <afb at algonet.se>:
> Richard Hughes wrote:
>
>> On 3 June 2012 19:36, Daniel Nicoletti <dantti12 at gmail.com> wrote:
>>> Ok, it's just that for apt it would mean download only...
>>
>> Same for yum and zif, so you might have a point. Would anybody else do
>> anything else except download? What about a source distro that needs
>> to download, make but *not* sudo make install?
>
> For a source distribution, you will still have to install the build
> dependencies (requiring root) in order to complete the package build.
> It could of course still prepare, by downloading distfiles and patches.
Right, well the prepare thing would afaik still require root,
since it will download files to root writable dirs, but as you say
the make process could only work if the needed deps are satisfied,
so imo making the enum name DOWNLOAD_ONLY makes sense
since the whole make process as you say should be done in one
single step.

Daniel


More information about the PackageKit mailing list