OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: vputz on November 10, 2004, 10:51:35 am

Title: Best place to auto-run ipkg-link?
Post by: vputz 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
Title: Best place to auto-run ipkg-link?
Post by: dansawyer 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
Title: Best place to auto-run ipkg-link?
Post by: keithecampbell 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).
Title: Best place to auto-run ipkg-link?
Post by: Mickeyl on November 23, 2004, 06:01:02 pm
opie-pm in oz 3.5.2 will call ipkg-link