From c4438568d742131f4ffdadd1297d7320010c04fc Mon Sep 17 00:00:00 2001 From: ligc Date: Fri, 10 Apr 2015 03:54:30 -0400 Subject: [PATCH] fix a problem caused by checkin 8e0a2fe479f5efa1d0b1e452b2413084a3916af9 --- xCAT-genesis-builder/buildrpm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-genesis-builder/buildrpm b/xCAT-genesis-builder/buildrpm index 049001bc6..364b4cdcc 100755 --- a/xCAT-genesis-builder/buildrpm +++ b/xCAT-genesis-builder/buildrpm @@ -129,7 +129,7 @@ if [ "$HOSTOS" = "mcp" ]; then cp /boot/vmlinuz-* /tmp/xcatgenesis.$$/opt/xcat/share/xcat/netboot/genesis/$BUILDARCH/kernel else echo Adding kernel /boot/vmlinuz-$BUILDARCH ... - cp /boot/vmlinuz-$BUILDARCH /tmp/xcatgenesis.$$/opt/xcat/share/xcat/netboot/genesis/$BUILDARCH/kernel + cp /boot/vmlinuz-`uname -r` /tmp/xcatgenesis.$$/opt/xcat/share/xcat/netboot/genesis/$BUILDARCH/kernel fi cd -