Creating a Small Root Filesystem Using Target Configurator

To create a small RFS using TimeStorm 3.2.x Target Configurator, create a System Configuration project. A good starting point is to import all of the packages from a TimeSys Classic reference distribution, found in the Repository page of the TimeSys LinuxLink Classic web site.

Note

This document assumes that you are familiar with TimeStorm 3.2.1 Target Configurator. For more information about using TimeStorm 3.2.1 Target Configurator, refer to the TimeStorm 3.2.1 Target Configurator User’s Guide (user_guide_tc_321.pdf) in the doc folder under your TimeStorm install directory.

  1. Start TimeStorm and open the Target Configurator plug-in.
  2. Create a System Configuration project using TimeStorm Target Configurator.
  3. If you do not already have a kernel, create a TimeStorm Kernel project in Target Configurator.
  4. Access the repository by clicking the Repository link.
  5. Click on the Distributions tab and select the link to your Reference Linux Distribution.
  6. Download and extract the packages from the file with the -pkgs.tgz extension.
  7. Right-click on your System Configuration project and choose Add Packages. Browse to the newly created packages directory to select your packages.
  8. If it is not already open, double-click on the .rfs file to open the RFS Editor. Click on the Package Selection tab, and choose those packages that you know are needed for your system. Then repeat the following steps until all the dependencies have been resolved:
    1. Save the project.
    2. Right-click on the project and select Check Dependencies.
    3. Look at any dependency problems that arise. These will be listed in the Problems view. If you don’t know what package to include to solve a particular problem, right-click on the error in the Problems view and choose Quick Fix to list suggested packages that might resolve the dependency.
    4. Include additional packages to solve any dependency problems.

Once you’ve fixed all of the dependency problems and built the project, you will have a base RFS. This RFS might be too big for an initrd. The next step is to exclude packages from the RFS (by double-clicking on each package in the RFS Editor and using the Contents metadata tab), and to change their dependencies (using the Dependencies metadata tab) in order to reduce the size of the RFS. Continue doing this until the RFS is a suitable size.