mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
package_rpm.bbclass: fix bashims at rpm_common_comand() method
(From OE-Core rev: 43d48d60613418acbaf671c7e8c6cd7d1f6b176b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Daiane Angolini <daiane.angolini@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3ced64d7b6
commit
2082a205f2
@@ -151,7 +151,6 @@ resolve_package_rpm () {
|
|||||||
rpm_common_comand () {
|
rpm_common_comand () {
|
||||||
|
|
||||||
local target_rootfs="${INSTALL_ROOTFS_RPM}"
|
local target_rootfs="${INSTALL_ROOTFS_RPM}"
|
||||||
local extra_args="$@"
|
|
||||||
|
|
||||||
${RPM} --root ${target_rootfs} \
|
${RPM} --root ${target_rootfs} \
|
||||||
--predefine "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" \
|
--predefine "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" \
|
||||||
@@ -160,7 +159,7 @@ rpm_common_comand () {
|
|||||||
-D "_dbpath ${rpmlibdir}" \
|
-D "_dbpath ${rpmlibdir}" \
|
||||||
--noparentdirs --nolinktos \
|
--noparentdirs --nolinktos \
|
||||||
-D "__dbi_txn create nofsync private" \
|
-D "__dbi_txn create nofsync private" \
|
||||||
-D "_cross_scriptlet_wrapper ${WORKDIR}/scriptlet_wrapper" $extra_args
|
-D "_cross_scriptlet_wrapper ${WORKDIR}/scriptlet_wrapper" $@
|
||||||
}
|
}
|
||||||
|
|
||||||
# install or remove the pkg
|
# install or remove the pkg
|
||||||
|
|||||||
Reference in New Issue
Block a user