remote upgrade user package using ipkg

View: New views
4 Messages — Rating Filter:   Alert me  

remote upgrade user package using ipkg

by Anch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI,
I have a small application added to gumstix. To update the app, I copy the .ipk, remove the old package and install the new .ipk (I remove since I dont change the version number currently)
I wish to be able to upgrade this app remotely. I plan to write a startup script which will check if internet connection is available. If yes it will try to upgrade the app. I was wondering if ipkg can directly handle this if I use version numbers, or do i need to download the ipk file manually and then run ipkg install app?

thanks
Muktabh

Re: re mote upgrade user package using ipkg

by tmeyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If i understand you correctly, these commands are what you are looking for:

ipkg update
ipkg upgrade


Tim

On Thu, Jul 2, 2009 at 9:27 AM, Anch <muktabh@...> wrote:

HI,
I have a small application added to gumstix. To update the app, I copy the
.ipk, remove the old package and install the new .ipk (I remove since I dont
change the version number currently)
I wish to be able to upgrade this app remotely. I plan to write a startup
script which will check if internet connection is available. If yes it will
try to upgrade the app. I was wondering if ipkg can directly handle this if
I use version numbers, or do i need to download the ipk file manually and
then run ipkg install app?

thanks
Muktabh
--
View this message in context: http://www.nabble.com/remote-upgrade-user-package-using-ipkg-tp24308862p24308862.html
Sent from the Gumstix mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------

_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: re mote upgrade user package using ipkg

by Anch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Tim,
The commands are correct. But I need to update a package which I built, not one from the gumstix repos. When I will do an update, I want it to check my servers for updates. How do I provide ipkg this information?

thanks
Muktabh

tmeyer wrote:
If i understand you correctly, these commands are what you are looking for:

ipkg update
ipkg upgrade


Tim

On Thu, Jul 2, 2009 at 9:27 AM, Anch <muktabh@ymail.com> wrote:

>
> HI,
> I have a small application added to gumstix. To update the app, I copy the
> .ipk, remove the old package and install the new .ipk (I remove since I
> dont
> change the version number currently)
> I wish to be able to upgrade this app remotely. I plan to write a startup
> script which will check if internet connection is available. If yes it will
> try to upgrade the app. I was wondering if ipkg can directly handle this if
> I use version numbers, or do i need to download the ipk file manually and
> then run ipkg install app?
>
> thanks
> Muktabh
> --
> View this message in context:
> http://www.nabble.com/remote-upgrade-user-package-using-ipkg-tp24308862p24308862.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>

------------------------------------------------------------------------------

_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: re mote upgrade user package using ipkg

by tmeyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Muktabh,

When you create your Package, you should only have to use a newer version number and ipkg update/upgrade should handle the rest.

If you need more information on creating iPackages here are a few links that i used to learn to create my ipkg:

http://handhelds.org/moin/moin.cgi/Ipkg
http://download.intrinsyc.com/supported/os/linux/distribution/i-linux-4.1/i-packages-1.1/src/hello-world/HOWTO-ipkg
https://systemausfall.org/wikis/howto/BuildingIpkgPackages


Tim


Anch wrote:
Hi Tim,
The commands are correct. But I need to update a package which I built, not
one from the gumstix repos. When I will do an update, I want it to check my
servers for updates. How do I provide ipkg this information?

thanks
Muktabh


tmeyer wrote:
  
If i understand you correctly, these commands are what you are looking
for:

ipkg update
ipkg upgrade


Tim

On Thu, Jul 2, 2009 at 9:27 AM, Anch muktabh@... wrote:

    
HI,
I have a small application added to gumstix. To update the app, I copy
the
.ipk, remove the old package and install the new .ipk (I remove since I
dont
change the version number currently)
I wish to be able to upgrade this app remotely. I plan to write a startup
script which will check if internet connection is available. If yes it
will
try to upgrade the app. I was wondering if ipkg can directly handle this
if
I use version numbers, or do i need to download the ipk file manually and
then run ipkg install app?

thanks
Muktabh
--
View this message in context:
http://www.nabble.com/remote-upgrade-user-package-using-ipkg-tp24308862p24308862.html
Sent from the Gumstix mailing list archive at Nabble.com.



------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

      
------------------------------------------------------------------------------

_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users


    

  

------------------------------------------------------------------------------

_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users