Creating A New Image Description Tree; Structure Of The Image Description Tree - Novell SLRS 8 Admin Manual

Table of Contents

Advertisement

11.3 Creating a New Image Description Tree

Creating a standard image is not that exciting and all the standard images
are available as prebuilt versions with the imageBuilder RPM package. More
interesting is building your own image description tree.
For example, create a new image description tree named myImage-1.1.1.
This task can be performed by copying one of the existing standard images.
To view the list of the available images, execute the command: scr
the example below, the minimal-1.1.7 image is used as the base for the new
image description tree:
scr --create myImage-1.1.1 --image minimal-1.1.7
After this command, find the new image description tree at /opt/SLES/POS/system/myImage-
1.1.1. At this stage, the image is the same as the minimal image except its
name. To adapt the new image, it is important to know about the structure of
the image description tree.

11.3.1 Structure of the Image Description Tree

IMAGE
An unformatted file that contains a brief description of of what this im-
age is capable.
VERSION
This file contains the version number of the image description tree, for
example, 1.1.2. If you want to change the version number of your image
description tree, you have to edit the VERSION and the name of the image
description tree directory. Otherwise the scr tool will not list the correct
version number, if you only modify the version included in the directory
name.
files
Subdirectory that contains special files, directories, and scripts to ensure
that RPM is used as the package manager before any packages are in-
stalled in the image. The entire directory is copied into the root of the
image tree using cp -a. This directory cannot contain any libraries or
binary files. Any binaries and libraries required before the first rpm call
must be extracted from the corresponding packages in advance.
files-user
Subdirectory that contains special files, directories, and scripts for adapt-
ing the image environment after the installation of all the image pack-
ages. This directory also may not contain any binary files or libraries.
11.3 Creating a New Image Description Tree
list. In
113

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux retail solution 8

Table of Contents