From 2035ce464cc41672c98f7efb8c4a966f93aa7bd0 Mon Sep 17 00:00:00 2001 From: Jessica Zhang Date: Mon, 26 Mar 2012 14:31:12 -0700 Subject: Fix empty file case that caused build error at do_rootfs Signed-off-by: Jessica Zhang Signed-off-by: Richard Purdie --- meta/classes/package_rpm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/package_rpm.bbclass') diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index e83fc552c..8c8d96774 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 -- cgit v1.2.3