mirror of
https://git.yoctoproject.org/poky
synced 2026-03-09 16:59:40 +01:00
It fails to instal pm-utils and lib32-pm-utils at same time:
Error: Transaction test error:
file /usr/bin/pm-is-supported conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-hibernate conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-powersave conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-suspend conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-suspend-hybrid conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
All of the conflicted files either is script which source a file in
${libdir}, or a link file to some file in ${libdir}. Compare the content
of installed files in ${libdir} exclude binaries, only the paths of
${libdir} diff. So re-define libdir with ${nonarch_libdir} to fix the
conflicts.
(From OE-Core rev: 7d99987f76c58ec1f9ee5efffee0705b2c542ad7)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f836541bcfdbf033a37537530b4e3b87b0a7f003)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
31 lines
1.0 KiB
BlitzBasic
31 lines
1.0 KiB
BlitzBasic
SECTION = "base"
|
|
SUMMARY = "Utilities and scripts for power management"
|
|
DESCRIPTION = "Simple shell command line tools to suspend and hibernate."
|
|
HOMEPAGE = "http://pm-utils.freedesktop.org/wiki/"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
|
file://src/pm-pmu.c;beginline=1;endline=22;md5=3c1ddbc54e735fb4a0386e14c78a3147"
|
|
|
|
PR = "r1"
|
|
|
|
SRC_URI = "http://pm-utils.freedesktop.org/releases/pm-utils-${PV}.tar.gz"
|
|
|
|
SRC_URI[md5sum] = "1742a556089c36c3a89eb1b957da5a60"
|
|
SRC_URI[sha256sum] = "8ed899032866d88b2933a1d34cc75e8ae42dcde20e1cc21836baaae3d4370c0b"
|
|
|
|
inherit pkgconfig autotools manpages
|
|
|
|
PACKAGECONFIG[manpages] = "--enable-doc, --disable-doc, libxslt-native xmlto-native"
|
|
|
|
RDEPENDS:${PN} = "grep bash"
|
|
|
|
EXTRA_OECONF = "--libdir=${nonarch_libdir}"
|
|
|
|
do_configure:prepend () {
|
|
( cd ${S}; autoreconf -f -i -s )
|
|
}
|
|
|
|
FILES:${PN} += "${nonarch_libdir}/${BPN}/*"
|
|
FILES:${PN}-dbg += "${datadir}/doc/pm-utils/README.debugging"
|
|
FILES:${PN}-dev += "${nonarch_libdir}/pkgconfig/pm-utils.pc"
|