From 0a240351e76f8765784aeef6205ed3b67147cd3e Mon Sep 17 00:00:00 2001 From: Qin Bo Date: Thu, 16 Aug 2012 13:56:55 +0800 Subject: [PATCH] bug# 1214 add initrd-full.gz to harddisk. modified: operation/copy_kernels.sh --- operation/copy_kernels.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/operation/copy_kernels.sh b/operation/copy_kernels.sh index 9b939d5..9d685cb 100755 --- a/operation/copy_kernels.sh +++ b/operation/copy_kernels.sh @@ -49,9 +49,9 @@ main () exit 1 fi - info "copy $INITRD/initrd.gz to $TARGET/boot/initrd.gz.old" - if [ -e "$INITRD/initrd.gz" ];then - cp "$INITRD/initrd.gz" "$TARGET/boot/initrd.gz.old" 2>>$DEV_LOG + info "copy $INITRD/initrd-full.gz to $TARGET/boot/initrd-full.gz" + if [ -e "$INITRD/initrd-full.gz" ];then + cp "$INITRD/initrd-full.gz" "$TARGET/boot/initrd-full.gz" 2>>$DEV_LOG else err "$INITRD/initrd.gz doesn't exist " exit 1