diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_4.15.1.bb')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_4.15.1.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_4.15.1.bb b/meta/recipes-devtools/rpm/rpm_4.15.1.bb index b5a0ac9382..c9258632d2 100644 --- a/meta/recipes-devtools/rpm/rpm_4.15.1.bb +++ b/meta/recipes-devtools/rpm/rpm_4.15.1.bb | |||
@@ -25,6 +25,7 @@ LICENSE = "GPL-2.0" | |||
25 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0bf017c0fd1920e6158a333acabfd4a" | 25 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0bf017c0fd1920e6158a333acabfd4a" |
26 | 26 | ||
27 | SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.15.x \ | 27 | SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.15.x \ |
28 | file://environment.d-rpm.sh \ | ||
28 | file://0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch \ | 29 | file://0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch \ |
29 | file://0001-Do-not-read-config-files-from-HOME.patch \ | 30 | file://0001-Do-not-read-config-files-from-HOME.patch \ |
30 | file://0001-When-cross-installing-execute-package-scriptlets-wit.patch \ | 31 | file://0001-When-cross-installing-execute-package-scriptlets-wit.patch \ |
@@ -112,6 +113,9 @@ do_install_append_class-nativesdk() { | |||
112 | done | 113 | done |
113 | 114 | ||
114 | rm -rf ${D}/var | 115 | rm -rf ${D}/var |
116 | |||
117 | mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d | ||
118 | install -m 644 ${WORKDIR}/environment.d-rpm.sh ${D}${SDKPATHNATIVE}/environment-setup.d/rpm.sh | ||
115 | } | 119 | } |
116 | 120 | ||
117 | # Rpm's make install creates var/tmp which clashes with base-files packaging | 121 | # Rpm's make install creates var/tmp which clashes with base-files packaging |
@@ -129,6 +133,7 @@ do_install_append () { | |||
129 | 133 | ||
130 | FILES_${PN} += "${libdir}/rpm-plugins/*.so \ | 134 | FILES_${PN} += "${libdir}/rpm-plugins/*.so \ |
131 | " | 135 | " |
136 | FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/rpm.sh" | ||
132 | 137 | ||
133 | FILES_${PN}-dev += "${libdir}/rpm-plugins/*.la \ | 138 | FILES_${PN}-dev += "${libdir}/rpm-plugins/*.la \ |
134 | " | 139 | " |