[haiku-bugs] Re: [Haiku] #10191: Make NetFS stack an actual HPKG via build system

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sat, 30 Aug 2014 10:10:59 -0000

#10191: Make NetFS stack an actual HPKG via build system
----------------------------+----------------------------
   Reporter:  mmadia        |      Owner:  bonefish
       Type:  task          |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:  10192, 11168  |   Blocking:
Has a Patch:  1             |   Platform:  All
----------------------------+----------------------------

Comment (by bonefish):

 I don't really see a reason for removing sample settings files from the
 source tree. The UserlandFS settings for NetFS are needed. Otherwise the
 configuration (add/removing servers) won't work correctly. For support of
 proper packaging, UserlandFS needs to be adjusted to load settings
 differently.

 * It should first look in respective data subdirectories and load the
 settings from all files found there. Cf. how [http://cgit.haiku-
 
os.org/haiku/tree/src/apps/expander/ExpanderRules.cpp?id=f8d240938572bca4733bcf53ccf1b0170a674e2c#n112
 Expander loads its rules].
 * Then it should load the user settings (if any) just like before.

 This way a package for a FS based on UserlandFS can simply include a
 settings file ("settings" is really not the correct word -- it's really
 more of an interface description) in the respective data subdirectory.

 Another thing that should be changed in UserlandFS is where it looks for
 FS add-ons. IIRC it only looks in ~/config ATM. It should look in all four
 installation locations (system and home, packaged and non-packaged).

--
Ticket URL: <https://dev.haiku-os.org/ticket/10191#comment:5>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: