[Openstack-devel] Current state of the Folsom packaging -- horizon

Thomas Goirand zigo at debian.org
Fri Nov 2 07:46:37 UTC 2012


On 10/31/2012 03:46 PM, Tim Spriggs wrote:
> Admittedly, my patch is a hack but it might save someone a little time
> in searching.
> 
> Horizon calls a script named lessc which is placed in
> /usr/share/openstack-dashboard/bin/less/lessc (which is where BIN_DIR
> resolves to)
> 
> The first line of the dashboard-included lessc script is:
> 
> #!/usr/bin/env node
> 
> Looking at the system lessc:
> 
> % which lessc
> /usr/bin/lessc
> 
> % dpkg-query -S /usr/bin/lessc
> node-less: /usr/bin/lessc
> 
> % head -1 /usr/bin/lessc
> #!/usr/bin/nodejs
> 
> % dpkg-query -S /usr/bin/nodejs
> nodejs: /usr/bin/nodejs
> 
> Cheers,
> -Tim

Hi Tim,

I could use Horizon without your patch. I've turned COMPRESS_OFFLINE to
False by default in the /etc/openstack-dashboard/local_settings.py file,
and it's working well. Note that I removed the very ugly chown -R
www-data:www-data /usr/share/openstack-dashboard/<whatever> and that I
do that on /var/lib/openstack-dashboard, plus some symlinks to it for
the css and js folders. This seemed to work well, and that's Debian
policy and FSH compliant!

Thomas



More information about the Openstack-devel mailing list