summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package_rpm.bbclass11
1 files changed, 7 insertions, 4 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 64689d8d72..ce34016555 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -317,10 +317,13 @@ package_install_internal_rpm () {
317 # we should add the previous solution manifest to the full "original" set to 317 # we should add the previous solution manifest to the full "original" set to
318 # avoid duplicate install steps. 318 # avoid duplicate install steps.
319 echo "Update original solution..." 319 echo "Update original solution..."
320 cat ${target_rootfs}/install/initial_solution.manifest >> ${target_rootfs}/install/original_solution.manifest 320 for m in ${target_rootfs}/install/initial_solution.manifest \
321 cat ${target_rootfs}/install/total_solution.manifest >> ${target_rootfs}/install/original_solution.manifest 321 ${target_rootfs}/install/total_solution.manifest; do
322 rm ${target_rootfs}/install/initial_solution.manifest 322 if [ -s $m ]; then
323 rm ${target_rootfs}/install/total_solution.manifest 323 cat $m >> ${target_rootfs}/install/original_solution.manifest
324 rm -f $m
325 fi
326 done
324 fi 327 fi
325 328
326 # Setup manifest of packages to install... 329 # Setup manifest of packages to install...