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