diff --git a/README.md b/README.md index 05925ebc..9dec0f96 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,8 @@ cd ~/src/ihk+mckernel/ git clone --recursive https://github.com/RIKEN-SysSoft/mckernel.git ~~~~ +###### 4.1 Install with cmake + Configure and compile: ~~~~ @@ -114,6 +116,21 @@ make -j install The IHK kernel modules and McKernel kernel image should be installed under the **ihk+mckernel** folder in your home directory. +###### 4.2 Install with rpm + +Configure, compile and build rpm: + +~~~~ +mkdir -p build && cd build +cmake $HOME/src/ihk+mckernel/mckernel +make dist +cp mckernel-.tar.gz /SOURCES +rpm -ba scripts/mckernel.spec +sudo rpm -ivh /RPMS//mckernel--__..rpm +~~~~ + +The IHK kernel modules and McKernel kernel image are installed under the system directory. + ##### 5. Boot McKernel A boot script called mcreboot.sh is provided under sbin in the install folder. To boot on logical CPU 1 with 512MB of memory, use the following invocation: