[haiku-bugs] Re: [Haiku] #5455: [patch] rule AddWirelessFirmwareToHaikuImage

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Fri, 26 Feb 2010 13:29:22 -0000

#5455: [patch] rule AddWirelessFirmwareToHaikuImage
--------------------------+-------------------------------------------------
 Reporter:  mmadia        |       Owner:  bonefish      
     Type:  enhancement   |      Status:  new           
 Priority:  normal        |   Milestone:  R1            
Component:  Build System  |     Version:  R1/Development
 Keywords:                |   Blockedby:  5479          
 Platform:  All           |    Blocking:  5457          
--------------------------+-------------------------------------------------

Comment(by bonefish):

 Replying to [comment:6 mmadia]:
 > Replying to [comment:5 bonefish]:
 > > Furthermore instead of unzipping the archives in the jam build system,
 I'd rather do that in the shell script(s). Support for gzipped tar
 archives would need to be added.
 > >
 > After updating the jamfiles & build/scripts to support this, I
 remembered that as opposed to simply extracting the archive, we need to
 specify if the archive contains a subdirectory and if it does to copy only
 the contents of that subdirectory.

 OK, that could be easily solved by adding the subdir as another argument
 to ExtractArchiveToContainer and passing it through to the extractFile()
 function in the scripts. It would just be an adjustment of the source
 argument in the "$cp" line.

 > Originally, Colin and I agreed to use the original firmware archives (as
 opposed to repackaging them), so as to prevent any chance of those
 companies interpreting our actions as somehow altering the software.

 Agreed.

 > Some days ago, Colin mentioned that at least the intel 3945 has an
 internal mapping of on-disk filenames to names that the driver expects.
 I'll ask him if it's possible to further extend that functionality to
 include directory paths.

 Well, as written above extracting a subdirectory is no big deal.

 > > Finally please note that the *ToHaikuImage rules are usually just
 wrappers for respective *ToContainer rules. I would also do that in this
 case. I have the feeling that the feature might be actually needed for the
 net boot archive. If net boot via WIFI is possible at all that is.
 >
 > Once I test the new changes with a .tgz, I'll submit a newticket with
 reference to this.

 The patch in #5479 needs a few adjustments. Feel free to merge it with the
 changes for this ticket, if it saves you work.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5455#comment:8>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: