Difference between revisions of "Proposal to install Homebrew apps on /media/internal (USB partition)"

From WebOS Internals
Jump to navigation Jump to search
Line 25: Line 25:
 
3) Future PreWare version could have option to move homebrew apps from /var/usr/palm to /media/internal/homebrewapps
 
3) Future PreWare version could have option to move homebrew apps from /var/usr/palm to /media/internal/homebrewapps
  
 +
'''Benefits'''
  
 +
- Prevents filing up the root/linux filesystems, which is bound to occur when homebrew hits thousands of apps.
  
 
'''Risks/Issues/Dependencies'''
 
'''Risks/Issues/Dependencies'''

Revision as of 18:22, 15 September 2009

--Xorg 18:07, 15 September 2009 (UTC)

I'd like to propose that Homebrew apps be installed in...

/media/internal/homebrewapps (or other appropriate dir name)

PreWare and other installers would need to setup /etc/palm/luna.conf to point to the app path.

Proposal

1) PreWare checks on each startup in..

/etc/palm/luna.conf 

and checks that ...

/media/internal/homebrewapps

...is added to the end of ApplicationPath. If not, append it.


2) Promote to developers who are not concerned about exposed code to use that path as the home for their apps.

3) Future PreWare version could have option to move homebrew apps from /var/usr/palm to /media/internal/homebrewapps

Benefits

- Prevents filing up the root/linux filesystems, which is bound to occur when homebrew hits thousands of apps.

Risks/Issues/Dependencies

- Source is exposed to anyone, including non-power users, when mounting the USB drive

- PreWare or other homebrew installer apps would need to check on every startup that AppPath is correct, update if not.


Discuss...