From 85828d24aabc1a6442832f02e298b103aafa8974 Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Mon, 18 Feb 2013 22:46:22 +0000 Subject: [PATCH] update for latest mcp build git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-genesis-builder/buildrpm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-genesis-builder/buildrpm b/xCAT-genesis-builder/buildrpm index 9a6d48d37..53fd50009 100755 --- a/xCAT-genesis-builder/buildrpm +++ b/xCAT-genesis-builder/buildrpm @@ -14,7 +14,8 @@ DRACUTMODDIR=/usr/share/dracut/modules.d/97xcat mkdir -p $DRACUTMODDIR cp $DIR/* $DRACUTMODDIR if [ "$HOSTOS" = "mcp" ]; then - sed -i 's/\(mkfs.btrfs\|lldpad\|lldptool\)//' $DRACUTMODDIR/install + sed -i 's/mkfs.btrfs//' $DRACUTMODDIR/install + sed -i 's/\/etc\/redhat-release/\/etc\/base-release \/etc\/system-release/' $DRACUTMODDIR/install sed -i 's/btrfs//' $DRACUTMODDIR/installkernel #mv -f $DRACUTMODDIR/install.$HOSTOS $DRACUTMODDIR/install #mv -f $DRACUTMODDIR/installkernel.$HOSTOS $DRACUTMODDIR/installkernel