Author Topic: Best place to auto-run ipkg-link?  (Read 1017 times)

vputz

  • Full Member
  • ***
  • Posts: 163
    • View Profile
Best place to auto-run ipkg-link?
« on: November 10, 2004, 10:51:35 am »
Because my OZ 3.5.1 install periodically hangs on resume, life is a bit frustrating; I've installed several things to SD, and this creates issues on boot (for example, kopi-applet won't load, so I have to manually ipkg-link mount sd, then go to the launcher app, etc...).

So I'd like to add a wee script mod that will ipkg-link mount sd prior to opie starting.

There are issues, though...

For one thing, I don't know the best place for it.  I had thought to just modify the /etc/init.d/opie script, which may work.  But additionally, many times when I run ipkg-link manually, it will hang after mounting all the packages it finds.  Obviously that's not what I want to happen on a reboot.

Any suggestions?

-->VPutz

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
Best place to auto-run ipkg-link?
« Reply #1 on: November 10, 2004, 12:03:34 pm »
This is a great question and a haunting problem. I do not know the answer, will whoever answers please add a little explanation. It would be helpfull to know how this is intended to work.

Is resume supposed to find and autolink packages on an SD card?
Is a reboot?
What about a reset and reboot?
What about a reflash?

Thanks,
Dan

keithecampbell

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • http://
Best place to auto-run ipkg-link?
« Reply #2 on: November 23, 2004, 05:29:17 pm »
I put the ipkg-link in /etc/init.d/opie script, as you mentioned and it works fine (even though it's a little dorky).

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Best place to auto-run ipkg-link?
« Reply #3 on: November 23, 2004, 06:01:02 pm »
opie-pm in oz 3.5.2 will call ipkg-link
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.