[OE-core] sysvinit upgrade woes

Bryan Evenson bevenson at melinkcorp.com
Tue Apr 14 15:26:19 UTC 2015


I am using opkg for package management and sysvinit for init.  I am testing a large jump on an upgrade and I have been having a few issues.  One issue I have traced to sysvinit's upgrade, but I'm unsure how to remedy the solution.

At some point during the upgrade process, opkg records what the new version is of all the packages getting installed.  However, when I upgrade sysvinit causes sysvinit to restart before opkg has recorded which packages were just installed.  So opkg thinks that it didn't upgrade anything even though all packages were upgraded.  I verified that if I call "opkg upgrade" for all packages that require upgrade except for sysvinit that opkg correctly records which packages were upgraded.  However, the end user doesn't have that kind of control, so upgrading in this manner is not an option.

Has anyone else seen a similar issue?  Any ideas on how to hold off sysvinit from restarting until after opkg has finished recording its information?

Thanks,
Bryan



More information about the Openembedded-core mailing list