Bug 12276

Summary: opkg checks /var/run/opkg.lock even when an alternate dest is in use
Product: [Yocto Project Subprojects] opkg Reporter: riehecky
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided    
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description riehecky 2017-10-25 18:33:08 UTC
When using opkg with an alternate dest, shouldn't the lock file be relative to the dest?
Comment 1 Alejandro del Castillo 2018-12-20 23:49:37 UTC
The lock file is a mutex around the opkg instance being run, while dest defines the destination for the files being installed by opkg, which is orthogonal. The lock file location is configurable via lock_file (check man opkg.conf), but shouldn't be relative to dest.