[oe-issues] [Bug 2102] New: update-alternatives-dpkg paths are wrong
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Thu Apr 12 14:42:40 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2102
Summary: update-alternatives-dpkg paths are wrong
Product: Openembedded
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: rodrigo.vivi at gmail.com
QAContact: tinderbox-oe at gmx.net
1 - $dpkglibdir is wrong. It is hardcoded pointing to "../utils" when the
correct standard place to dpkg package is /usr/lib/dpkg
2 - $apath
All the postinst scripts use update-alternatives like this:
update-alternatives --install ${base_bindir}/gzip gzip gzip.${PN} 100
Then the update-alternatives-dpkg gets gzip.${PN} (actually gzip.gzip)
as it $apath
and creates the symbolic link:
/etc/alternatives/gzip -> gzip.gzip
But this symbolic link does not work... it shoud be
/etc/alternatives/gzip -> /bin/gzip.gzip
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-issues
mailing list