Exiting." \Įcho "WARNING: THERE IS NO BUILD DIRECTORY FOR VERSION: $kversion" \Įcho " The LINUX_BUILD_DIR resolves to: $LINUX_BUILD_DIR" \īuilding KERNEL VERSION 2.6.18-128.el5 LINUX_BUILD_DIR: /lib/modules/2.6.18-128.el5/build/ \Įcho "BUILD ERROR: Build for KERNEL VERSION: $kversion LINUX_BUILD_DIR: $LINUX_BUILD_DIR FAILED" \Įcho "Failed to Build for the currently running kernel. Mv -vf drivers/char/ipmi/ipmi_*.ko `pwd`/bin/$kversion/.
Make -C $LINUX_BUILD_DIR V=1 M=`pwd`/drivers/char/ipmi modules \
Initializing KERNEL VERSION 2.6.18-238.el5xen LINUX_BUILD_DIR: /lib/modules/2.6.18-238.el5xen/build/Įcho "Building KERNEL VERSION $kversion LINUX_BUILD_DIR: $LINUX_BUILD_DIR" \ Mv $LINUX_BUILD_DIR/include/linux/ipmi_smi.h $LINUX_BUILD_DIR/include/linux/ipmi_smi.h.ORIG \Ĭp include/linux/ipmi.h $LINUX_BUILD_DIR/include/linux/ipmi.h \Ĭp include/linux/ipmi_msgdefs.h $LINUX_BUILD_DIR/include/linux/ipmi_msgdefs.h \Ĭp include/linux/ipmi_smi.h $LINUX_BUILD_DIR/include/linux/ipmi_smi.h \ Mv $LINUX_BUILD_DIR/include/linux/ipmi_msgdefs.h $LINUX_BUILD_DIR/include/linux/ipmi_msgdefs.h.ORIG \
Mv $LINUX_BUILD_DIR/include/linux/ipmi.h $LINUX_BUILD_DIR/include/linux/ipmi.h.ORIG \ LINUX_BUILD_DIR="/lib/modules/$kversion/build/" \Įcho "Initializing KERNEL VERSION $kversion LINUX_BUILD_DIR: $LINUX_BUILD_DIR" \ Rm $LINUX_BUILD_DIR/include/linux/ipmi_smi.h \ Mv $LINUX_BUILD_DIR/include/linux/ipmi_msgdefs.h.ORIG $LINUX_BUILD_DIR/include/linux/ipmi_msgdefs.h \ Rm $LINUX_BUILD_DIR/include/linux/ipmi_msgdefs.h \ Mv $LINUX_BUILD_DIR/include/linux/ipmi.h.ORIG $LINUX_BUILD_DIR/include/linux/ipmi.h \ LINUX_BUILD_DIR="/lib/modules/$kversion/build/" \Įcho "Cleaning KERNEL VERSION $kversion LINUX_BUILD_DIR: $LINUX_BUILD_DIR" \ opt/hp/hp-OpenIPMI/distro-id.sh: line 76: [: : integer expression expected Seeking source filesīasic source files appear to be installed.