Bug 12276 - opkg checks /var/run/opkg.lock even when an alternate dest is in use
Summary: opkg checks /var/run/opkg.lock even when an alternate dest is in use
Status: RESOLVED NOTABUG
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-10-25 18:33 UTC by riehecky
Modified: 2018-12-20 23:49 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.