# NetModule OEM Linux The purpose of this repository is to provide a base or a template for customers to build their own distribution based on the NetModule OEM Linux distribution. The submodules and source revisions are frozen to match the latest release. ## Initial steps Before building anything, it is required to get all the submodules. This is done with the following commands: ``` git submodule init git submodule update ``` ## Selecting hardware target The hardware target can be selected by sourcing the machine_select script: ``` source machine_select 9 # Selecting VCU3 ``` ## Building an image This distribution provides three images: 1. The minimal image 2. The "release" image 3. The development image ### The minimal image It is a initramfs image which can be loaded from the bootloader. It gives access to basic linux functionalities and allows to flash other images. It can be built with the following commands: ``` source env.image-minimal bitbake virtual/netmodule-image ``` ### The "release" image This is the default image providing all functionalities of the system. It can be build with the following commands: ``` source env.image-ostree bitbake netmodule-linux-image ``` ### The development image This is the default image extended with development and debugging tools. It can be build with the following commands: ``` source env.image-ostree bitbake netmodule-linux-image-dev ```