Results 1 to 1 of 1
  1.    #1  
    I've got an app that will use the homebrew jsjsjs $service$ $framework$ $and$ $needs$ $to$ $have$ $a$ $custom$ $install$ $and$ $uninstall$ $script$ ($postinst$, $prerm$, $pmPost$...), $but$ $my$ $structure$ $is$ $such$ $that$ $I$ $can$'$t$ $get$ $the$ $ipk$ $packager$ $that$ $jason$ $wrote$ $to$ $work$ $for$ $me$. $My$ $directory$ $layout$ $is$ $like$ $this$
    --MyApp.service
    ----Assistant.jsjsjs
    ----sources.jsjsjs
    ----other stuff.....
    --MyApp.app
    ----index.html
    ----sources/
    ----etc...
    --MyApp.package
    ----packageinfo.json

    I can build this with palm-package, but my install scripts get ignored.

    The method that I've been using is to structure my code into where it will go on the device
    /usr/palm/applications/com.me.myapp.app
    /usr/palm/services/com.me.myapp.services
    etc...
    then I wrap that up in a data.tar.gz with `tar -c usr | gzip > data.tar.gz`
    I use the control file that palm-package generated and tar.gz it as well
    I include a debian-binary file with the value 2.0
    The scripts, I leave at the root level of the directory
    Then I tar.gz the whole directory and name it com.me.myapp.ipk `tar -c build_dir/* | gzip > com.me.myapp.ipk`

    When I try to install through webos quick install, I get an corrupt package error...
    Any ideas?

    Thanks,
    Whit
    Last edited by hiddenpremise; 10/16/2011 at 03:10 PM. Reason: mistyped gz as gzip

Tags for this Thread

Posting Permissions