Re: Please test Vagrant 1.9.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Colin,

First of all, I am still not fond of moving the plugins.json into /usr.

Nevertheless, with the proposed Vagrant 1.9.1 package, things are
different then they used to be. Up to now, we were re-configuring
Vagrant to search for the plugins.json in /var/lib/vagrant. But this is
not easily achievable in more recent Vagrants (actually, nobody noticed
that it could already cause some issues even in current Vagrant in
Fedora). So from now, I keep Vagrant to look for the plugins.json on the
place, where Vagrant expects it, i.e. at
/usr/share/vagrant/plugins.json, but this is link to
/var/lib/vagrant/plugins.json.

Since Vagrant does not need the plugins.json file to be present by
default, would this [1] change be sufficient?

Basically, if I understand correctly, the %post is not executed by
rpm-ostree. In this case, the /usr/share/vagrant/plugins.json neither
the link to /var/lib/vagrant/plugins.json is created, which should be
fine for Vagrant. As soon as some Vagrant plugin is installed, the
%transfiletriggerin kicks in and when the file/link is not present, it
just creates the /usr/share/vagrant/plugins.json. This way, for normal
Fedora, the plugin.json would be kept in /var/lib/vagrant/plugins.json
with symlink to /usr/share/vagrant/plugins.json while for rpm-ostree,
the /usr/share/vagrant/plugins.json would be regular and the only file.

Does this work for you? Can you test the latest Copr build [3]?


Vít

[1]
http://copr-dist-git.fedorainfracloud.org/cgit/vondruch/vagrant/vagrant.git/commit/?h=f26
[2]
http://copr-dist-git.fedorainfracloud.org/cgit/vondruch/vagrant/vagrant.git/tree/vagrant.spec?h=f26#n225
[3]
https://copr.fedorainfracloud.org/coprs/vondruch/vagrant/package/vagrant/


Dne 14.2.2017 v 22:29 Colin Walters napsal(a):
>
> On Tue, Feb 14, 2017, at 08:14 AM, Vít Ondruch wrote:
>
>> 3) The downside of (1) is that the plugin registration scripts are baked
>> into vagrant plugins, I had to apply some hacks to keep the backward
>> compatibility with Vagrant plugins currently in Fedora.
> While you're working on this, can you change the registration directory
> to be in /usr?  This is following up on:
> https://bugzilla.redhat.com/show_bug.cgi?id=1352152
> which is part of 
> https://bugzilla.redhat.com/show_bug.cgi?id=1352154
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux