From: Jessica Zhang Date: Mon, 26 Mar 2012 21:31:12 +0000 (-0700) Subject: Fix empty file case that caused build error at do_rootfs X-Git-Tag: 2015-4~11158 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2035ce464cc41672c98f7efb8c4a966f93aa7bd0;p=openembedded-core.git Fix empty file case that caused build error at do_rootfs Signed-off-by: Jessica Zhang Signed-off-by: Richard Purdie --- diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index e83fc552c9..8c8d967741 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass @@ -446,7 +446,7 @@ package_install_internal_rpm () { outfile=${target_rootfs}/install/total_solution.manifest cat $infile | grep /base-passwd-[0-9] > $outfile || true cat $infile | grep /shadow-[0-9] >> $outfile || true - cat $infile | grep -v /shadow-[0-9] | grep -v /base-passwd-[0-9] >> $outfile + cat $infile | grep -v /shadow-[0-9] | grep -v /base-passwd-[0-9] >> $outfile || true cat ${target_rootfs}/install/install_multilib_solution.manifest >> ${target_rootfs}/install/total_solution.manifest # Construct install scriptlet wrapper