Provide an rpm package for jclouds-cli
It would be awesome if we could provide an rpm package for the jclouds-cli allong with the tarballs we now create.
+1 - shouldn't be toooooo hard with something like fpm.
+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: https://github.com/jclouds/jclouds-cli/issues/4
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.