From 99e631976580cefb78406b269804f216af4b272c Mon Sep 17 00:00:00 2001 From: ligc Date: Tue, 15 Oct 2013 09:51:21 +0800 Subject: [PATCH] fix for building genesis-base for PCM on MCP --- xCAT-genesis-builder/buildrpm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xCAT-genesis-builder/buildrpm b/xCAT-genesis-builder/buildrpm index a44a773a4..3627d7aa9 100755 --- a/xCAT-genesis-builder/buildrpm +++ b/xCAT-genesis-builder/buildrpm @@ -51,6 +51,8 @@ if [ "$HOSTOS" = "mcp" ]; then sed -i 's/\/etc\/redhat-release/\/etc\/base-release \/etc\/system-release/' $DRACUTMODDIR/install sed -i 's/btrfs//' $DRACUTMODDIR/installkernel + sed -i 's/\/usr\/bin\/basename/\/bin\/basename/' $DRACUTMODDIR/install + # these are needed for sysclone, but are not yet in mcp sed -i 's/ bc//' $DRACUTMODDIR/install sed -i 's/ mkdosfs//' $DRACUTMODDIR/install @@ -58,6 +60,10 @@ if [ "$HOSTOS" = "mcp" ]; then sed -i 's/ kexec//' $DRACUTMODDIR/install sed -i 's/ klogd//' $DRACUTMODDIR/install sed -i 's/ mdadm//' $DRACUTMODDIR/install + sed -i 's/ mkfs\.xfs//' $DRACUTMODDIR/install + sed -i 's/ xfs_db//' $DRACUTMODDIR/install + sed -i 's/ mkreiserfs//' $DRACUTMODDIR/install + sed -i 's/ reiserfstune//' $DRACUTMODDIR/install # These timezone files are not available in the latest mcp build sed -i 's/dracut_install \/usr\/share\/zoneinfo\/posix\/Asia\/Riyadh87//' $DRACUTMODDIR/install