summaryrefslogtreecommitdiff
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-03-17 17:50:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-19 20:27:02 +0000
commit43d48d60613418acbaf671c7e8c6cd7d1f6b176b (patch)
treebca286d5a345033ef77ebb6c73cb368e94bbb8cb /meta/classes/package_rpm.bbclass
parentd5cc38264dc4b0f220db541f94be6219fd2d91f9 (diff)
downloadopenembedded-core-43d48d60613418acbaf671c7e8c6cd7d1f6b176b.tar.gz
openembedded-core-43d48d60613418acbaf671c7e8c6cd7d1f6b176b.tar.bz2
openembedded-core-43d48d60613418acbaf671c7e8c6cd7d1f6b176b.zip
package_rpm.bbclass: fix bashims at rpm_common_comand() method
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Daiane Angolini <daiane.angolini@freescale.com>
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 68313eccc8..80b16198d3 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -151,7 +151,6 @@ resolve_package_rpm () {
rpm_common_comand () {
local target_rootfs="${INSTALL_ROOTFS_RPM}"
- local extra_args="$@"
${RPM} --root ${target_rootfs} \
--predefine "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" \
@@ -160,7 +159,7 @@ rpm_common_comand () {
-D "_dbpath ${rpmlibdir}" \
--noparentdirs --nolinktos \
-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