Skip to content
Commit 2c7284c3 authored by Harald Seiler's avatar Harald Seiler Committed by Steve Sakoman
Browse files

opkg: Set correct info_dir and status_file in opkg.conf



Distros can customize the location of OPKG data using OPKGLIBDIR.  In
OE-Core commit 11f1956c ("package_manager.py: define info_dir and
status_file when OPKGLIBDIR isn't the default"), a fix was applied to
correctly set the info_dir and status_file options relative to
OPKGLIBDIR.

However, as the commit message notes, the opkg.conf file deployed as
part of the opkg package must also be adjusted to correctly reflect the
changed location.  Otherwise, opkg running inside the image cannot find
its data.

Fix this by also setting the info_dir and status_file options in
opkg.conf to the correct location relative to OPKGLIBDIR.

Fixes: 11f1956c ("package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default")
Signed-off-by: default avatarHarald Seiler <hws@denx.de>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit adb939ae)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 1e65bfb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment