diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2012-03-17 17:50:57 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-19 20:28:47 +0000 |
| commit | 2082a205f2cfc93eb50e202acea5e7590f200cc5 (patch) | |
| tree | ed6b0c3547f1f0c3319e8825198cea67a0d4445f | |
| parent | 3ced64d7b662d10d95b57ec2c9c54a54a405cf68 (diff) | |
| download | poky-2082a205f2cfc93eb50e202acea5e7590f200cc5.tar.gz | |
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>
| -rw-r--r-- | meta/classes/package_rpm.bbclass | 3 |
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 () { | |||
| 151 | rpm_common_comand () { | 151 | rpm_common_comand () { |
| 152 | 152 | ||
| 153 | local target_rootfs="${INSTALL_ROOTFS_RPM}" | 153 | local target_rootfs="${INSTALL_ROOTFS_RPM}" |
| 154 | local extra_args="$@" | ||
| 155 | 154 | ||
| 156 | ${RPM} --root ${target_rootfs} \ | 155 | ${RPM} --root ${target_rootfs} \ |
| 157 | --predefine "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" \ | 156 | --predefine "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" \ |
| @@ -160,7 +159,7 @@ rpm_common_comand () { | |||
| 160 | -D "_dbpath ${rpmlibdir}" \ | 159 | -D "_dbpath ${rpmlibdir}" \ |
| 161 | --noparentdirs --nolinktos \ | 160 | --noparentdirs --nolinktos \ |
| 162 | -D "__dbi_txn create nofsync private" \ | 161 | -D "__dbi_txn create nofsync private" \ |
| 163 | -D "_cross_scriptlet_wrapper ${WORKDIR}/scriptlet_wrapper" $extra_args | 162 | -D "_cross_scriptlet_wrapper ${WORKDIR}/scriptlet_wrapper" $@ |
| 164 | } | 163 | } |
| 165 | 164 | ||
| 166 | # install or remove the pkg | 165 | # install or remove the pkg |
