mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
package_rpm.bbclass: no initial_solution in the second build
There is no initial_solution.manifest in the second build when incremental rpm image generation, since the initial solution has been skipped. So we should check it before cat it. [YOCTO #3128] (From OE-Core rev: ad17fa82a481ab3c9f17a8338ebad1eb07c0f9d8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
65d2b3af37
commit
598528484c
@@ -317,10 +317,13 @@ package_install_internal_rpm () {
|
|||||||
# we should add the previous solution manifest to the full "original" set to
|
# we should add the previous solution manifest to the full "original" set to
|
||||||
# avoid duplicate install steps.
|
# avoid duplicate install steps.
|
||||||
echo "Update original solution..."
|
echo "Update original solution..."
|
||||||
cat ${target_rootfs}/install/initial_solution.manifest >> ${target_rootfs}/install/original_solution.manifest
|
for m in ${target_rootfs}/install/initial_solution.manifest \
|
||||||
cat ${target_rootfs}/install/total_solution.manifest >> ${target_rootfs}/install/original_solution.manifest
|
${target_rootfs}/install/total_solution.manifest; do
|
||||||
rm ${target_rootfs}/install/initial_solution.manifest
|
if [ -s $m ]; then
|
||||||
rm ${target_rootfs}/install/total_solution.manifest
|
cat $m >> ${target_rootfs}/install/original_solution.manifest
|
||||||
|
rm -f $m
|
||||||
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup manifest of packages to install...
|
# Setup manifest of packages to install...
|
||||||
|
|||||||
Reference in New Issue
Block a user