mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
rpm-native: Set varprefix to get the rpm database in a sane location
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5132 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -3,5 +3,5 @@ inherit native
|
|||||||
|
|
||||||
DEPENDS = "beecrypt-native zlib-native file-native popt-native python-native"
|
DEPENDS = "beecrypt-native zlib-native file-native popt-native python-native"
|
||||||
|
|
||||||
export sharedstatedir = "${layout_sharedstatedir}"
|
|
||||||
export localstatedir = "${layout_localstatedir}"
|
export localstatedir = "${layout_localstatedir}"
|
||||||
|
export varprefix = "${layout_localstatedir}"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ DESCRIPTION = "The RPM Package Manager."
|
|||||||
HOMEPAGE = "http://rpm.org/"
|
HOMEPAGE = "http://rpm.org/"
|
||||||
LICENSE = "LGPL GPL"
|
LICENSE = "LGPL GPL"
|
||||||
DEPENDS = "zlib beecrypt file popt python"
|
DEPENDS = "zlib beecrypt file popt python"
|
||||||
PR = "r6"
|
PR = "r7"
|
||||||
|
|
||||||
SRC_URI = "http://www.rpm.org/releases/rpm-4.4.x/rpm-4.4.2.3.tar.gz \
|
SRC_URI = "http://www.rpm.org/releases/rpm-4.4.x/rpm-4.4.2.3.tar.gz \
|
||||||
file://external-tools.patch;patch=1 \
|
file://external-tools.patch;patch=1 \
|
||||||
@@ -36,6 +36,8 @@ MUTEX_arm = "${ARM_MUTEX}"
|
|||||||
MUTEX_armeb = "${ARM_MUTEX}"
|
MUTEX_armeb = "${ARM_MUTEX}"
|
||||||
EXTRA_OECONF += "${MUTEX}"
|
EXTRA_OECONF += "${MUTEX}"
|
||||||
|
|
||||||
|
export varprefix = "${localstatedir}"
|
||||||
|
|
||||||
do_configure () {
|
do_configure () {
|
||||||
rm ${S}/popt/ -Rf
|
rm ${S}/popt/ -Rf
|
||||||
rm ${S}/db/dist/configure.in -f
|
rm ${S}/db/dist/configure.in -f
|
||||||
|
|||||||
Reference in New Issue
Block a user