On May 26, 2011, at 4:20 PM, Chris Lalancette wrote:
> On 05/25/11 - 08:40:10PM, Michal Fojtik wrote:
>> On May 24, 2011, at 12:01 AM, Chris Lalancette wrote:
>>
>> Please note, that spec file imported in support directory is a little
>> bit outdated.
>>
>> You can find the latest one here:
>>
>> http://mifo.sk/fedora/deltacloud-core/master/deltacloud-core.spec
>> (http://mifo.sk/fedora/deltacloud-core/master/ contains all patches)
>>
>> However, I like this idea so ACK (but please update that spec
>> using the latest Fedora one).
>
> Hey Michal,
> So I went ahead and updated the specfile in the svn repository to match
> the one from fedora, and then added my changes on top. However, there is one
> bit I don't understand from the fedora spec. For some reason the fedora spec
> includes a second Source file, Source1, which contains deltacloudd-fedora.
> Is there some reason that we aren't using the deltacloudd from the svn
> repository?
Yes, reason is:
root_path = File.join('/', 'usr', 'share', 'deltacloud-core')
In Fedora we're installing deltacloud-core to /usr/share instead of GEMPATH.
Also we're not longer using 'gem install' method but instead we 'unpacking'
content
of gem and then installing it on the right place.
This executor is created automatically by 'gem install' to trigger the real
executor
located in GEMPATH. Using 'gem unpack' method there is no executor for starting
deltacloudd located in /usr/share/deltacloud-core.
I agree that having just one file for starting API will be best solution,
however this
require updating our 'deltacloudd' to support executing core from different
locations.
-- Michal
------------------------------------------------------
Michal Fojtik, [email protected]
Deltacloud API: http://deltacloud.org