Questions tagged [opkg]

18 questions
3
votes
1 answer

How to get the version info of opkg package without installing it?

I want to write a script to check the version of a opkg package before installing it. I've done a lot of research and found a few answer on dpkg system but none on opkg system. I've tried opkg info, opkg status, opkg list but they all seem to work…
2
votes
1 answer

How to get the installation progress of opkg install?

I'm writing an application that installs an upgrade using opkg packaging system. Is there a way to get the overall progress so that I can make a progress bar?
1
vote
1 answer

How to schedule a task in a shell script that runs as soon as the all the ancestors of current shell die?

I'm making a opkg package for a software update. This package require a reboot after installation and needs some work done after the next reboot. I added a shutdown -h now in postinst script but it seems to shutdown too early and interrupts the opkg…