summaryrefslogtreecommitdiff
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
authorJessica Zhang <jessica.zhang@intel.com>2012-03-26 14:31:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-26 23:06:47 +0100
commit2035ce464cc41672c98f7efb8c4a966f93aa7bd0 (patch)
tree0d2adba1ee0bb11500f9b53e1744897a51e99a2e /meta/classes/package_rpm.bbclass
parent4fc0f65e7d6e6fc6775a9a7e54510b629c9786d9 (diff)
downloadopenembedded-core-2035ce464cc41672c98f7efb8c4a966f93aa7bd0.tar.gz
openembedded-core-2035ce464cc41672c98f7efb8c4a966f93aa7bd0.tar.bz2
openembedded-core-2035ce464cc41672c98f7efb8c4a966f93aa7bd0.tar.xz
openembedded-core-2035ce464cc41672c98f7efb8c4a966f93aa7bd0.zip
Fix empty file case that caused build error at do_rootfs
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
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