Page 1 of 2 12 LastLast
Results 1 to 20 of 27
Like Tree1Likes
  1.    #1  
    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
    Last edited by rwhitby; 12/24/2010 at 02:16 AM.
    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
  2. #2  
    I'm currently on preware 1.5 with my pre2
  3. #3  
    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
  4. #4  
    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.
  5.    #5  
    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.
  6.    #6  
    Quote Originally Posted by decibeat View Post
    I'm currently on preware 1.5 with my pre2
    Preware or Optware?

    -- Rod
  7. #7  
    Quote Originally Posted by rwhitby View Post
    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

    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.
  8. #8  
    Quote Originally Posted by mamouton View Post
    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.
    No, Jack87 has that, he doctored close to 100 times yesterday

    -- Sent from my Palm Pre using Forums
    Palm 3C>>M100>>M500>>Tungsten T5>>Tungsten TX>>Treo 600>>Treo 650>>Centro>>Pre>>Pre+>>Pre2
  9. #9  
    Quote Originally Posted by scoutcamper View Post
    No, Jack87 has that, he doctored close to 100 times yesterday

    -- Sent from my Palm Pre using Forums
    Haha I just stumbled upon this thread and happen to see me mentioned.... Which is very true might I add... in every WebOS flavor you can think of :-)...

    I to have installed optware 1.5 on WebOS 2.0.1. USB drive mode is not working for me either.
    Last edited by jack87; 12/23/2010 at 11:10 PM.
    MatterOfFactJack
  10.    #10  
    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
  11.    #11  
    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. ice8lue's Avatar
    Posts
    117 Posts
    Global Posts
    127 Global Posts
    #12  
    Quote Originally Posted by rwhitby View Post
    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
    I was testing this since 1.5.0 too and also had the USB mode bug. I just installed 1.5.2 and USB mode is finally working again =) thank you!
  13. #13  
    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
  14. #14  
    Quote Originally Posted by rwhitby View Post
    it can be manually resized to any size you want, without losing data, at any later time
    resize2fs don't work with ext3. i used this manual: How To Resize ext3 Partitions Without Losing Data | HowtoForge - Linux Howtos and Tutorials it works, but hard to use for many users. why not ext2?
    Sorry for my English =)
  15.    #15  
    Quote Originally Posted by Xamil View Post
    resize2fs don't work with ext3. i used this manual: [url= To Resize ext3 Partitions Without Losing Data | HowtoForge - Linux Howtos and Tutorials[/url] it works, but hard to use for many users. why not ext2?
    All the rest of the Linux filesystems on the device use ext3. Resize works fine, just treat the ext3 fs as ext2 for the resize.


    -- Rod
  16. #16  
    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
  17.    #17  
    Quote Originally Posted by thePretender View Post
    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
    Uninstall all your optware apps. reboot. reinstall.

    -- 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
  18. #18  
    I have tried that as well, I don't remember if I have pulled the battery, so I will try that and test once again. Any thoughts besides Dr'ing?
  19.    #19  
    Quote Originally Posted by thePretender View Post
    I have tried that as well, I don't remember if I have pulled the battery, so I will try that and test once again. Any thoughts besides Dr'ing?
    Posting the full ipkg log would be a good start.

    -- 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
  20. #20  
    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.
Page 1 of 2 12 LastLast

Posting Permissions