FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 03-03-2009, 05:32 PM
Luca Capello
 
Default Bug#517957: foo2zjs: Some user data (firmware) goes in /usr ; should be /usr/local or /etc

block 517957 by 449497
thanks

Hi Daniel!

I cc:ed the d-devel mailing list to get a wider opinion. Please keep at
least the BTS cc:ed.

On Tue, 03 Mar 2009 08:37:33 +0100, Daniel Dickinson wrote:
> Firmware is looked for under /usr/share/foo2zjs/firmware, but firmware
> is added on and therefore user data and really belongs in /etc or
> /usr/local

I would say that the proper location is /lib/firmware, but AFAIK the
latter is only for firmwares loaded by kernel drivers. Am I correct?
If so, which folder should be used?

I do not like /etc or /usr/local because depending on the outcome of bug
#449497 [1], some firmwares could even be legally distributable, in
which case even the current location would be fine. However, if there
is a "proper" one, I would prefer to use it ASAP.

Thx, bye,
Gismo / Luca

Footnotes:
[1] http://bugs.debian.org/449497
 
Old 03-13-2010, 07:18 PM
Luca Capello
 
Default Bug#517957: foo2zjs: Some user data (firmware) goes in /usr ; should be /usr/local or /etc

tags 517957 + pending
thanks

Hi there!

On Tue, 03 Mar 2009 19:32:25 +0100, Luca Capello wrote:
> I cc:ed the d-devel mailing list to get a wider opinion. Please keep at
> least the BTS cc:ed.

I have also bcc:ed various people I know as users of this package: sorry
for the spam, but I would like some more tests before uploading to sid.

> On Tue, 03 Mar 2009 08:37:33 +0100, Daniel Dickinson wrote:
>> Firmware is looked for under /usr/share/foo2zjs/firmware, but firmware
>> is added on and therefore user data and really belongs in /etc or
>> /usr/local
>
> I would say that the proper location is /lib/firmware, but AFAIK the
> latter is only for firmwares loaded by kernel drivers. Am I correct?
> If so, which folder should be used?

I have implemented this with different commits:

1) working directory is /tmp/foo2zjs in /usr/bin/getweb

http://svn.debian.org/viewsvn/foo2zjs?view=rev&revision=208
http://svn.debian.org/viewsvn/foo2zjs?view=rev&revision=210
http://svn.debian.org/viewsvn/foo2zjs?view=rev&revision=211

2) firmware directory is /lib/firmware/hp/, since only HP printer
firmwares are downloaded by the getweb script

http://svn.debian.org/viewsvn/foo2zjs?view=rev&revision=213

BTW, I have not checked yet, but if Debian can distribute these
firmwares, they should be provided by one of the firmware-linux-*
packages.

On my virtual sid, getweb works as before, but since I do not have any
of the printers requiring external firmwares, i386 and amd64 packages
for testing are available at:

http://people.debian.org/~gismo/tmp/

Thx, bye,
Gismo / Luca
 

Thread Tools




All times are GMT. The time now is 12:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org