package_rpm: Ensure multilib code is only called in the multilib case
This fixes some error messages in the do_rootfs logs of non-multilib builds. (From OE-Core rev: fb554596e031cf92b62a19cabdd10e8e23ab4453) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
feb11f1079
commit
3429095e86
|
@ -354,6 +354,8 @@ package_install_internal_rpm () {
|
||||||
-D "__dbi_txn create nofsync private" \
|
-D "__dbi_txn create nofsync private" \
|
||||||
| grep -i 'Packageorigin' | cut -d : -f 2 > ${target_rootfs}/install/install_solution.manifest
|
| grep -i 'Packageorigin' | cut -d : -f 2 > ${target_rootfs}/install/install_solution.manifest
|
||||||
|
|
||||||
|
touch ${target_rootfs}/install/install_multilib_solution.manifest
|
||||||
|
|
||||||
if [ ! -z "${multilib_to_install}" ]; then
|
if [ ! -z "${multilib_to_install}" ]; then
|
||||||
for pkg in ${multilib_to_install} ; do
|
for pkg in ${multilib_to_install} ; do
|
||||||
echo "Processing $pkg..."
|
echo "Processing $pkg..."
|
||||||
|
@ -376,7 +378,6 @@ package_install_internal_rpm () {
|
||||||
fi
|
fi
|
||||||
echo $pkg_name >> ${target_rootfs}/install/install_multilib.manifest
|
echo $pkg_name >> ${target_rootfs}/install/install_multilib.manifest
|
||||||
done
|
done
|
||||||
fi
|
|
||||||
|
|
||||||
# multilib package installation
|
# multilib package installation
|
||||||
|
|
||||||
|
@ -395,6 +396,8 @@ package_install_internal_rpm () {
|
||||||
-D "__dbi_txn create nofsync private" \
|
-D "__dbi_txn create nofsync private" \
|
||||||
| grep -i 'Packageorigin' | cut -d : -f 2 > ${target_rootfs}/install/install_multilib_solution.manifest
|
| grep -i 'Packageorigin' | cut -d : -f 2 > ${target_rootfs}/install/install_multilib_solution.manifest
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
cat ${target_rootfs}/install/install_solution.manifest > ${target_rootfs}/install/total_solution.manifest
|
cat ${target_rootfs}/install/install_solution.manifest > ${target_rootfs}/install/total_solution.manifest
|
||||||
cat ${target_rootfs}/install/install_multilib_solution.manifest >> ${target_rootfs}/install/total_solution.manifest
|
cat ${target_rootfs}/install/install_multilib_solution.manifest >> ${target_rootfs}/install/total_solution.manifest
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue