Configuration

From ZeptoOS
Jump to navigationJump to search

Features Top Installation


Checklist

  • It is necessary that the user is logged on the the login node.

Configuring the Build

The Configure Script

Download the bzipped file on the Bluegene/P login node. Extract the sources by using:

$ tar xjf ZeptoOS-V20-V1R3M0-beta-20090401161133.tar.bz2 

Change to the BGP top directory using:

$ cd BGP/

Then you can use the configure script to set the system tools path to default using:

$ ./configure

In order to configure the site specific paths using the tool use:

$ ./configure --edit

Building ZeptoOS V2.0

Typing make help will bring up the following menu:

[MENU]

make                             - Build Zepto kernel and ramdisk images

make bgp-ion-ramdisk             - Rebuild ION ramdisk for CNK
make bgp-ion-ramdisk-cnl         - Rebuild ION ramdisk for CNL
make bgp-cn-ramdisk-build        - Rebuild CN Kernel with new ramdisk

make bgp-ion-linux               - Use prebuilt ION Linux Image
make bgp-ion-linux-build         - Rebuild ION Linux Image
make bgp-cn-linux                - Use prebuilt CN Linux Image
make bgp-cn-linux-build          - Rebuild CN Linux Image with latest ramdisk

make bgp-all-pkg-smart           - Build packages from the prebuilt binaries
make bgp-all-pkg-rebuild         - Rebuild all packages from source

To start using the default built binaries simply type:

$ make

This will copy all the required kernel and ramdisk images to the top level directory.


Examining the Build Directory

If the build was successful, one should be able to see the following new files either rebuilt from sources or copied from their prebuilt locations:

$ ls -l
-rwxr-xr-x  1 hnaik users  8629983 2009-01-23 17:16 BGP-CN-zImage-with-initrd.elf
-rwxr-xr-x  1 hnaik users  1444183 2009-01-23 17:03 BGP-exp-ION-zImage.elf
-rwxr-xr-x  1 hnaik users 10423112 2009-01-23 17:03 BGP-ION-ramdisk.elf
-rwxr-xr-x  1 hnaik users 10423988 2009-01-23 17:03 BGP-ION-ramdisk-for-CNL.elf
-rw-r--r--  1 hnaik users      132 2009-01-23 17:03 bgp-ion-ramdisk-passwd.txt
-rwxr-xr-x  1 hnaik users  1351583 2009-01-23 17:08 BGP-ION-zImage.elf



Features Top Installation