Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

Provide an rpm package for jclouds-cli #4

Open
iocanel opened this issue Jul 11, 2012 · 3 comments
Open

Provide an rpm package for jclouds-cli #4

iocanel opened this issue Jul 11, 2012 · 3 comments

Comments

@iocanel
Copy link
Member

iocanel commented Jul 11, 2012

It would be awesome if we could provide an rpm package for the jclouds-cli allong with the tarballs we now create.

@abayer
Copy link
Member

abayer commented Jul 11, 2012

+1 - shouldn't be toooooo hard with something like fpm.

@jclouds
Copy link
Collaborator

jclouds commented Jul 12, 2012

+1
On Jul 11, 2012 11:34 AM, "Ioannis Canellos" <
[email protected]>
wrote:

It would be awesome if we could provide an rpm package for the jclouds-cli
allong with the tarballs we now create.


Reply to this email directly or view it on GitHub:
jclouds/jclouds-cli#4

@abayer
Copy link
Member

abayer commented Jul 12, 2012

Ok, this is actually very hard. =) First, there's a few problems that are pretty easy to solve - we need to change "bin/jclouds" to use bash rather than sh, for systems where sh is not a symlink to bash, and in order to have bin/jclouds and bin/jclouds-cli installed to somewhere like /usr/bin as symlinks to /usr/share/jclouds-cli/bin/* (which is probably the right way to deal with the path-detection stuff) we've gotta change the dirname calls to use readlink, but we can't use that in general or it'll break on macs (where "readlink -f foo" doesn't work).

But the bigger problem is that files get written in what would be /usr/share/jclouds-cli at runtime - stuff in .../data, and at least .../etc/org.jclouds.credentials.cfg. Karaf itself is basically not designed to be installed in a single place for all users, so far as I can tell.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants