12/23/2010, 08:39 AM
|
#1 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Optware is a set of command-line Linux packages which are available for installation on webOS devices. Some of these packages are available directly in Preware (like the OpenSSH SFTP Server, which is the first thing I install on any new device), but most of the 1700+ packages can only be installed using the ipkg-opt utility on the Linux command line.
For webOS 2.0, we're going to change the way that Optware is installed on the device. Previously, /opt was a bind mount of /var/opt (located physically on the /var partition). Now that Palm have moved email attachments and database files out of /var into the filecache and mojodb partitions, they have also reduced the size of /var, making it no longer suitable for use by Optware as an installation area. So the next version of the Optware bootstrap package will set up a loopback mounted ext3 filesystem in a file at /media/internal/.optware/optware.ext3 with a default size of 64MiB (it can be manually resized to any size you want, without losing data, at any later time). This new version is in the optware testing feeds. The location of these feeds should be obvious to anyone who has done any alpha testing for WebOS Internals previously, as it uses the same feed URL naming convention. If you need to ask, then you need to search elsewhere first. If you upgrade the Optware bootstrap package in Preware, then it should migrate all your data from /var/opt to the new location. Please post in this thread if you are alpha testing the 1.5.0 or later version of Optware bootstrap. Remember this is alpha testing. -- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals Last edited by rwhitby; 12/24/2010 at 02:16 AM. |
12/23/2010, 12:26 PM
|
#3 (permalink) |
|
Member
![]() Join Date: Jun 2009
Location: Near the California Allen SETI Array
Posts: 128
Likes Received: 0
Thanks: 13
Thanked 15 Times in 15 Posts
|
I am testing Optware 1.5 on my Pre 2
__________________
Palm 3C>>M100>>M500>>Tungsten T5>>Tungsten TX>>Treo 600>>Treo 650>>Centro>>Pre>>Pre+>>Pre2 |
12/23/2010, 02:00 PM
|
#4 (permalink) |
|
Forum Leader
![]() Join Date: Jan 2007
Location: Fort Worth, TX
Posts: 5,771
Likes Received: 5
Thanks: 796
Thanked 1,165 Times in 801 Posts
|
Rod I am testing 1.5 and once I install 1.5 and try to generate my keys I can't get the Pre to go into USB mode. This happened this morning and I thought it was a coincidence. I doctored Pre and I have reinstalled it twice with the same result both times.. I tested to ensure it went to usb mode before install and when I try to put it into usb mode it shows the usb drive on Pre for about 3 seconds and then comes back up saying phone is offline. I have done a luna restart and a complete restart after installs. I can't get Preware to open up either. Trying to use Webosqi to uninstall the OPtware and related packages also just gives me a white screen in webosqi with nothing listed. I am running Preware 1.5.1
Trying to go in via a linux command line gives me a resource is temporarily unavailable.
__________________
My contributions to customizing the Palm Pre. Browser Mega Mix|Email Mega Mix|Additional Sync Days| Disable Various Phone Sounds|Priority Discard Buttons| Sign up for SugarSync Get 500MB extra space Sign up for Dropbox Get 250MB extra space |
12/23/2010, 02:15 PM
|
#5 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Yep, I know why it's not going into USB mode. USB mode tries to unmount /media/internal, which is where the loopback file is stored. I'm working on a fix which will close down sshd when you go into USB mode.
-- Rod Last edited by rwhitby; 12/24/2010 at 02:16 AM. |
12/23/2010, 02:18 PM
|
#7 (permalink) | |
|
Forum Leader
![]() Join Date: Jan 2007
Location: Fort Worth, TX
Posts: 5,771
Likes Received: 5
Thanks: 796
Thanked 1,165 Times in 801 Posts
|
Quote:
Thanks I think I am setting a record for doctoring today. I didn't see any other way to fix the issue. Well that is why I love alpha testing. I posted a comment in Preware thread about 1.5.1. as well.
__________________
My contributions to customizing the Palm Pre. Browser Mega Mix|Email Mega Mix|Additional Sync Days| Disable Various Phone Sounds|Priority Discard Buttons| Sign up for SugarSync Get 500MB extra space Sign up for Dropbox Get 250MB extra space |
|
12/23/2010, 09:34 PM
|
#8 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: Near the California Allen SETI Array
Posts: 128
Likes Received: 0
Thanks: 13
Thanked 15 Times in 15 Posts
|
Quote:
![]() -- Sent from my Palm Pre using Forums
__________________
Palm 3C>>M100>>M500>>Tungsten T5>>Tungsten TX>>Treo 600>>Treo 650>>Centro>>Pre>>Pre+>>Pre2 |
|
12/23/2010, 10:54 PM
|
#9 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: Salt Lake City, Ut
Posts: 1,225
Likes Received: 9
Thanks: 78
Thanked 179 Times in 128 Posts
|
Quote:
I to have installed optware 1.5 on WebOS 2.0.1. USB drive mode is not working for me either.
__________________
MatterOfFactJack Last edited by jack87; 12/23/2010 at 11:10 PM. |
|
12/24/2010, 01:16 AM
|
#10 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Version 1.5.1 uploaded. USB mode problem is still there, but I fixed a fatal bug in the post-remove script.
-- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals |
12/24/2010, 02:16 AM
|
#11 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Version 1.5.2 now uses /media/cryptofs/optware.ext3 for the loopback file. Now USB mode seems to work. Keep an eye out for /opt going read-only, and let me know under what conditions it does if you see if happen.
-- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals |
12/25/2010, 10:21 AM
|
#13 (permalink) |
|
Homebrew Developer
![]() Join Date: Apr 2010
Location: Tennessee
Posts: 235
Likes Received: 7
Thanks: 40
Thanked 23 Times in 18 Posts
|
I am using Optware 1.5.2 with Preware 1.5.1
__________________
webOSroundup and Project Macaw contributor Remember, if I helped you, please click on the little or ♥ to the right
|
03/20/2011, 10:24 AM
|
#14 (permalink) | |
|
Member
![]() Join Date: Sep 2010
Posts: 27
Likes Received: 0
Thanks: 19
Thanked 10 Times in 6 Posts
|
Quote:
__________________
Sorry for my English =) |
|
03/20/2011, 08:14 PM
|
#15 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
-- Rod |
|
07/15/2011, 06:32 PM
|
#16 (permalink) |
|
Member
![]() Join Date: Apr 2010
Posts: 100
Likes Received: 0
Thanks: 6
Thanked 4 Times in 4 Posts
|
Hi Rod, I am stumped right now. Currently running webOS 2.1 on an unlocked developer device pre2. I have been using optware v1.6.0 up until yesterday, but I have tried to update to 1.6.1 and have come across an issue. I get an error that says failed to migrate var/opt to /opt. I removed and tried to install fresh, but still get the same error. Now, I've tried to go back and reinstall v1.0.0, but I still get an error and now cannot reinstall any optware pkgs.
Any ideas? thanks, tp |
07/15/2011, 06:34 PM
|
#17 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
-- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals |
|
07/15/2011, 07:33 PM
|
#19 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
-- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals |
|
07/15/2011, 10:41 PM
|
#20 (permalink) |
|
Member
![]() Join Date: Apr 2010
Posts: 100
Likes Received: 0
Thanks: 6
Thanked 4 Times in 4 Posts
|
Hi Rod, yep, was in process of getting it, here it is:
Begin Nothing Interesting. Download % Total % Received % Xferd Average Speed Time Time Time Current 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8588 100 8588 0 0 14500 0 --:--:-- --:--:-- --:--:-- 51734 Identify org.webosinternals.optware Install {"returnValue":true , "ticket":1, "subscribed":true} { "ticket":1 , "status":"STARTING" } { "ticket":1 , "status":"CREATE_TMP" } { "ticket":1 , "status":"VERIFYING" } { "ticket":1 , "status":"IPKG_INSTALL" } { "ticket":1 , "status":"SUCCESS" } Mkdir-Prerm Nothing Interesting. Install-Prerm Nothing Interesting. Postinst -1: Unable to run command: IPKG_OFFLINE_ROOT=/media/cryptofs/apps /bin/sh /media/cryptofs/apps/usr/lib/ipkg/info/org.webosinternals.optware.postinst 2>&1 stop: (00721/600502929) Unknown job: org.webosinternals.optware rmdir: '/var/opt': Directory not empty umount: can't umount /opt: Invalid argument cp: can't create '/opt/bin/openssh-ssh': File exists cp: can't create '/opt/bin/openssh-scp': File exists cp: can't create '/opt/bin/ssh-keyscan': File exists cp: can't create '/opt/bin/ssh-add': File exists cp: can't create '/opt/bin/ssh-keygen': File exists cp: can't create '/opt/bin/sftp': File exists cp: can't create '/opt/bin/ssh-agent': File exists cp: can't create '/opt/bin/dbclient': File exists cp: can't create '/opt/etc/openssh/ssh_config': File exists cp: can't create '/opt/etc/openssh/sshd_config': File exists cp: can't create '/opt/etc/openssh/moduli': File exists cp: can't create '/opt/libexec/ssh-keysign': File exists cp: can't create '/opt/libexec/sftp-server': File exists cp: can't create '/opt/sbin/sshd': File exists cp: can't create '/opt/sbin/dropbearmulti': File exists cp: can't create '/opt/sbin/.fuse_hidden0000001000000003': File exists cp: can't create '/opt/sbin/dropbearconvert': File exists cp: can't create '/opt/sbin/openvpn': File exists cp: can't create '/opt/sbin/dropbearkey': File exists cp: can't create '/opt/sbin/dropbear': File exists ERROR: Error migrating /var/opt to /opt Remove Removing package org.webosinternals.optware from root... (offline root mode: not running org.webosinternals.optware.prerm) Delete Nothing Interesting. Failed Nothing Interesting. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



