Wind River Support Network

HomeDefectsLIN8-478
Fixed

LIN8-478 : wrl7: /usr/lib/opkg/alternatives

Created: Jun 28, 2015    Updated: Oct 13, 2020
Resolved Date: Aug 3, 2015
Found In Version: 8.0
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Build & Config

Description

In wrlinux 6, the alternatives are placed under: /var/lib/opkg
As declared in the /usr/bin/update-alternatives file:
# admin dir
ad="$OPKG_OFFLINE_ROOT/var/lib/opkg/alternatives"

But on wrlinux 7, the alternatives are found under: /usr/lib/opkg
content of: /usr/bin/update-alternatives
# admin dir
ad="$OPKG_OFFLINE_ROOT/usr/lib/opkg/alternatives"

The old path (/var/lib) is still encountered in a number of python scripts.

Steps to Reproduce

configure two projects: one on wrlinux 6 and one on 7
qemux86 BSP, standard rootfs.

check for the alternatives location and for the path occurrences in the python scripts
Live chat
Online